Closed Bubblemelon closed 6 years ago
--keyserver keys.gnupg.net --recv-keys 9CEB8FE6B4F1E9E752F61C82CDDE268EBB729EC7
will work with both gpg
and gpg2
. (gpg
appears not to have a default keyserver, thus the first option.) Want to make a PR?
@bgilbert you're right! I suggested using gpg2
in case we wanted to keep to the --receive-keys 9CEB8FE6B4F1E9E752F61C82CDDE268EBB729EC7
command format.
I could easily change the current:
gpg --receive-keys 9CEB8FE6B4F1E9E752F61C82CDDE268EBB729EC7
to
gpg --keyserver keys.gnupg.net --recv-keys 9CEB8FE6B4F1E9E752F61C82CDDE268EBB729EC7
Which will work for older gpg versions, and I'll include the alternative using gpg2 in the doc as well.
My point was that if we use command-line arguments that work with both versions, we can avoid the gpg2
alternative entirely, simplifying the doc.
@bgilbert Okay got it!
GPG versions earlier than 2.1 will generate the following error:
gpg: Invalid option "--receive-keys"
I would like to add a snippet saying:
Use following as alternative:
Using gpg2 will generate the same output as indicated by the immediate example as specified in the docs: