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 (s...@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

Running:

  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.

-Phil

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to