WKD docs on the wiki, restructuring. Feedback on forUsers page

Phil Pennock gnupg-users at spodhuis.org
Thu Sep 30 23:13:51 CEST 2021

On 2021-09-30 at 12:17 +0000, ಚಿರಾಗ್ ನಟರಾಜ್ via Gnupg-users wrote:
> Hmm, this is odd. I setup WKD as detailed on the https://wiki.gnupg.org/WKDHosting (using the openpgpkey subdomain), currently only for one address on my domain (spam at chiraag.me). Opening the file directly in a web browser does work, so the file is at the correct path with the correct (I presume) permissions. However, running the test given here does _not_ work and fails with the debugging output I've attached.
> Any ideas?

Do you have user-agent filtering in your web-server?

2021-09-30 17:11:35 dirmngr[733043.6] error accessing 'https://openpgpkey.chiraag.me/.well-known/openpgpkey/chiraag.me/hu/55caf3anhb75xpzx9m6hgw6589ozf1b9?l=spam': http status 403


  curl -fSs 'https://openpgpkey.chiraag.me/.well-known/openpgpkey/chiraag.me/hu/55caf3anhb75xpzx9m6hgw6589ozf1b9?l=spam' | gpg --import

works.  So you return the data just fine to curl, but when dirmngr asks
for it, it's getting a "403 Forbidden" response.

That smells to me of a web-server which is trying to block user-agents
it dislikes.  This isn't certain, but that's where I'd start looking.


More information about the Gnupg-users mailing list