agent: Add --card option for READKEY.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 20 Oct 2016 03:05:15 +0000 (12:05 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 20 Oct 2016 03:05:15 +0000 (12:05 +0900)
commit82cbab906a3e72a98fdc16096f2f0451465969a2
tree03b9e3b4a87abb2082ec628445b438520248337b
parent72a99f582dad4cb4c3b05b97c7ebb8d537f10b79
agent: Add --card option for READKEY.

* agent/findkey.c (agent_write_shadow_key): New.
* agent/command-ssh.c (card_key_available): Use agent_write_shadow_key.
* agent/learncard.c (agent_handle_learn): Likewise.
* agent/command.c (cmd_readkey): Add --card option.
--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/agent.h
agent/command-ssh.c
agent/command.c
agent/findkey.c
agent/learncard.c