Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
OpenSSL::ASN1.decode results vary from MRI (and fail) #389
ah, i did that /etc find hoping that it would find certs on a mac as well. Here is just a standard CA cert.
It's something to do with decoding DER extension sets, because plain decoding functions fine. Here is a decoded DER extension, in ruby-trunk (2.0.0 dev):
Here is the exact same decoded DER extension, in jruby-head (1.7.3 dev):
The objects in the Sequence in jruby, do not have the infinite_length attribute, but instead include an ASN1 boolean of false