gpg: Introduce magic value 25519 to switch a card to ECC.
authorWerner Koch <wk@gnupg.org>
Thu, 2 Nov 2017 16:11:03 +0000 (17:11 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 2 Nov 2017 16:16:14 +0000 (17:16 +0100)
commitea09b6cded9d31a8ebd91878553c3eaa2b76e817
tree3178714a4d92f498014e3afb632cf4c6db187524
parent16513102036a91aa46741260b3af0d42a25941e0
gpg: Introduce magic value 25519 to switch a card to ECC.

* g10/card-util.c (show_keysize_warning): Slightly change the text.
(ask_card_keyattr): Handle special value 25519.
(do_change_keyattr): Allow changing to cv25519/ed25519.
(generate_card_keys): Ditto.
(card_generate_subkey): Ditto.
--

This is kludge to make it easier for gnuk to be switched into ECC
mode.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/card-util.c