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

Adding secrecy or zeroize for EncodingKey and DecodingKey #337

Open
mettke opened this issue Oct 25, 2023 · 1 comment
Open

Adding secrecy or zeroize for EncodingKey and DecodingKey #337

mettke opened this issue Oct 25, 2023 · 1 comment

Comments

@mettke
Copy link
Contributor

mettke commented Oct 25, 2023

It probably makes sense to either add the https://crates.io/crates/secrecy or the https://crates.io/crates/zeroize crate to this crate. This way we can make sure that private and secret keys are securely erased from memory when dropped.

@Keats
Copy link
Owner

Keats commented Oct 25, 2023

You mean in a custom Drop impl? I've used zeroize before so i would lean towards 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

No branches or pull requests

2 participants