Home GnuPG
Diffusion GnuPG d8e46f10698d

g10: Make sure to emit NEED_PASSPHRASE on --export-secret-key.

Description

g10: Make sure to emit NEED_PASSPHRASE on --export-secret-key.

* call-agent.h (agent_export_key): Add keyid parameters.
* call-agent.c (agent_export_key): Set keyid parameters.
* export.c (receive_seckey_from_agent): Pass keyid parameters.
  • Signed-off-by: Marcus Brinkmann <mb@g10code.com>
  • GnuPG-bug-id: T2667

Details