Home GnuPG
Diffusion GnuPG 30b54a0ebbaa

agent: Add KEYATTR command.

Description

agent: Add KEYATTR command.

* agent/agent.h (agent_raw_key_from_file): Add R_KEYMETA argument.
(agent_update_private_key): New.
* agent/command-ssh.c (data_sign): Follow the change of the function
agent_raw_key_from_file.
* agent/command.c (do_one_keyinfo): Likewise.
(cmd_keyattr): New.
(register_commands): Add an entry of cmd_keyattr.
* agent/findkey.c (agent_update_private_key): New.
(agent_raw_key_from_file): Add R_KEYMETA argument.
  • GnuPG-bug-id: T5988
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Wed, Jun 22, 8:45 AM
Parents
rGfe535cf26592: agent,gpg,tools: Fix use of log_get_fd.
Branches
Unknown
Tags
Unknown
Tasks
T5988: agent: Add new command to update private key fields