New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect parsing of OpenSSL format EC keys #37

Closed
dfish3r opened this Issue Mar 21, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@dfish3r
Member

dfish3r commented Mar 21, 2018

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.

dfish3r added a commit that referenced this issue Mar 21, 2018

Fix EC key parsing in OpenSSLPrivateKeyDecoder.
Add more key encodings to KeyPairUtil unit test.
Fixes #37.

@serac serac closed this in #38 Mar 21, 2018

dfish3r added a commit that referenced this issue Apr 19, 2018

Merge master changes.
Includes fixes for issues #37, #39, and #40.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment