Skip to content

dsa: impl ZeroizeOnDrop for SigningKey #917

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

Merged
merged 1 commit into from
Apr 29, 2025

Conversation

pqcfox
Copy link
Contributor

@pqcfox pqcfox commented Mar 2, 2025

Resolves #883 by implementing ZeroizeOnDrop for dsa::SigningKey.

Since the private component x already is of type Zeroizing<BigUint>, no changes were necessary to ensure the ZeroizeOnDrop preconditions were met.

@tarcieri
Copy link
Member

tarcieri commented Mar 2, 2025

We're trying to migrate the crate to crypto-bigint right now, so this is probably best landed after #906

@baloo
Copy link
Member

baloo commented Apr 23, 2025

@pqcfox could you rebase?

Actually this looks simple enough to not require that.

@tarcieri tarcieri merged commit 6cce028 into RustCrypto:master Apr 29, 2025
12 checks passed
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.

dsa: missing Zeroize/ZeroizeOnDrop for SigningKey
3 participants