Skip to content

Commit

Permalink
Implemented SASL SCRAM
Browse files Browse the repository at this point in the history
Update doc

Set sasl-username to username, if not set

Enhance logging

Modularize sasl stuff into sasl.c / Refactor

Leave got900() in servmsg.c instead of sasl.c

Constant time memory comparison

State machine fuer sasl scram

Add comment about EXTERNAL via non-ssl

Dont use public / in use ip address in doc, use the ones specified for doc in rfc 5737

Add Tcl_TraceVar() for sasl-mechanism

Update valid cap sasl mechanism list on server 908

Handle SASL AUTHENTICATE server error

pre sasl mechanism ECDH-X25519-CHALLENGE
  • Loading branch information
Michael Ortmann authored and michaelortmann committed Oct 21, 2024
1 parent 277ec01 commit 0886fc2
Show file tree
Hide file tree
Showing 6 changed files with 771 additions and 390 deletions.
8 changes: 7 additions & 1 deletion eggdrop.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1113,12 +1113,18 @@ server add ssl.example.net +7000
# 1 = ECDSA-NIST256P-CHALLENGE (Uses a certificate; usually requires a
# public key to be registered with NickServ
# or other similar service. Set certificate
# to use in sasl-ecdsa-key setting below)
# to use in sasl-ecdsa-key setting below.
# Beware: NIST curve could be backdoored,
# so please use EXTERNAL or SCRAM instead.)
#
# 2 = EXTERNAL (Some other method you set up. Certificates
# used are defined in ssl-certificate and
# ssl-privatekey settings in SSL section)
#
# 3 = SCRAM-SHA-256
#
# 4 = SCRAM-SHA-512
#
#set sasl-mechanism 0

# Set username to authenticate to IRC NickServ with
Expand Down
4 changes: 2 additions & 2 deletions src/mod/server.mod/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ distclean: clean
.././server.mod/server.h .././server.mod/isupport.c \
.././server.mod/tclisupport.c .././server.mod/servmsg.c \
.././server.mod/../irc.mod/irc.h \
.././server.mod/../channels.mod/channels.h .././server.mod/cmdsserv.c \
.././server.mod/tclserv.c
.././server.mod/../channels.mod/channels.h .././server.mod/sasl.c \
.././server.mod/cmdsserv.c .././server.mod/tclserv.c
Loading

0 comments on commit 0886fc2

Please sign in to comment.