File: erc-sasl.el.html

This "non-IRCv3" implementation resembles others that have surfaced over the years, the first possibly being from Joseph Gay:

https://lists.gnu.org/archive/html/erc-discuss/2012-02/msg00001.html

See M-x customize-group RET erc-sasl RET and (info "(erc) SASL") for usage.

TODO:

- Obfuscate non-auth-source passwords in memory. They're currently
  visible in backtraces.

- Implement a proxy mechanism that chooses the strongest available
  mechanism for you. Requires CAP 3.2 (see bug#49860).

- Integrate with whatever solution ERC eventually settles on to
  handle user options for different network contexts. At the
  moment, this does its own thing for stashing and restoring
  session options, but ERC should make abstractions available for
  all local modules to use, possibly based on connection-local
  variables.

Defined variables (22)

erc-message-english-s902Message template for key ‘s902’ in catalog ‘english’.
erc-message-english-s904Message template for key ‘s904’ in catalog ‘english’.
erc-message-english-s905Message template for key ‘s905’ in catalog ‘english’.
erc-message-english-s906Message template for key ‘s906’ in catalog ‘english’.
erc-message-english-s907Message template for key ‘s907’ in catalog ‘english’.
erc-message-english-s908Message template for key ‘s908’ in catalog ‘english’.
erc-sasl--send-cap-lsWhether to send an opening "CAP LS" command.
erc-sasl-auth-source-functionFunction to query auth-source for an SASL password.
erc-sasl-authzidSASL authorization identity, likely unneeded for everyday use.
erc-sasl-mechanismSASL mechanism to connect with.
erc-sasl-modeNon-nil if Erc-Sasl mode is enabled.
erc-sasl-mode-hookHook run after entering or leaving ‘erc-sasl-mode’.
erc-sasl-passwordOptional account password to send when authenticating.
erc-sasl-userAccount username to send when authenticating.
erc-server-902-functionsHook called upon receiving a 902 server response.
erc-server-903-functionsHook called upon receiving a 903 server response.
erc-server-904-functionsHook called upon receiving a 904 server response.
erc-server-905-functionsHook called upon receiving a 905 server response.
erc-server-906-functionsHook called upon receiving a 906 server response.
erc-server-907-functionsHook called upon receiving a 907 server response.
erc-server-908-functionsHook called upon receiving a 908 server response.
erc-server-AUTHENTICATE-functionsHook called upon receiving a AUTHENTICATE server response.

Defined functions (36)

copy-erc-sasl--state(ARG)
erc-sasl--create-client(MECHANISM)
erc-sasl--destroy(PROC)
erc-sasl--ecdsa-first(CLIENT STEP)
erc-sasl--ecdsa-sign(CLIENT STEP)
erc-sasl--mechanism-offered-p(OFFERED)
erc-sasl--plain-response(CLIENT STEPS)
erc-sasl--read-password(PROMPT)
erc-sasl--scram-sha-1-client-final-message(CLIENT STEP)
erc-sasl--scram-sha-256-client-final-message(CLIENT STEP)
erc-sasl--scram-sha-512-authenticate-server(CLIENT STEP)
erc-sasl--scram-sha-512-client-final-message(CLIENT STEP)
erc-sasl--scram-sha-hack-client-final-message(&rest ARGS)
erc-sasl--scram-sha512(OBJECT &optional START END BINARY)
erc-sasl--state-client(CL-X)
erc-sasl--state-client--cmacro(CL-WHOLE-ARG CL-X)
erc-sasl--state-p(CL-X)
erc-sasl--state-p--cmacro(CL-WHOLE-ARG CL-X)
erc-sasl--state-pending(CL-X)
erc-sasl--state-pending--cmacro(CL-WHOLE-ARG CL-X)
erc-sasl--state-step(CL-X)
erc-sasl--state-step--cmacro(CL-WHOLE-ARG CL-X)
erc-sasl-auth-source-password-as-host(&rest PLIST)
erc-sasl-disable(&optional ARG)
erc-sasl-enable(&optional ARG)
erc-sasl-mode(&optional ARG)
erc-server-902(PROC PARSED)
erc-server-903(PROC PARSED)
erc-server-904(PROC PARSED)
erc-server-905(PROC PARSED)
erc-server-906(PROC PARSED)
erc-server-907(PROC PARSED)
erc-server-908(PROC PARSED)
erc-server-AUTHENTICATE(PROC PARSED)
make-erc-sasl--state
make-erc-sasl--state--cmacro

Defined faces (0)