Skip to content

certtool: print correct size of EC keys

Previously certtool complained about key size if --curve is given:

 $ certtool --generate-privkey --ecc --curve secp256r1 --outfile key.pem
 Generating a -2147483646 bit EC/ECDSA private key...
 Note that ECDSA keys with size less than 256 are not widely supported.

Merge request reports