authority's userinfo?

Felix Queißner felix at masterq32.de
Wed Jun 10 12:15:33 BST 2020
> How is gemini meant to deal with authority's userinfo? 
> 
> gemini://username:password at mozz.us/
> gemini://username at mozz.us/
> 
> Orthodox? 
> 
> If so, how does the server communicate authentication failure back to the client?  
I don't think that user/password is the right way to handle
authentication in Gemini. The URL RFC also specifies:

> Use of the format "user:password" in the userinfo field is
> deprecated.

So only user@? is still a valid URL.

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 at random-projects.net/

But that's just some brainfart.

Regards
- xq


[0] https://tools.ietf.org/html/rfc3986


Archive home | About this archive