mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
agent: SSH: SCD KEYINFO to list available keys.
* agent/agent.h (agent_card_cardlist): Remove. (agent_card_keyinfo): Add CAP argument. * agent/call-scd.c (card_cardlist_cb): Remove. (agent_card_cardlist): Remove. (agent_card_keyinfo): Support CAP constraint. * agent/command-ssh.c (card_key_list): Remove. (ssh_handler_request_identities): Use SCD KEYINFO command. * agent/command.c (cmd_keyinfo): Follow the API change. * agent/divert-scd.c (ask_for_card): Likewise. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
fbf97a7856
commit
57b8ed61ab
5 changed files with 39 additions and 116 deletions
|
@ -1307,7 +1307,7 @@ cmd_keyinfo (assuan_context_t ctx, char *line)
|
|||
if (opt_with_ssh || list_mode == 2)
|
||||
cf = ssh_open_control_file ();
|
||||
|
||||
agent_card_keyinfo (ctrl, NULL, &keyinfo_on_cards);
|
||||
agent_card_keyinfo (ctrl, NULL, 0, &keyinfo_on_cards);
|
||||
|
||||
if (list_mode == 2)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue