[arch-general] Missing gpg key?

Ralf Mardorf silver.bullet at zoho.com
Fri Jun 3 20:04:46 UTC 2016


On Fri, 3 Jun 2016 21:42:05 +0200, Laurent Carlier wrote:
>You can retreive the key with gpg --recv-keys <fingerprint> or pass
>--skippgpcheck to makepkg

IMO skipping the verifying isn't a good approach. Instead of typing

  gpg -h

and then
  
  gpg --recv-keys

I added an alias, since I seldom need to import a key and can't
remember what abbreviation for "receive" is used
( http://www.abbreviations.com/abbreviation/Receive ;).

$ grep gkey ~/.bashrc 
alias gkey='gpg --keyserver hkp://pgp.uni-mainz.de --recv-keys'

IIRC an uncommented line "keyserver-options auto-key-retrieve" in
gpg.conf automatically imports missing keys.

$ grep auto ~/.gnupg/gpg.conf 
# keyserver-options auto-key-retrieve

Regards,
Ralf


More information about the arch-general mailing list