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

pkcs1v15: change VerifyingKey::from to use prefixed version #472

Merged

Conversation

baloo
Copy link
Member

@baloo baloo commented Feb 5, 2025

As discussed in #341, pkcs1v15::VerifyingKey::from should use the prefixed keys.

Just lost a couple hours on this one behavior, and since 0.10 is just around the corner, might as well fix it before that.

Fixes #341

As discussed in RustCrypto#341, `pkcs1v15::VerifyingKey::from` should use the
prefixed keys.
@baloo baloo force-pushed the baloo/pkcs1v15/use-prefixed-verifying-keys branch from 407f89b to eb1e34d Compare February 5, 2025 17:00
@tarcieri tarcieri changed the title pkcs1v15: VerifyingKey::from to use prefixed version pkcs1v15: change VerifyingKey::from to use prefixed version Feb 5, 2025
@tarcieri tarcieri merged commit b019aa1 into RustCrypto:master Feb 5, 2025
11 checks passed
@baloo baloo deleted the baloo/pkcs1v15/use-prefixed-verifying-keys branch February 5, 2025 17:18
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.

The From<RSAPublicKey> implementation for VerifyingKey returns unprefixed Keys, this should be documented
2 participants