Commit Graph

27 Commits

Author SHA1 Message Date
Shivaram Lingamneni 9de76b6063
basic server test for SCRAM-SHA-256 (#84) 2021-08-08 20:47:42 +02:00
Valentin Lorentz 1fbd51c0b5 Rename assertMessageEqual to assertMessageMatch
it describes the function better
2021-02-28 20:44:31 +01:00
Valentin Lorentz 62a87b5957 type-annotate all functions outside the tests themselves. 2021-02-28 18:45:13 +01:00
Valentin Lorentz 4ac891382e make pyxmpp2-scram an optional dependency. 2021-02-22 19:44:41 +01:00
Valentin Lorentz ca93caa69d Make the dependency on ecdsa optional 2021-02-22 19:44:41 +01:00
Valentin Lorentz f9d0ec18ff Make flake8 pass, and run it automatically. 2021-02-22 19:42:18 +01:00
Valentin Lorentz 836cc5d6d2 Use isort to order imports. 2021-02-22 19:42:18 +01:00
Valentin Lorentz 8016e01daf Use Black code style 2021-02-22 19:42:18 +01:00
Valentin Lorentz 28f1ceb4e6 Fix ecdsa tests to use the same protocol as Atheme.
Which requires not hashing the challenge.
2021-02-21 23:18:55 +01:00
Valentin Lorentz 68c2dad8d9 For SCRAM, check clients send an empty response at the end.
https://github.com/ircv3/ircv3-specifications/pull/326
2021-02-21 22:05:15 +01:00
Valentin Lorentz efa5b5eb3b client_tests/test_sasl: Update to work with newer versions of Sopel 2021-02-20 10:53:23 +01:00
Valentin Lorentz 3932a40d74 Fix client tests broken by a14ebf9ec2. 2021-02-19 23:00:00 +01:00
Valentin Lorentz 0dfe0de549 Fix client tests broken by 020564bdcb. 2021-02-19 22:57:59 +01:00
Shivaram Lingamneni a14ebf9ec2 remove scram 2020-09-13 06:41:06 -04:00
Shivaram Lingamneni c5e565ed27 remove ecdsa 2020-09-13 06:39:53 -04:00
Valentin Lorentz 37ea5be753 Add tests for SCRAM. 2017-11-01 17:52:29 +00:00
Valentin Lorentz 4ac1108f82 Add quotes from specifications to test descriptions. 2015-12-21 13:09:30 +01:00
Valentin Lorentz 38569f013f Add PLAIN test for servers. 2015-12-20 16:15:25 +01:00
Valentin Lorentz 900f18492c Add docstrings. 2015-12-20 13:47:30 +01:00
Valentin Lorentz 95ad6f32d7 Report optional specs/mechs that required a test to be skipped. 2015-12-20 11:26:30 +01:00
Valentin Lorentz 5710e577ec Check client resumes negotiation after ERR_SASLFAIL (904). 2015-12-20 10:53:27 +01:00
Daniel Oaks 07e160758e client_tests.test_sasl: Split out mechanism test 2015-12-20 13:31:29 +10:00
Daniel Oaks 9301f5e50e client_tests.test_sasl: Make supported mechanism list mandatory 2015-12-20 13:29:05 +10:00
Daniel Oaks 2541fa25ca irctest.client_tests.test_sasl: Support skipping unsupported mechanism tests 2015-12-20 13:07:13 +10:00
Valentin Lorentz c52e78d2f9 Remove useless constant. 2015-12-20 03:20:01 +01:00
Valentin Lorentz 1fd5770d42 Add client test for ECDSA-NIST256P-CHALLENGE. 2015-12-20 02:59:17 +01:00
Valentin Lorentz 71110b1ee1 Rename clienttests to client_tests for consistency. 2015-12-19 21:21:34 +01:00