keybase / keybase-issues

A single repo for managing publicly recognized issues with the keybase client, installer, and website.
899 stars 37 forks source link

Ability to specify the keybase.txt location #3127

Open Southclaws opened 6 years ago

Southclaws commented 6 years ago

I've recently rewritten my homepage and I'm using a server setup that only serves out of /static, so my keybase path changed to /static/keybase.txt.

It would be great to be able to specify a path for situations like these. I could set up my reverse proxy to just swap the path out but I think the ability for users to specify their path for any hosting setup would be a neat solution.

jrtapsell commented 6 years ago

This could be useful for verifying additional identities. For example, RHUL gives a directory to each student, so it could be used to verify students (these take the form personal.rhul.ac.uk/<username_start>/<username_end>/, for example mine is personal.rhul.ac.uk/zcva/821/). I do not know how common this is in general, but most of the unis I have checked seem to provide it in some form.

There could be an issue around how much of the site you are verifying. If verifying one subdirectory applies to the whole domain then your static file would verify your whole site for you, but fail for my example above, as I would be verified for all of personal.rhul.ac.uk.

A potential workaround for your use case could be using .well-known, depending on if your server supports it.

mitar commented 5 years ago

Yes, I think Keybase should use .well-known location instead of a file at the root.

maxtaco commented 5 years ago

This already works

mitar commented 5 years ago

What works?

maxtaco commented 5 years ago

https://www.facebook.com/.well-known/keybase.txt

mitar commented 5 years ago

Is this documented somewhere?

maxtaco commented 5 years ago

I believe the instructions for how to post a proof show you both options