g10: Make sure to emit NEED_PASSPHRASE on --export-secret-key.
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Mon, 24 Jul 2017 14:03:25 +0000 (16:03 +0200)
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Mon, 24 Jul 2017 14:03:25 +0000 (16:03 +0200)
commitd8e46f10698da0bee4cd58d95f1f9832bdda0c5f
tree05e314438ad7886b8983e206ed228307dd69ea6f
parent5dac85fba78075b525a9aab24ea079fc4addf372
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: 2667
g10/call-agent.c
g10/call-agent.h
g10/export.c