ssh signing: retrieve a default key from ssh-agent
commitfd9e226776d1874af36b6b02fb2002b917af42fa
authorFabian Stelzer <fs@gigacodes.de>
Fri, 10 Sep 2021 20:07:37 +0000 (10 20:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Sep 2021 21:15:52 +0000 (10 14:15 -0700)
treeda80798e14ecfd3bd50b5cee32cf211b6e1c53f1
parent29b315778e958417a411f02b6d4b5a0fc9d731e2
ssh signing: retrieve a default key from ssh-agent

If user.signingkey is not set and a ssh signature is requested we call
gpg.ssh.defaultKeyCommand (typically "ssh-add -L") and use the first key we get

Signed-off-by: Fabian Stelzer <fs@gigacodes.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/gpg.txt
Documentation/config/user.txt
gpg-interface.c