Home GnuPG
Diffusion GnuPG 1d23dc9389a1

agent: Create and use Token entries to track the display s/n.

Description

agent: Create and use Token entries to track the display s/n.

* agent/findkey.c (agent_write_private_key): Add arg dispserialno and
update the token.
(agent_write_shadow_key): Add arg dispserialno and adjust all callers.

Note that this has been forward ported from 2.2

Details