vt-middleware / cryptacular

The friendly complement to the BouncyCastle crypto API for Java.
Other
39 stars 7 forks source link

Incorrect parsing of OpenSSL format EC keys #37

Closed dfish3r closed 6 years ago

dfish3r commented 6 years ago

The OpenSSLPrivateKeyDecoder class does not correctly parse EC private keys. It only follows RFC 5915 for keys with explicit parameters and in that case does not parse the private key as an unsigned integer.