rep (Mark Schloesser)
- Login: rep
- Email: ms@mwcollect.org
- Registered on: 02/08/2014
- Last sign in: 02/08/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
02/08/2014
-
08:46 PM Ruby Bug #9504: X509 certificate incorrectly loaded (because of try-pem-first-else-asn1)
- My patch means you can load the certificate like this:
x509 = OpenSSL::X509::Certificate.new(cert, "DER")
I guess having some module level constants for this (`FILETYPE_PEM`, `FILETYPE_ASN1`) would be better. Sadly I'm not a ru... -
08:43 PM Ruby Bug #9504 (Closed): X509 certificate incorrectly loaded (because of try-pem-first-else-asn1)
- Ruby's openssl extension tries to load certificates as PEM format first, and on failure will try to do DER / ASN1. The PEM format loading ignores junk in the beginning and end of the given buffer, which can lead to a DER certificate bein...