avatar

ThalliMega's Blog

Home

配置WKD

$DOMAIN/.well-known/openpgpkey/policy

$DOMAIN/.well-known/openpgpkey/hu/.htaccess

<IfModule mod_mime.c>
 ForceType application/octet-stream
 Header always set Access-Control-Allow-Origin "*"
</IfModule>

$DOMAIN/.well-known/openpgpkey/hu/$(gpg --with-wkd-hash -k <keyid>)

$(gpg --export <keyid>)

WKS

gpg --list-options show-only-fpr-mbox -k $PATTERN | gpg-wks-client -v --install-key