Re: Identifying one of multiple authentication subkeys

2019-03-16 Thread Peter Lebbing
Hi, On 16/03/2019 14:22, Dirk Gottschalk wrote: > In the output from --export-ssh-key is also a comment field. This > fieldd, in my case shows: openpgp:0xF852DAEE Yes, but it is only added by the --export-ssh-key command and has a fixed form. Instead, for my keys, which by the way are not part

Re: Identifying one of multiple authentication subkeys

2019-03-16 Thread Wolfgang Traylor
> I am unsure how to identify which subkey is which SSH key. You can export your GPG subkey for SSH and compare with the `ssh-add -L` output: $ gpg2 --export-ssh-key This gives you the SSH-formatted subkey which will match one of your lines from `ssh-add -L`. Note that the comments (anything

Re: Identifying one of multiple authentication subkeys

2019-03-16 Thread Dirk Gottschalk via Gnupg-users
Hi. Am Samstag, den 16.03.2019, 11:11 +0100 schrieb Peter Lebbing: > (By the way, as you can see in the ssh-keygen output, my key actually > has a comment field in the gpg-agent. It was imported from an on-disk > OpenSSH file, that's where it came from. I don't know a way to have a > comment

Re: Identifying one of multiple authentication subkeys

2019-03-16 Thread Peter Lebbing
On 16/03/2019 11:11, Wolfgang Traylor wrote: > $ gpg2 --export-ssh-key Actually, if you want a specific subkey, you need to append a ! to the key ID (probably need to quote it as well for the shell, \! ). Otherwise, GnuPG will use key selection rules to take the latest authentication subkey from

Re: Identifying one of multiple authentication subkeys

2019-03-16 Thread Peter Lebbing
Hi Brian, On 15/03/2019 23:28, Brian Exelbierd wrote:> Hi, > Either way, I am unsure how to identify which subkey is which SSH key. Provided the auth keys are in your .gnupg/sshcontrol file, the following will help: --8<---cut here---start->8--- $ ssh-add -L

Re: Identifying one of multiple authentication subkeys

2019-03-16 Thread john doe
On 3/15/2019 11:28 PM, Brian Exelbierd wrote: > Hi, > > I would like to eliminate my SSH keys and consolidate my existing keys into > my gpg key. I can do this by either importing my existing keys (easier) or > creating new authentication subkeys. > > Either way, I am unsure how to identify