https link method should use `.well-known`
devsnek opened this issue · 9 comments
The url should be https://example.com/.well-known/keyspub.txt
. See https://tools.ietf.org/html/rfc8615 and https://www.iana.org/assignments/well-known-uris/well-known-uris.xhtml and maybe https://en.wikipedia.org/wiki/List_of_/.well-known/_services_offered_by_webservers
My gut reaction is worrying that somehow a hacker could get access to that directory more easily, but that doesn't seem right.
I could whitelist that location so both are valid?
https://example.com/keyspub.txt
https://example.com/.well-known/keyspub.txt
Both also works
I am not sure whether GitHub pages serve folders starting with a dot, so keeping a location outside of .well-known
might be a good thing.
It can using a _config.yml
:
include:
- ".well-known"
I have that version (at least my version suggests to use .well-known) but it didn't find the file (literally saying 404). Moving it to the root folder worked.
Oops, this is not working. Re-opening.
Thanks for reporting the issue.
Fixed in keys-pub/app@73cf025. Will be in next release.