g10: Make sure to emit NEED_PASSPHRASE on --import of secret key.
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Mon, 24 Jul 2017 15:18:42 +0000 (17:18 +0200)
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Mon, 24 Jul 2017 15:18:42 +0000 (17:18 +0200)
commit872137b5921dd297e7d2c1def6e3868b7595feb5
tree53c0721072ffa237566240d57f510e0afa4e0331
parent78ebc62604d77600b9865950610717d28c6027a2
g10: Make sure to emit NEED_PASSPHRASE on --import of secret key.

* call-agent.h (agent_import_key): Add keyid parameters.
* call-agent.c (agent_import_key): Set keyid parameters.
* import.c (transfer_secret_keys): Pass keyid parameters.

Signed-off-by: Marcus Brinkmann <mb@g10code.com>
GnuPG-bug-id: 2667
g10/call-agent.c
g10/call-agent.h
g10/import.c