tlsfuzzer/python-ecdsa

Add support for PKCS#8 file format

tomato42 opened this issue · 0 comments

The only format supported for private key files is the legacy "sslay" format. The standardised one is actually PKCS#8, but neither SigningKey.from_pem() nor SigningKey.from_der() are able to process it. Similarly, to_der() and to_pem() can't create it.

Extend those methods so that they can read and write PKCS#8 files with ECDSA keys

(this is only about the un-encrypted format, support for encrypted files can come later)

see also #119