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 the typo3_spec.rb failures. #8421
Conversation
I squashed the two commits, the second one was just a whitespace cleanup. |
Ths typo3_spec is giving some errors under ruby 2.4+ and OpenSSL 1.1+.
Looking at: it seems it depends on the OpenSSL version too. My system (Kali Linux) has:
|
Rebased on current master. |
From https://github.com/ruby/openssl/blob/master/History.md :
(emphasis is mine) |
@renpic any ideas why this did not fail on travis? If there is an openssl dependency that makes this fail we should look into the travis setup too and install a newer openssl to catch these errors |
Good question! I think Ubuntu Trusty is still on OpenSSL 1.0, and that is the version used on Travis right now. |
@busterb what do you think? Should we do a manual install on travis or stick with the default openssl version? |
Actally, I am not so sure anymore Travis is properly running the tests... I also get four more failures on python meterpreter payloads:
And Travis should catch them! Is anyone else seeing those errors? I tried to modify the
I don't know what the cucumber task/env should be doing, but it has failures too:
But those may actually be my fault, as I don't know if I have to do something else before running those commands/tasks manually. |
@firefart I think we should stick with default for now. Going for lowest-common denominator is usually a good approach. |
<minor_rant> - there's no reason why Ruby needed to change the API here just because OpenSSL did. this is crazy, especially since this kind of error can't be caught except at runtime. It's frankly astonishing. |
Release NotesThis fix resolves an incompatibility between the OpenSSL 1.1 API and OpenSSL 1.0 through an update to the Typo3 login helper. |
rake spec
is giving some failures on thetypo3_spec
test unit.See later comments for the full story; OpenSSL 1.1.0+ is the reason for the failures.
This patch should solve them.
Shall I open an issue too?
These are the errors from
rake spec
:Verification
List the steps needed to make sure this thing works
rake spec
Note that I had to follow the suggestion in:
rvm/rvm#3958
to use RVM and Ruby 2.3 under Kali.