Skip to content

dsa: impl ZeroizeOnDrop for SigningKey#917

Merged
tarcieri merged 1 commit intoRustCrypto:masterfrom
pqcfox:dsa-signingkey-zeroize-on-drop
Apr 29, 2025
Merged

dsa: impl ZeroizeOnDrop for SigningKey#917
tarcieri merged 1 commit intoRustCrypto:masterfrom
pqcfox:dsa-signingkey-zeroize-on-drop

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