generate(1)
πΈ NAME πΈ
generate β bestie, this one Generates a Web Key Directory for the given domain and keys. Periodt. It's from the Sequoia Manual, and it's lowkey iconic. π
β¨ SYNOPSIS β¨
generate [-d|--direct-method] [-s|--skip] [-h|--help] <WEB-ROOT> <FQDN> [CERT-RING]
okay so that's the whole vibe in one line, we'll break it down, don't panic π«Ά
π« DESCRIPTION π«
So. generate Generates a Web Key Directory for the given domain and keys. And if the WKD already exists? Not a problem bestie β the new keys will be inserted, it gets updated, and the existing ones will be updated too. The way it just handles it ππ
A WKD is per domain, and you can query it using the advanced method or the direct method. The advanced method uses a URL with a subdomain openpgpkey. And as per the specification, the advanced method is to be preferred. Fr fr.
The direct method may only be used if the subdomain doesn't exist. (Read that again, it's giving rules.) The advanced method allows web key directories for several domains on one web server β multitasking queen. π
β οΈ okay so the contents of the generated WKD must be copied to a web server so that they're accessible under: -https://openpgpkey.example.com/.well-known/openpgp/...for the advanced version -https://example.com/.well-known/openpgp/...for the direct version and just so we're clear:sqdoes not copy files to the web server. You do that part yourself, bestie. π
π OPTIONS π
-d,--direct-methodβ Uses the direct method [default: advanced method]-s,--skipβ Skips certificates that do not have User IDs for given domain-h,--helpβ Print help information<WEB-ROOT>β Writes the WKD toWEB-ROOT. Transfer this directory to the webserver.<FQDN>β Generates a WKD for a fully qualified domain name for email[CERT-RING]β Adds certificates fromCERT-RINGto the WKD
π₯ EXAMPLES π₯
Generate a WKD in /tmp/wkdroot from certs.pgp for example.com.
sq wkd generate /tmp/wkdroot example.com certs.ppg
(and yes bestie, that's certs.ppg exactly as written, we do not edit the source material, not me being a good archivist π)
π SEE ALSO π
For the full documentation see <https://docs.sequoia-pgp.org/sq/>.
sq(1) sq-armor(1) sq-autocrypt(1) sq-certify(1) sq-dearmor(1) sq-decrypt(1) sq-encrypt(1) sq-inspect(1) sq-key(1) sq-keyring(1) sq-keyserver(1) sq-packet(1) sq-revoke(1) sq-sign(1) sq-verify(1) sq-wkd(1) sq-wkd-direct-url(1) sq-wkd-get(1) sq-wkd-url(1)
k that's the whole page, mwah π This lil masterpiece is sq 0.26.0, dated July 2022, and it lives under the generate(1) manual name. Go build your WKD bestie, you got this π¦β¨
π¦ where this page comes from
- debian bookworm: sq 0.27.0-2+b1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms