diff options
author | NIIBE Yutaka <[email protected]> | 2016-10-18 13:46:37 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2016-10-18 13:58:00 +0000 |
commit | 34439da2d62b964a914ace66bae7e38f619582a4 (patch) | |
tree | fac3562eac9ce0dc7f02cc6b0a04d93a05d254c3 /agent/command-ssh.c | |
parent | scd: minor cleanup to merge other works. (diff) | |
download | gnupg-34439da2d62b964a914ace66bae7e38f619582a4.tar.gz gnupg-34439da2d62b964a914ace66bae7e38f619582a4.zip |
scd: Support ECC key generation.
* scd/app-openpgp.c (get_public_key): Fix a message.
(change_keyattr_from_string, ecc_writekey): Call mpi_release sooner.
(do_genkey): Add ECC support.
--
In OpenPGP card specification 3.0, ECC is introduced. So far, do_genkey
only supported RSA. Since KDF spec. is needed to calculate the
fingerprint, it is hard coded in app-openpgp.c. But it's defined by
OpenPGP ECC (RFC-6637), and card does nothing with KDF in fact.
Co-authored-by: Arnaud Fontaine <[email protected]>
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions