💾 Archived View for rawtext.club › ~sloum › geminilist › 001514.gmi captured on 2020-11-07 at 02:16:35. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

-=-=-=-=-=-=-

<-- back to the mailing list

authority's userinfo?

solderpunk solderpunk at SDF.ORG

Wed Jun 10 21:28:11 BST 2020

- - - - - - - - - - - - - - - - - - - 

On Wed, Jun 10, 2020 at 01:15:33PM +0200, Felix Queißner wrote:

If your server handles user@ in a different way than without authority,
i think that's totally in-spec, but authentication is probably not.
One possible usage for authority could be home-dirs instead of an
official site:
Instead of using
=
gemini://random-projects.net/~felix/
one could also access the directory via
=
gemini://felix@random-projects.net/

Hmm. But RFC3985 says "The userinfo subcomponent may consist of a username and, optionally, scheme-specific information about how to gainauthorization to access the resource". I think using even just ausername without a password for non-auth purposes is, at the very least,against the spirit of the spec.

There are practical difficulties, too. If servers used the username toselect a user directory, instead of the traditional tilde URL, then forpeople to be able to meaningfully copy and paste links from theirclient's UI, said UI would need to render the userinfo component.That's going to be very dangerous if some other servers are using it foractual authentication.

Putting credentials into URLs in general seems like playing with fire tome. Client certificates are much safer in this regard, and more useful.The documentation for an app can say "To change your profile details, goto gemini://fancyapp.com/edit/profile" and if I'm "logged in" via anactive cert I can follow that link and it will work. Or I can paste theURL at which I get an error to the developer to help them debug, andthey don't have to know my identity. Etc.

Cheers,Solderpunk