JRuby OpenSSL does not pass its own tests
-----------------------------------------
Key: JRUBY-3356
URL: http://jira.codehaus.org/browse/JRUBY-3356
Project: JRuby
Issue Type: Bug
Components: OpenSSL
Reporter: Charles Oliver Nutter
Fix For: JRuby-OpenSSL 0.4
{noformat}
◆ rake test
(in /Users/headius/projects/jopenssl)
Loaded suite -e
Started
.................................java.security.InvalidKeyException: Illegal key
size or default parameters
at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:959)
at javax.crypto.Cipher.init(Cipher.java:1147)
at javax.crypto.Cipher.init(Cipher.java:1096)
at org.jruby.ext.openssl.impl.PKCS7.dataInit(PKCS7.java:874)
at org.jruby.ext.openssl.impl.PKCS7.encrypt(PKCS7.java:467)
at org.jruby.ext.openssl.PKCS7$ModuleMethods.encrypt(PKCS7.java:232)
at
org.jruby.ext.openssl.PKCS7$ModuleMethods$s_method_0_0$RUBYINVOKER$encrypt.call(org/jruby/ext/openssl/PKCS7$ModuleMethods$s_method_0_0$RUBYINVOKER$encrypt.gen)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:243)
at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:32)
at org.jruby.ast.CallManyArgsNode.interpret(CallManyArgsNode.java:59)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:144)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:135)
at org.jruby.RubyClass.finvoke(RubyClass.java:332)
at org.jruby.RubyObject.send(RubyObject.java:1357)
at
org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send.call(org/jruby/RubyObject$i_method_multi$RUBYINVOKER$send.gen)
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email