When attempting to decrypt a message, these messages show up in syslog: Jun 8 15:55:29 wopr systemd[2245]: Started GnuPG cryptographic agent and passphrase cache. Jun 8 15:55:29 wopr gpg-agent[25712]: gpg-agent (GnuPG) 2.2.4 starting in supervised mode. Jun 8 15:55:29 wopr gpg-agent[25712]: using fd 3 for ssh socket (/run/user/35000001/gnupg/S.gpg-agent.ssh) Jun 8 15:55:29 wopr gpg-agent[25712]: using fd 4 for std socket (/run/user/35000001/gnupg/S.gpg-agent) Jun 8 15:55:29 wopr gpg-agent[25712]: using fd 5 for extra socket (/run/user/35000001/gnupg/S.gpg-agent.extra) Jun 8 15:55:29 wopr gpg-agent[25712]: using fd 6 for browser socket (/run/user/35000001/gnupg/S.gpg-agent.browser) Jun 8 15:55:29 wopr gpg-agent[25712]: listening on: std=4 extra=5 browser=6 ssh=3 Jun 8 15:55:29 wopr gnome-shell[4354]: remove_mnemonics: assertion 'label != NULL' failed Jun 8 15:55:29 wopr gnome-shell[4354]: remove_mnemonics: assertion 'label != NULL' failed Jun 8 15:55:29 wopr gpg-agent[25712]: failed to unprotect the secret key: Operation cancelled Jun 8 15:55:29 wopr gpg-agent[25712]: failed to read the secret key Jun 8 15:55:29 wopr gpg-agent[25712]: command 'PKDECRYPT' failed: Operation cancelled <Pinentry>
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1775923 Title: gpg can't access secret keys when logged in via ssh instead of desktop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1775923/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs