diff options
author | Werner Koch <[email protected]> | 2019-02-08 10:58:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-02-08 10:58:27 +0000 |
commit | a1cb4a940f308ba21ecc002b044efccf0c547784 (patch) | |
tree | 002ea83019180b5c7c33cd251acbb66afef37c6f /common/ssh-utils.h | |
parent | scd: Allow generating ECC curves on PIV cards. (diff) | |
download | gnupg-a1cb4a940f308ba21ecc002b044efccf0c547784.tar.gz gnupg-a1cb4a940f308ba21ecc002b044efccf0c547784.zip |
card: Make "generate" work for PIV cards.
* tools/card-call-scd.c (scd_genkey_cb): Make createtime optional.
(scd_genkey_cb): Ditto. Add arg algo.
* tools/gpg-card-tool.c (cmd_generate): Add options and factor card
specific code out to ...
(generate_openpgp, generate_generic): new functions.
--
This patch keeps the interactive OpenPGP mode but adds a pure command
line mode for other cards; in particular PIV cards. What we still
need to do is:
a) Add an interactive mode for PIV cards
b) Add a command line mode for OpenPGP cards.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/ssh-utils.h')
0 files changed, 0 insertions, 0 deletions