Home GnuPG
Diffusion GnuPG 755920d43357

agent: Let READKEY update the display-s/n of the Token entry.

Description

agent: Let READKEY update the display-s/n of the Token entry.

* agent/findkey.c (agent_write_private_key): Factor file name
generation out to ...
(fname_from_keygrip): new.
(write_extended_private_key): Add and implement new arg MAYBE_UPDATE.
(agent_write_shadow_key): Ditto.
* agent/command.c (cmd_readkey): Update the shadow-key in card mode.

GnuPG-bug-id 6135

Details

Provenance
wernerAuthored on Aug 16 2022, 12:02 PM
Parents
rG8e393e259264: gpg: Fix --card-status to handle lowercase APPTYPEs
Branches
Unknown
Tags
Unknown