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

feat: impl Zeroize for SecretKey #246

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dan-da
Copy link
Collaborator

@dan-da dan-da commented Jan 4, 2025

closes #245.

adds a dep on the zeroize crate in order to impl Zeroize for SecretKey in a secure way that won't be optimized away by the compiler.

This is needed for GenerationSpendingKey in neptune-core.

closes Neptune-Crypto#245.

adds a dep on the zeroize crate in order to impl Zeroize for SecretKey
in a secure way that won't be optimized away by the compiler.

This is needed for GenerationSpendingKey in neptune-core.

see: Neptune-Crypto#245
@coveralls
Copy link

Coverage Status

coverage: 97.871% (+0.002%) from 97.869%
when pulling 0ce0f3a on dan-da:245_secret_key_zeroize_pr
into c907ba8 on Neptune-Crypto:master.

Copy link
Collaborator

@aszepieniec aszepieniec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

impl Zeroize for math::lattice::kem::SecretKey
3 participants