-
Notifications
You must be signed in to change notification settings - Fork 157
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
Encrypted PKCS#8 PEM private key incompatbile with OpenSSL v3 #429
Comments
It looks like See the current implementation here: https://github.com/RustCrypto/formats/blob/c501837/pkcs8/src/encrypted_private_key_info.rs#L77 Right now it's using |
Thanks @tarcieri. Would you accept a PR that changes that method to use |
There is currently no
We could potentially add a |
Fixed in RustCrypto/formats#1430 |
Reproduction:
I think the root cause was found/fixed here: RustCrypto/formats#1205. However, as I'm new to these libraries, I'm unsure how to use the new constructors and piece them together with this crate.
Is there sample code I can leverage that uses the openssl-compatible scrypt parameters to generate the pkcs8 pem key? Is this supported in the latest pre-release? Currently I am using:
Thanks!
The text was updated successfully, but these errors were encountered: