voltone / x509

Elixir package for working with X.509 certificates, Certificate Signing Requests (CSRs), Certificate Revocation Lists (CRLs) and RSA/ECC key pairs
BSD 3-Clause "New" or "Revised" License
119 stars 27 forks source link

Support exporting to password-protected PEM #5

Open voltone opened 6 years ago

mobileoverlord commented 5 years ago

Not sure if this helps you or not, but emj and I extracted the pkcs5 implementation from hex and put it in a package https://github.com/hexpm/pbcs

voltone commented 5 years ago

Thanks, I saw that. I'm not sure yet: for reading I currently rely on :public_key's built-in support, which means no AES-256 support. If I were to do something beyond what :public_key supports, users might get confused by the inconsistent behaviour: X509 might read/write a keys with AES256 encryption, but those can't be used with :public_key or :ssl...