Variable: erc-sasl-password

erc-sasl-password is a customizable variable defined in erc-sasl.el.gz.

Value

:password

Documentation

Optional account password to send when authenticating.

When erc-sasl-auth-source-function is a function, ERC attempts an auth-source query and prompts for input if it fails. Otherwise, when the value of this option is a nonempty string, ERC uses it unconditionally for most mechanisms. Likewise with a value of :password, except ERC instead uses the "session password" on file, if any, which often originates from the entry-point commands erc or erc-tls. As with auth-source, ERC prompts for input as a fallback.

Note that, with :password, ERC forgoes sending a traditional server password via the IRC "PASS" command. Also, when erc-sasl-mechanism is set to ecdsa-nist256p-challenge, ERC expects this option to hold the file name of the key.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-sasl.el.gz
(defcustom erc-sasl-password :password
  "Optional account password to send when authenticating.
When `erc-sasl-auth-source-function' is a function, ERC attempts
an auth-source query and prompts for input if it fails.
Otherwise, when the value of this option is a nonempty string,
ERC uses it unconditionally for most mechanisms.  Likewise with a
value of `:password', except ERC instead uses the \"session
password\" on file, if any, which often originates from the
entry-point commands `erc' or `erc-tls'.  As with auth-source,
ERC prompts for input as a fallback.

Note that, with `:password', ERC forgoes sending a traditional
server password via the IRC \"PASS\" command.  Also, when
`erc-sasl-mechanism' is set to `ecdsa-nist256p-challenge', ERC
expects this option to hold the file name of the key."
  :type '(choice (const nil) (const :password) string symbol))