diff options
author | NIIBE Yutaka <[email protected]> | 2022-09-02 10:00:20 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2022-09-02 10:00:20 +0000 |
commit | 3e5f99e6483d4298effe3731d3b60bc7ffbacf04 (patch) | |
tree | 0ffc699882eae1617838dca5f6f5baae911871ab /common/ssh-utils.c | |
parent | tools:gpg-auth: New tool for authentication. (diff) | |
download | gnupg-3e5f99e6483d4298effe3731d3b60bc7ffbacf04.tar.gz gnupg-3e5f99e6483d4298effe3731d3b60bc7ffbacf04.zip |
tools: Fix gpg-auth.
* tools/gpg-auth.c (my_strusage): Fix usage string.
(main): Use gpg-agent to get scdaemon socket.
(authenticate): Return GPG_ERR_NOT_FOUND when no success.
(ga_scd_connect): Use DBG_IPC.
(inq_needpin): Change API for getpin.
(put_second_field_cb): New, to get the second field.
(scd_get_pubkey): Use put_second_field_cb.
(ga_filter_by_authorized_keys): Put NULL at the PREV->next.
(getpin): Flush the standard output.
Include the last terminating NUL.
Return the length.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/ssh-utils.c')
0 files changed, 0 insertions, 0 deletions