SQ(1) User Commands SQ(1)

sq network wkd generate - Generate a Web Key Directory for the given domain and certs

sq network wkd generate [OPTIONS] WEB-ROOT FQDN CERT-RING

Generate a Web Key Directory for the given domain and certs.

If the WKD exists, the new certificates will be inserted and existing ones will be updated.

A WKD is per domain, and can be queried using the advanced or the direct method. The advanced method uses a URL with a subdomain 'openpgpkey'. As per the specification, the advanced method is to be preferred. The direct method may only be used if the subdomain doesn't exist. The advanced method allows Web Key Directories for several domains on one web server.

The contents of the generated WKD must be copied to a web server so that they are accessible under https://openpgpkey.example.com/.well-known/openpgp/... for the advanced version, and https://example.com/.well-known/openpgp/... for the direct version. sq does not copy files to the web server.

Use the direct method [default: advanced method]
Skip certificates that do not have User IDs for given domain.
Write the WKD to WEB-ROOT. Transfer this directory to the webserver.
Generate a WKD for a fully qualified domain name for email
Add certificates from CERT-RING (or stdin if omitted) to the WKD
[default: -]

See sq(1) for a description of the global options.

Generate a WKD in /tmp/wkdroot from certs.pgp for example.com.

sq wkd generate /tmp/wkdroot example.com certs.pgp

sq(1), sq-network(1), sq-network-wkd(1).

For the full documentation see https://book.sequoia-pgp.org.

0.35.0 (sequoia-openpgp 1.20.0)

0.35.0 Sequoia PGP