pki-io / core

Main pki.io repo
Other
31 stars 7 forks source link

[crypto] EC private key PEM not compatible with openssl #81

Closed zeroXten closed 9 years ago

zeroXten commented 9 years ago

The PEM file created begins with

-----BEGIN ECDSA PRIVATE KEY-----

Whereas openssl is expecting

-----BEGIN EC PRIVATE KEY-----

This is being set on line 227 of helpers.go