Canonical Key Format for ECC?
gniibe at fsij.org
Wed Jun 3 13:49:14 CEST 2015
I'm testing OpenPGPcard specification v3.0 for ECC. Currently,
I'm testing NIST P-256 curve.
I got test key from:
A. Jivsov, Sample Keys and Messages:
Then, the private key is created under
in the format of:
On the other hand, when we generate a key, it is in the format of:
(private-key(ecc(curve NIST P-256)...))
Those two are same thing, but I think that it's better to use one.
Shouldn't we fix the code (g10/import.c:transfer_secret_keys) to use
the name of curve (instead of OID string)?
More information about the Gnupg-devel