JOpenSSL - Truncation of OpenSSL Cipher's initialization is not mimic'ed in 
bouncecastle's JCE
----------------------------------------------------------------------------------------------

                 Key: JRUBY-1100
                 URL: http://jira.codehaus.org/browse/JRUBY-1100
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
    Affects Versions: JRuby 1.0.0RC3
            Reporter: Aaron Batalion
         Attachments: test_cipher.rb

BouncyCastle's Cipher implementation strictly enforces IV specifications, while 
MRI does not and truncates to the proper length. 

Attached failing test case which passes under MRI.
Full code sample listed here: http://www.headius.com/rubyspec/index.php/Openssl

Open Question: Should JRuby workaround this issue, should a bug be filed 
against Ruby, or is it between the BouncyCastle and SSLeay folks?

-- 
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

Reply via email to