keys-pub/keys

https link method should use `.well-known`

devsnek opened this issue · 9 comments

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"

This will land in the next version, see #49

Fixed in 0.0.47.
2020-06-03 at 5 36 PM

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.