getkey
—
fetch one or more keys from an OpenPGP keyserver
The getkey
utility invokes GnuPG to fetch one or more
keys from an OpenPGP keyserver.
The getkey
utility exits 0 on success,
and >0 if an error occurs.
If the KEYSERVERS
variable is set in the environment,
getkey
will use it to determine which keyservers to
fetch the keys from, instead of using
pool.sks-keyservers.net.
If the standard HTTP_PROXY
variable is
set, and NOKEYPROXY
is not, then
getkey
will pass a
--http-proxy
parameter to
gpg(1).
The getkey
utility's operation is currently not directly
affected by any files.
Fetch some keys from a keyserver:
getkey 2527DF13 16194553
Explicity specify the keyserver to use:
env KEYSERVERS=subkeys.pgp.net getkey
2527DF13
The getkey
utility was written by Peter
Pentchev in 2000.
Peter Penchev ⟨roam@ringlet.net⟩