instruct --locate-keys to use the pre-defined keyserver

By default, --locate-keys uses the key retrieval mechanisms
"local,wkd".  If you want it to use the keyserver, you need to tell it
to do so explicitly.

An alternate approach would be to add the following to gpg.conf:

    auto-key-locate local,wkd,hkps://keys.openpgp.org

but if you did that, you'd be getting into policy choices about
metadata leakage.
This commit is contained in:
Daniel Kahn Gillmor 2019-06-07 16:44:30 -04:00 committed by Vincent Breitmoser
parent 7e03cbe428
commit 69f89c4943
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
<ul>
<li>
To locate the key of a user, by email address:
<blockquote>gpg --locate-keys user@example.net</blockquote>
<blockquote>gpg --auto-key-locate keyserver --locate-keys user@example.net</blockquote>
</li>
<li>To refresh all your keys (e.g. new revocation certificates and subkeys):
<blockquote>gpg --refresh</blockquote>