X.509 certificates: subjectKeyIdentifier corrupted
--------------------------------------------------

                 Key: JRUBY-3468
                 URL: http://jira.codehaus.org/browse/JRUBY-3468
             Project: JRuby
          Issue Type: Bug
          Components: OpenSSL
    Affects Versions: JRuby-OpenSSL 0.4
         Environment: jruby 1.2.0RC1 (ruby 1.8.6 patchlevel 287) (2009-03-05 
rev 9347) [i386-java]
JRuby-OpenSSL 0.4
            Reporter: Stephen Lewis
         Attachments: jruby-openssl-x509-test.rb, jruby-openssl-x509.patch

The decoding of the subjectKeyIdentifier extension in X.509 certificates 
stopped working[1] sometime after JRuby 1.1.6 - I think this is because the 
path from byte[] to char[] to String to byte[] is no longer 8-bit clean.

[1] Parsing an X.509 certificate results in an OpenSSL::X509::ExtensionError 
with message something like '2.5.29.14 = <random garbage>: illegal hex digit'

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