Skip to content

pkcs8: password protected private key support #187

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

Closed
GentleVincent opened this issue Dec 23, 2020 · 2 comments
Closed

pkcs8: password protected private key support #187

GentleVincent opened this issue Dec 23, 2020 · 2 comments

Comments

@GentleVincent
Copy link

GentleVincent commented Dec 23, 2020

Hello,
I learned that PKCS#8 is a standard for storing and transferring private key information. The wrapped key can either be clear or encrypted, I can't find any information in crate PKCS8 about how to set a password protected PKCS8 wrapped key, does the crate PKCS8 has any module, function or trait to set a password to protect the PKCS8 wrapped key? Thanks!
image

@tarcieri
Copy link
Member

Per the rustdoc:

https://docs.rs/pkcs8/0.3.3/pkcs8/#supported-algorithms

Encrypted private keys are presently unsupported.

@tarcieri tarcieri changed the title how to set a password to protect PKCS8 wrapped key? pkcs8: password protected private key support Dec 24, 2020
@tarcieri
Copy link
Member

Closing in favor of #263

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