0

OS: Ubuntu 19.04

GPG2: gpg (GnuPG) 2.2.12 with libgcrypt 1.8.4

When trying to use my GPG key for ssh authentication, I have tried multiple online tutorials as well as my own tinkering.

I generated the key using gpg2 --full-gen-key,

I have added an authentication only subkey with gpg2 --expert --edit-key KEYID,

disabled gnome-keyring-ssh by adding Hidden=true to$HOME/.config/autostart/gnome-keyring-ssh.desktop,

and added the appropriate keygrip for the authentication subkey to $HOME/.gnupg/sshcontrol.

Now, according to everything I've found online, ssh-add -L should be able to see the authentication key, however it just returns The agent has no identities. Is there an important step I have missed in my reading? Or is there something else going on here?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.