I'm trying to add a key to gpg:
$ gpg --recv-key 12345
gpg: keyserver receive failed: No keyserver available
Then I do this:
$ gpg --list-keys
gpg: /home/me/.gnupg/trustdb.gpg: trustdb created
but the error remains. How can I can fix it?
I'm trying to add a key to gpg:
$ gpg --recv-key 12345
gpg: keyserver receive failed: No keyserver available
Then I do this:
$ gpg --list-keys
gpg: /home/me/.gnupg/trustdb.gpg: trustdb created
but the error remains. How can I can fix it?
wwwkeys.uk.pgp.net
. You can probably add it your configuration, and it might be a good idea, I've just never bothered to.--keyserver
is listed in the man page, so it should work, the complete command will be something likegpg --keyserver wwwkeys.uk.pgp.net --recv-keys 12345678
. – Henrik supports the community Jul 10 '16 at 22:04