OpenSSL::ASN1::Integer#value returns Bignum and not OpenSSL::BN
---------------------------------------------------------------

                 Key: JRUBY-6260
                 URL: https://jira.codehaus.org/browse/JRUBY-6260
             Project: JRuby
          Issue Type: Bug
          Components: OpenSSL
    Affects Versions: JRuby-OSSL 0.7.4
            Reporter: Hiroshi Nakamura
            Assignee: Hiroshi Nakamura


from https://github.com/jruby/jruby-ossl/issues/12

I encountered an error when running JRuby 1.6.5/1.6.4 with Capistrano: 
"(OpenSSL::PKey::DSAError: bad sig size)" I found this ticket filed with 
net-ssh 
http://net-ssh.lighthouseapp.com/projects/36253-net-ssh/tickets/18-bad-sig-size-opensslpkeydsaerror-with-jruby-151
 that looked like a similar issue. I did some digging and saw the difference 
between JRuby and MRI was that the OpenSSL::ASN1::Integer#value method returns 
Bignum under JRuby versus the OpenSSL::BN in MRI. It looks like this is a 
problem in either jruby-openssl or possibly bouncycastle. I posted a workaround 
to the net-ssh ticket until this is fixed.

--
This message is automatically generated by JIRA.
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


Reply via email to