You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see anything in the Rust ecosystem that can decrypt pkcs1 "out of the box". That said, the PEM file parser we're using can parse and expose the headers in the encrypted pcks1 PEM section....
...which declares the content as encrypted and tells you the algorithm and initialization vector.
To implement it, we'd have to do our own password -> key derivation using those cryptographic primitives and support a number of common algorithms (e.g. AES-128-CBC).
The text was updated successfully, but these errors were encountered:
We're decrypting the pkcs8 keys using a crate designed to only handle pkcs8:
https://crates.io/crates/pkcs8
I don't see anything in the Rust ecosystem that can decrypt pkcs1 "out of the box". That said, the PEM file parser we're using can parse and expose the headers in the encrypted pcks1 PEM section....
...which declares the content as encrypted and tells you the algorithm and initialization vector.
To implement it, we'd have to do our own password -> key derivation using those cryptographic primitives and support a number of common algorithms (e.g. AES-128-CBC).
The text was updated successfully, but these errors were encountered: