hynek / pem

PEM file parsing in Python.
https://pem.readthedocs.io/
MIT License
159 stars 37 forks source link

Add support for PCKS#8 encrypted `BEGIN ENCRYPTED PRIVATE KEY` #33

Closed adiroiban closed 5 years ago

adiroiban commented 5 years ago

It looks like for now only RSA PRIVATE KEY is supported.

OpenSSL docs https://www.openssl.org/docs/man1.0.2/apps/openssl-pkcs8.html

A comparison

https://github.com/kjur/jsrsasign/wiki/Tutorial-for-PKCS5-and-PKCS8-PEM-private-key-formats-differences


I will try to add a patch, but for now I have created this issue for reference