Skip to content

dsa: impl ZeroizeOnDrop for SigningKey#917

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

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

Conversation

@pqcfox

@pqcfox pqcfox commented Mar 2, 2025

Copy link
Copy Markdown
Contributor

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

tarcieri commented Mar 2, 2025

Copy link
Copy Markdown
Member

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

@baloo

baloo commented Apr 23, 2025

Copy link
Copy Markdown
Member

@pqcfox could you rebase?

Actually this looks simple enough to not require that.

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