Separate SASL, NickServ and oper credentials; add SASL-first auth #5
Loading…
Reference in a new issue
No description provided.
Delete branch "sasl-oper-auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The single
irc.passwordwas doing triple duty — NickServ IDENTIFY, OPER, and (soon) SASL — so OPER reused the account password and always failed with481(operator credentials are a different secret).sasl_account(defaults to nick),oper_user(defaults to name), andoper_password. OPER is only attempted whenoper_passwordis set and never reuses the account password.draft/relaymsg message-tagsafterRPL_YOUREOPER, since some servers only grant relaymsg to operators.util_base64_encodefor the SASL PLAIN payload, with unit tests.Verified:
meson compileclean,meson testpasses,clang-format --dry-run --Werrorclean.