WKD added for my email

Published: 2023-03-15 Last update: 2024-02-26

Inspired by this toot on Mastodon, I have added the Web Key Directory files for my email address: this will make easier for smarter email clients to retrieve my PGP public key without having me sending it around or having the email sender retrieve it manually.

The Web Key Directory (WKD) is stupidly simple to configure. There are two ways to do that, a "Direct" way and an "Advanced" way, both easy. The Direct way is even easier because it doesn't require configuring a virtual host on your web host (and since I host my website on pages.sr.ht this is mandatory).

I won't go through the procedure because it is explained in many blog posts, take this one for example.

Worth noting that retrieving the public key from the WKD must be supported by the email client. For example Thunderbird and KMail will work but Google Mail is notably absent in this list of email clients and services supporting it.

A way to retrieve the public key using the GPG command-line tool is:

gpg --locate-external-keys jman@city17.xyz

Note: this option is available from GnuPG 2.2.17

For completeness, I'll mention that is it also possible to use the GnuPG WKS client (gpg-wks-client, wiki link.

Happy sending PGP encrypted emails!