-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
There is an issue with one of the cipher types and JRuby that causes six tests to fail with the same data hash wrong exception like this
1) Xmlenc::Algorithms::RsaOaepMgf1p decrypt decrypts the cipher value
Failure/Error: expect(subject.decrypt(cipher_value)).to be == key
OpenSSL::PKey::RSAError:
data hash wrong
# ./lib/xmlenc/algorithms/rsa_oaep_mgf1p.rb:12:in `decrypt'
# ./spec/lib/xmlenc/algorithms/rsa_oaep_mgf1p_spec.rb:14:in `(root)'
This seems to be an issue with the default JRuby SSL library, and has been patched in the distinct jruby-ssl, but I don't know enough about the issue to either change any dependencies for this gem or make a fix in my local environment to confirm that resolves the issue. I'm noting it here in case you want to investigate or offer and guidance to JRuby users affected by this problem. Thank you.
Metadata
Metadata
Assignees
Labels
No labels