Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TLS connection of the pure Ruby reactor #974

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

meineerde
Copy link

With these commits, I was able to successfully run rake test_pure without any failing tests.

OpenSSL with a security level >= 2 requires RSA keys to be at least 2048
bits. Since the default cert and key are always set first on a new
SSLContext, using a smaller key size causes an exception when starting a
TLS connection using the pure Ruby reactor.
@meineerde meineerde changed the title Fix/pure ruby Fix TLS connection of the pure Ruby reactor Sep 13, 2022
@sodabrew
Copy link
Contributor

Thank you! Running CI now

@sodabrew
Copy link
Contributor

Actually, it occurs to me that the GitHub CI test suite does not have a pure-ruby mode. Would you be up for adding it at least one row to the matrix with one version of Ruby that runs it?

@meineerde
Copy link
Author

I added a test step. Unfortunately, some tests do still fail (on my Mac) when running rake test_em_pure_ruby. My previous changes improve the situation compared to what was before, but apparently there is still some differing behavior...

It might still be necessary to mark the build test as not required (i.e. something like allow_failures on Travis CI), but I'm not 100% sure how to correctly configure this with Github Actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants