nim-chronos icon indicating copy to clipboard operation
nim-chronos copied to clipboard

Private key parsing fails with zerossl header

Open Menduist opened this issue 1 year ago • 4 comments

zerossl provides files like this:

-----BEGIN RSA PRIVATE KEY-----
[the private key]
-----END RSA PRIVATE KEY-----

But at parsing, we only support BEGIN PRIVATE KEY: https://github.com/status-im/nim-chronos/blob/9df76c39df254c7ff0cec6dec5c9f345f2819c91/chronos/streams/tlsstream.nim#L698

Menduist avatar Sep 25 '22 11:09 Menduist