Skip to content
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

elliptic-curve: use sec1 crate for pkcs8 support #809

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

tarcieri
Copy link
Member

The sec1 crate provides a blanket impl of traits like DecodeEcPrivateKey and EncodeEcPrivateKey for types which impl the pkcs8 traits.

This commit leverages them.

@tarcieri tarcieri force-pushed the elliptic-curve/sec1-crate-update branch from 73c4382 to 7b678ec Compare November 16, 2021 17:32
The `sec1` crate provides a blanket impl of traits like
`DecodeEcPrivateKey` and `EncodeEcPrivateKey` for types which impl the
`pkcs8` traits.

This commit leverages them.
@tarcieri tarcieri force-pushed the elliptic-curve/sec1-crate-update branch from 7b678ec to cd660ef Compare November 16, 2021 17:35
@tarcieri tarcieri merged commit 0d6f582 into master Nov 16, 2021
@tarcieri tarcieri deleted the elliptic-curve/sec1-crate-update branch November 16, 2021 17:42
@tarcieri tarcieri mentioned this pull request Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant