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
Implements PKCS#5 encryption support, presently targeting only support
for PBES2 with PBKDF2-SHA-256 and AES-CBC (with 128 or 256-bit key size)
Note that these are presently the best options supported by PKCS#5 v2.1.
Support for legacy algorithms like DES, 3DES, MD2, and SHA-1 is
deliberately omitted. We can revisit potentially adding these upon
request if there is demand, however since these algorithms are insecure
we don't support them in this initial implementation.
Additionally adds an initial `EncryptedPrivateKeyInfo::decrypt` function
which is able to decrypt an OpenSSL-generated test vector contained
in the `tests/examples/` directory (DER-only).
Finally, adds a heap-backed `EncryptedPrivateKeyDocument` type similar
to the other "document" types (which are now factored into their own
respective modules).
No support for PEM-encoded `EncryptedPrivateKeyInfo` has been added
yet, nor support for encrypting `PrivateKeyInfo`.
0 commit comments