diff options
author | Ingo Klöcker <[email protected]> | 2020-12-07 14:10:25 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2020-12-07 14:15:10 +0000 |
commit | 255d33d65126df00bc036580d0b32735d7178c8b (patch) | |
tree | 9acfb6120368aa2888798e318166fd58c75fb2c9 /agent/agent.h | |
parent | gpg,card: Allow no version information of Yubikey. (diff) | |
download | gnupg-255d33d65126df00bc036580d0b32735d7178c8b.tar.gz gnupg-255d33d65126df00bc036580d0b32735d7178c8b.zip |
gpg: Make quick-gen-key with algo "card" work for keys without keytime
* g10/keygen.c (quick_generate_keypair): Set pCARDKEY flag if algostr
is "card" or "card/...".
--
For keys stored on NetKey cards or PIV cards we do not necessarily
know the creation time. Therefore set the cardkey flag if the generation
of a key from the keys available on the currently inserted smartcard
is requested with the special algo "card" or, in case of the extended
unattended mode, with an algo like "card/sign".
GnuPG-bug-id: 5141
Signed-off-by: Ingo Klöcker <[email protected]>
Diffstat (limited to 'agent/agent.h')
0 files changed, 0 insertions, 0 deletions