]> git.eshelyaron.com Git - emacs.git/commit
Add non-IRCv3 SASL module to ERC
authorF. Jason Park <jp@neverwas.me>
Mon, 12 Jul 2021 10:44:28 +0000 (03:44 -0700)
committerAmin Bandali <bandali@gnu.org>
Thu, 24 Nov 2022 02:14:25 +0000 (21:14 -0500)
commited8862c40432302b68433a9b8c00cd5604962ec4
treeb3b49d2f9c37314d229b0027c0c84c5871cf8840
parentae254a65cd6c0292865c449d639140f5d149f68e
Add non-IRCv3 SASL module to ERC

* doc/misc/erc.texi: Add SASL section in Advanced Usage chapter to
document the new SASL module.

* etc/ERC-NEWS: Mention addition of erc-sasl module for SASL support.

* lisp/erc/erc-compat.el
(erc-compat--29-sasl-scram-construct-gs2-header,
erc-compat--29-sasl-scram-client-first-message,
erc-compat--29-sasl-scram--client-final-message): Fix encoding bug and
add minimal authorization support with copies of SASL functions
introduced in Emacs 29.

* lisp/erc/erc.el (erc-modules): Add `sasl'.
* lisp/erc/erc-sasl.el: New file (bug#29108).
* test/lisp/erc/erc-sasl-tests.el: New file.
* test/lisp/erc/erc-scenarios-sasl.el: New file.
* test/lisp/erc/resources/sasl/plain-failed.eld: New file.
* test/lisp/erc/resources/sasl/plain.eld: New file.
* test/lisp/erc/resources/sasl/scram-sha-1.eld: New file.
* test/lisp/erc/resources/sasl/scram-sha-256.eld: New file.
* test/lisp/erc/resources/sasl/external.eld: New file.
13 files changed:
doc/misc/erc.texi
etc/ERC-NEWS
lisp/erc/erc-backend.el
lisp/erc/erc-compat.el
lisp/erc/erc-sasl.el [new file with mode: 0644]
lisp/erc/erc.el
test/lisp/erc/erc-sasl-tests.el [new file with mode: 0644]
test/lisp/erc/erc-scenarios-sasl.el [new file with mode: 0644]
test/lisp/erc/resources/sasl/external.eld [new file with mode: 0644]
test/lisp/erc/resources/sasl/plain-failed.eld [new file with mode: 0644]
test/lisp/erc/resources/sasl/plain.eld [new file with mode: 0644]
test/lisp/erc/resources/sasl/scram-sha-1.eld [new file with mode: 0644]
test/lisp/erc/resources/sasl/scram-sha-256.eld [new file with mode: 0644]