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?
You should specify a keyserver to use.I typically use --keyserver wwwkeys.uk.pgp.net (you can use a lot of different country codes instead of uk, but I know that one works).