You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no set of parameters that I've been able to find that makes it possible to encrypt anything with des-ede3 or DES-EDE3 under JRuby. It is trivially possible in MRI:
Output in MRI: "\x93\f\x95U\xBD\xCB\xB6\xD0\xDAt\x91{%\xED\xCF\xD8"
Output in JRuby without jruby-openssl: "OpenSSL::Cipher::CipherError: DES key too long - should be 8 bytes: possibly you need to install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for your JRE"
Changing the key length to 8 bytes results in "OpenSSL::Cipher::CipherError: key length too short" on all VMs.
This works with jruby-openssl installed, but the presence of jruby-openssl causes many other problems (see jruby/jruby-openssl#31).
The text was updated successfully, but these errors were encountered:
There is no set of parameters that I've been able to find that makes it possible to encrypt anything with
des-ede3
orDES-EDE3
under JRuby. It is trivially possible in MRI:Output in MRI:
"\x93\f\x95U\xBD\xCB\xB6\xD0\xDAt\x91{%\xED\xCF\xD8"
Output in JRuby without
jruby-openssl
:"OpenSSL::Cipher::CipherError: DES key too long - should be 8 bytes: possibly you need to install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for your JRE"
Changing the key length to 8 bytes results in
"OpenSSL::Cipher::CipherError: key length too short"
on all VMs.This works with
jruby-openssl
installed, but the presence of jruby-openssl causes many other problems (see jruby/jruby-openssl#31).The text was updated successfully, but these errors were encountered: