bnc
bnc copied to clipboard
Authenticating to the bouncer
So there are two sides of authentication, clients connecting into the bouncer, and then the bouncer authenticating to networks.
This issue roughly goes over the ways clients should be able to authenticate their account (and which network they want to connect to) to the bouncer.
- Server connection password (
PASS
) ofusername/network:password
- mimics ZNC. -
USER
ofusername/network
and server connection password (PASS
) of the account password - mimics ZNC. - SASL PLAIN for the account login, have just the network name in
USER
. - SASL CERTFP to auth to the account, having just the network name in
USER
.
We currently support 1, adding 2 for compatibility with ZNC makes sense. 3 seems pretty obvious and shouldn't be too difficult for me to implement.
4 is a bit weird, but I think doing auth with TLS client certs makes sense to look at some point a fair ways down the road.