I created a GPG key with Ubuntu 16.04's "Passwords and Keys" and pushed it to the Ubuntu server. I tried to import into Launchpad, but when I got the email to decrypt, I keep getting an error saying 'gpg: decryption failed: secret key not available'
I have encrypt subkey and sign,certify subkey. I've tried to see if there was a way to add a decrypt subkey, but I am not seeing it under the gui.
What am I doing wrong?
gpg -K
?gpg -K
(the long version for-K
is--list-secret-keys
,-k
with a small letter only lists public keys), GnuPG does not find the secret keys. Also trygpg2 -K
andsudo -H gpg -K
(to make sure you didn't create the key as root by accident).