GnuPG 2.1.23 released
lists.gnupg.org
lists.gnupg.org
> Note: this enables keyserver and Web Key Directory operators to notice when a signature from a locally non-available key is being verified for the first time [...]
I'm not sure if I agree with that decision. Many people intentionally keep their keys off the key servers, and GPG is used by many internal signing applications (internal repos, etc.) where the keys aren't public, and enabling this by default would leak lots of metadata about the internal infrastructure. Last time I checked, the key server protocol was unencrypted, I hope this is no longer the case.
On the other hand, it will improve usability for "normal" usage and you'll still be prompted to verify the fingerprint for unknown keys.
Technical details from the RFC:
> For example the URI to lookup the key for Joe.Doe@Example.ORG is: https://example.org/.well-known/openpgpkey/ hu/iy9q119eutrkn8s1mk4r39qejnbu3n5q
(local part is SHA-1 encoded)
Source: https://tools.ietf.org/html/draft-koch-openpgp-webkey-servic...
Imagine a dissident / whistle blower / journalistic source using gpg. I could send her a message, signed with a new key, and just wait until her gpg executable contacts my server.
Then I have her IP address, and if I am lucky, I can plant an exploit into the very first request response.
GPG is extremely wide-spread for code signing (pretty much any Linux distro uses it), but it's barely used for email encryption.
* gpg: New option --disable-dirmngr to entirely disable network access for gpg.
PS: I wish GPG had better marketing / public multicast/broadcast communication.
Aha. I was wondering if this would be deemed a mere sequel to GPG 1 forever.
Curious if that still happens with gpg2.
A bash alias is safer:
alias gpg=gpg2Do a search for '"gpg2" inurl:wiki' to see a bunch of now-broken documentation.
They always seem like a good idea at first, but then they slowly become misleading as contributors move on. You can't even call them "irrelevant" at that point because readers don't know they've become irrelevant.
And, by spending energy on the wiki, people don't try improving the upstream documentation. I assume they were motivated to make the wiki due to some problem with the upstream doc but, in the end, the upstream docs don't get improved, and you have a confusing wiki.
Please work with the upstream project on documentation instead. And if you are the upstream, consider a policy of rejecting patches that don't amend the docs appropriately.
no-auto-key-retrieve
auto-key-locate localSounds like a security hole to me, especially for systems that automatically verify signatures against a curated keyring.
HOWEVER, a very useful feature (which it might have but wasn't mentioned in the upgrade notes; my own local manpage only has --list-public-keys (and shorter versions) and --locate-keys (which has wording that makes me think it'll also check online)) would be to search, local only, for any key (public or private) matching a given fingerprint hex or other field string. The changelog makes me think that to get that behavior I'd presently have to use: gpg --auto-key-locate local --locate-keys "example@example.com"