Skip to content

Six Tests Failing on JRuby because of OpenSSL issue #14

@harrisj

Description

@harrisj

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions