summaryrefslogtreecommitdiffstats
path: root/tools/gpg-card.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-05-26 10:10:54 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2022-05-26 10:11:52 +0200
commit193fcc2f7a8cca5240ce50499c54f99235a87e1c (patch)
treefc99d3f0fa56f274c931007d73d6f12e36c96152 /tools/gpg-card.c
parentagent: Fix get_keyinfo_on_cards. (diff)
downloadgnupg2-193fcc2f7a8cca5240ce50499c54f99235a87e1c.tar.xz
gnupg2-193fcc2f7a8cca5240ce50499c54f99235a87e1c.zip
agent,ssh: Make not-inserted OpenPGP.3 keys available for SSH.
* agent/agent.h (agent_ssh_key_from_file): New. * agent/command-ssh.c (get_ssh_keyinfo_on_cards): New. (ssh_send_available_keys): Loop on the GNUPG_PRIVATE_KEYS_DIR. Support keys by agent_ssh_key_from_file. (ssh_handler_request_identities): Move card key handling to ssh_send_available_keys. * agent/findkey.c (public_key_from_file): New. Adding handling for SSH. (agent_public_key_from_file): Use public_key_from_file. (agent_ssh_key_from_file): New. -- GnuPG-bug-id: 5996 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'tools/gpg-card.c')
0 files changed, 0 insertions, 0 deletions