wkd-exporter(1)
π NAME π
okay bestie, welcome to wkd-exporter(1) from the General Commands Manual β itβs the WKD exporter, and itβs here to make your OpenPGP keys Web Key Directoryβready β¨
π¦ SYNOPSIS π¦
wkd-exporter [--domain] [--append] [--direct] [-h|--help] <WELL_KNOWN>
πΈ DESCRIPTION πΈ
WKD exporter. Literally thatβs the whole bit π
It exports a given OpenPGP keyring into the directory structure required by the Web Key Directory specification β so your keys end up where the WKD spec expects them, no cap π«Ά
β¨ OPTIONS β¨
--domain <DOMAIN>β Only export the following domain, and yes it may be given multiple times. By default all domains are exported, but if this option is given, only the selected ones get exported π--appendβ Append incoming certificates to the ones already existing in.well-known. Turn this on if you have multiple certificates containing the same local-part and you want them all to be part of the WKD export. Warning tho: running the same process twice with--appendand the same.well-knownwill duplicate the certificates there π--direct <DIRECT>β Select the direct WKD variant with a filter for this single domain.-h,--helpβ Print help (see a summary with-h).<WELL_KNOWN>β Well known directory that will be the output of the exporting process.
π EXIT STATUS π
On success the application returns 0. Slay.
On failure the following exit codes are used:
2β Processing OpenPGP data failed π3β Reading or writing files failed π
π₯ EXAMPLES π₯
For bigger deployments, using the advanced variant with a domain filter is recommended:
$ DIR=$(mktemp -d)
$ gpg --export | wkd-exporter --append --domain archlinux.org $DIR
$ tree $DIR | head
/tmp/tmp.ZaHdlAQGRw
βββ openpgpkey
βββ archlinux.org
βββ hu
β βββ 46yqwra65to1p94e9ebafpucymkwsi7f
β βββ 9drt4xorn699rkbj5xyq7ykoc1z5nnof
β βββ 9hy3wi4ewwiicomnjmhewifn6d1gi87i
β βββ 9sh859e31bn46hmfxyftn3ymop5ewdkz
β βββ b9qi357oeysqibkxmmh3hanrppd6nj9p
β βββ btfkn1ht1kzda3e9495fe4sjznkygui4
For smaller deployments, the direct variant may be more appropriate:
$ DIR=$(mktemp -d)
$ gpg --export | wkd-exporter --append --direct metacode.biz $DIR
$ tree $DIR | head
/tmp/tmp.cxEBeXnwdv
βββ openpgpkey
βββ hu
β βββ gebusffkx9g581i6ch4t3ewgwd6dctmp
βββ policy
Logging can be enabled using the RUST_LOG environment variable β e.g. RUST_LOG=wkd_exporter=debug enables debug-level logging. Errors are always logged, regardless of the log level, and the exit status indicates the type of the error π
π§ BUGS π§
Please report all bugs to https://gitlab.archlinux.org/archlinux/wkd-exporter β the maintainers want the tea, fr fr π
π AUTHORS π
Wiktor Kwapisiewicz <wiktor@metacode.biz> π«Ά
π COPYRIGHT π
MIT OR Apache-2.0
Cute sign-off: this is the wkd-exporter(1) page from the General Commands Manual, with footer vibes wkd-exporter / wkd-exporter(1) β and thereβs no date printed in this copy, so no invented date drama, periodt π
π¦ where this page comes from
- arch rolling: wkd-exporter 0.3.3-2 Β· Apache-2.0 OR MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms