SSH public key comment field and gpg-agent

Justus Winter justus at g10code.com
Mon Oct 17 10:27:09 CEST 2016


Hi :)

-------------- next part --------------
John Lane <gnupg at jelmail.com> writes:
> If the key is in the agent because of the gpg keyring then it is known
> as "(none)". If I do "ssh-add -L" I will see "(none)" at the end of the
> output:
>
>     ssh-rsa AAAAB3NzaC1yc2EAAAADAQAHT...IfFoxh2j13b3 (none)
>
> The reason that I stumbled upon this was because I was debugging a ssh
> connection that used the gpg-agent and the ssh debugging output
> displayed the following misleading output:
>
>     debug1: Offering RSA public key: (none)
>
> which means the public key called "(none)" rather than, as I initially
> interpreted it, no public key.
>
> It's also useful client-side to see who a public key belongs to.
>
> It would be good if the comment field reflected the key source, perhaps
> the short (or long) key id. For example:
>
>     ssh-rsa AAAAB3NzaC1yc2EAAAADAQAHT...IfFoxh2j13b3 (3A808C39)

Agreed, that would be useful.  Feel free to open a bug report.


Cheers,
Justus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 454 bytes
Desc: not available
URL: </pipermail/attachments/20161017/9d3c709f/attachment.sig>


More information about the Gnupg-users mailing list