31 Commits

Author SHA1 Message Date
Sébastien Helleu
71aa3dd451 doc: add missing key "compression" in handshake responses (relay protocol) 2020-05-02 12:50:49 +02:00
Sébastien Helleu
7699c0b757 relay: add "compression" in response to handshake command (weechat protocol)
The value can be "zlib" (default in relay) or "off".
2020-05-02 12:45:47 +02:00
Sébastien Helleu
46a2979aa1 doc: add examples of command responses in relay protocol 2020-05-02 12:28:14 +02:00
Sébastien Helleu
b3478fa712 doc: improve indenting in examples (relay protocol) 2020-04-29 19:12:58 +02:00
Sébastien Helleu
b6cc42cbf7 relay: add command "completion" in weechat relay protocol (closes #1484) 2020-04-28 11:15:30 +02:00
Sébastien Helleu
f3b9eb979d doc: protect monospace text with plus characters (relay protocol) 2020-04-25 00:29:31 +02:00
Sébastien Helleu
350227419e doc: fix table sizes on small screens 2020-04-18 20:38:52 +02:00
Sébastien Helleu
95b2d686a2 relay: allow only one handshake in weechat protocol 2020-04-18 00:33:15 +02:00
Sébastien Helleu
970c99961c relay: immediately close connection if the handshake failed (weechat protocol) 2020-04-18 00:08:11 +02:00
Sébastien Helleu
242c378290 doc: fix examples of handshake command (relay protocol) 2020-04-17 23:41:12 +02:00
Sébastien Helleu
95c908e83c relay: rename configuration options and keywords in handshake command (weechat protocol)
Configuration options renamed:

* relay.network.auth_password -> relay.network.password_hash_algo
* relay.network.hash_iterations -> relay.network.password_hash_iterations

Handshake command options renamed:

* password -> password_hash_algo

Handshake reply keys renamed:

* auth_password -> password_hash_algo
* hash_iterations -> password_hash_iterations
2020-04-17 23:34:27 +02:00
Sébastien Helleu
86a941e28e doc: use real nonce values in handshake/init examples (relay protocol) 2020-04-17 22:02:43 +02:00
Sébastien Helleu
94c6233100 doc: add missing "(id)" in commands handshake and init (relay protocol) 2020-04-17 21:25:37 +02:00
Sébastien Helleu
a5770a224a doc: add example of option "compression" in command "handshake" (relay protocol) 2020-04-17 21:06:21 +02:00
Sébastien Helleu
de2c91609c doc: fix examples of password hashes in commands handshake and init (relay protocol) 2020-04-17 10:01:00 +02:00
Sébastien Helleu
0c7d7c3fdc doc: revert arrows chars in relay protocol 2020-04-14 22:16:48 +02:00
Sébastien Helleu
9fa3609c85 relay: add command "handshake" in weechat relay protocol and nonce to 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-04-14 21:38:12 +02:00
Sébastien Helleu
2d2b49bfaa relay: accept hash of password in init command with option "password_hash"
Allowed algorithms are:

* PBKDF2 (SHA256 or SHA512, salt, iterations)
* SHA256
* SHA512
2020-03-02 00:46:10 +01:00
Sébastien Helleu
d26380a9bb core: replace "Mac OS X" and "OS X" by "macOS" (issue #1272) 2018-11-18 11:04:29 +01:00
Sébastien Helleu
738535e7f6 relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol 2018-11-04 14:50:53 +01:00
Sébastien Helleu
f02fc06dd0 doc: fix styles in relay protocol 2018-11-04 14:50:53 +01:00
Sébastien Helleu
1d85ff0f8d doc: fix hdata example (relay protocol) (closes #1242) 2018-08-30 22:08:55 +02:00
Sébastien Helleu
e85bf426c1 doc: add length of field "id" in binary message (relay protocol) (closes #1233) 2018-08-12 20:23:24 +02:00
Sébastien Helleu
6e366095f9 doc: fix some styles in relay protocol 2017-08-11 19:13:18 +02:00
Sébastien Helleu
c008fa68b7 doc: add non-breaking spaces in French docs before colons and semicolons 2016-12-04 13:13:41 +01:00
Sébastien Helleu
461d1f0073 doc: add missing punctuation in some table cells 2016-11-26 23:19:41 +01:00
Sébastien Helleu
67ab00abe5 doc: add example of hdata command with hotlist (relay protocol) 2016-07-29 16:02:39 +02:00
Sébastien Helleu
09c52755d1 relay: return an empty hdata when the requested hdata or pointer is not found (closes #767) 2016-07-29 15:55:42 +02:00
Sébastien Helleu
b1d32b29f9 doc: fix styles in docs 2016-06-15 08:01:45 +02:00
Sébastien Helleu
fd80196b81 doc: add escape of commas in command "init" (relay protocol) (issue #730) 2016-05-16 11:23:16 +02:00
Sébastien Helleu
b7bdbbdc50 core: rename .asciidoc files to .adoc (issue #722) 2016-05-15 08:52:19 +02:00