Home GnuPG
Diffusion GnuPG 50c98c7ed6b5

agent: Extend cmd KEYINFO to return data from sshcontrol.
50c98c7ed6b5Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

agent: Extend cmd KEYINFO to return data from sshcontrol.

* agent/command-ssh.c (struct control_file_s): Rename to
ssh_control_file_s.
(ssh_open_control_file, ssh_close_control_file)
(ssh_read_control_file, ssh_search_control_file): New.
(control_file_t):  Rename and move to ...
* agent/agent.h (ssh_control_file_t): here.
* agent/command.c (do_one_keyinfo): Add args is_ssh, ttl, disabled,
and confirm. Rename unknown keytype indicator from '-' to 'X'.  Extend
output.
(cmd_keyinfo): Add options --ssh-list and --with-ssh.

This extension allows the development of frontends to manage the
sshcontrol file.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 8 2013, 9:22 PM
Parents
rG498b9a95dc65: gpg: No need to create a trustdb when encrypting with --always-trust.
Branches
Unknown
Tags
Unknown

Event Timeline