summaryrefslogtreecommitdiff
path: root/tests/unit/plugins/relay
AgeCommit message (Collapse)Author
2022-01-17core: update copyright datesSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-04-20tests: add tests on functions relay_auth_password_hash_algo_search and ↵Sébastien Helleu
relay_auth_generate_nonce
2020-04-19tests: reduce number of iterations in PBKDF2 tests from 100000 to 1000Sébastien Helleu
This speeds up tests by about 30%.
2020-04-19tests: remove obsolete file test-relay-weechat-protocol.cppSébastien Helleu
2020-04-14relay: add command "handshake" in weechat relay protocol and nonce to ↵Sébastien Helleu
prevent replay attacks (closes #1474) This introduces a new command called "handshake" in the weechat relay protocol. It should be sent by the client before the "init" command, to negotiate the way to authenticate with a password. 3 new options are added: * relay.network.auth_password * relay.network.hash_iterations * relay.network.nonce_size
2020-03-02relay: accept hash of password in init command with option "password_hash"Sébastien Helleu
Allowed algorithms are: * PBKDF2 (SHA256 or SHA512, salt, iterations) * SHA256 * SHA512