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
I have 2 issues when I tested creation of RSA-keys on MRI 2.2.1 and JRuby 1.7.21, and JRuby 9.0.4.0 with default jruby-openssl and with the newest jruby-openssl-0.9.16.
First:
When used MRI, the following code is sufficient to create a private key based on the parameters:
I have 2 issues when I tested creation of RSA-keys on MRI 2.2.1 and JRuby 1.7.21, and JRuby 9.0.4.0 with default jruby-openssl and with the newest jruby-openssl-0.9.16.
First:
When used MRI, the following code is sufficient to create a private key based on the parameters:
The parameters key.dmp1, key.dmq1, key.iqmp are optional, could be calculated from others. JRuby-OpenSSL requires all parameters to be specified.
The second Issues is:
The order of the parameters affects behavior in Jruby-Openssl.
Following sample generates only PUBLIC key:
but if you put the "n" and "e" parameter as last, than it generates PRIVATE key.
The problem is only in jruby implementation, not in MRI.
Want to see this issue fixed? Post a bounty on it! We accept bounties via Bountysource.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: