From 242c37829086d5f1ca2bacb4524f40a535ed7d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 17 Apr 2020 23:41:12 +0200 Subject: [PATCH] doc: fix examples of handshake command (relay protocol) --- doc/en/weechat_relay_protocol.en.adoc | 8 ++++---- doc/fr/weechat_relay_protocol.fr.adoc | 8 ++++---- doc/ja/weechat_relay_protocol.ja.adoc | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/en/weechat_relay_protocol.en.adoc b/doc/en/weechat_relay_protocol.en.adoc index f9260ef40..bc787ef03 100644 --- a/doc/en/weechat_relay_protocol.en.adoc +++ b/doc/en/weechat_relay_protocol.en.adoc @@ -173,13 +173,13 @@ Examples: ---- # nothing offered by the client (or only "plain"), authentication password "plain" will be used if allowed on relay side handshake -handshake password=plain +handshake password_hash_algo=plain # only plain, sha256 and pbkdf2+sha256 are supported by the client -handshake password=plain:sha256:pbkdf2+sha256 +handshake password_hash_algo=plain:sha256:pbkdf2+sha256 # only sha256 and sha512 are supported by the client, disable compression -handshake password=sha256:sha512,compression=off +handshake password_hash_algo=sha256:sha512,compression=off ---- Example of response: @@ -1929,7 +1929,7 @@ A _NULL_ array: ║ open socket ║ add client ║ ║ ║ ║ ╟───────────────────────────────► ║ ║ - ║ cmd: handshake password=xxx,... ║ negotiate algos ║ + ║ cmd: handshake ... ║ negotiate algos ║ ║ ║ and options ║ ║ ◄───────────────────────────────╢ ║ ║ msg: id: "handshake" ... ║ ║ diff --git a/doc/fr/weechat_relay_protocol.fr.adoc b/doc/fr/weechat_relay_protocol.fr.adoc index dbd40b2f9..37eed354c 100644 --- a/doc/fr/weechat_relay_protocol.fr.adoc +++ b/doc/fr/weechat_relay_protocol.fr.adoc @@ -183,13 +183,13 @@ Exemples : ---- # rien d'offert par le client (ou seulement "plain"), l'authentification par mot de passe "plain" sera utilisée si autorisée côté relay handshake -handshake password=plain +handshake password_hash_algo=plain # seulement plain, sha256 et pbkdf2+sha256 sont supportés par le client -handshake password=plain:sha256:pbkdf2+sha256 +handshake password_hash_algo=plain:sha256:pbkdf2+sha256 # seulement sha256 et sha512 sont supportés par le client, désactiver la compression -handshake password=sha256:sha512,compression=off +handshake password_hash_algo=sha256:sha512,compression=off ---- Exemple de réponse : @@ -1972,7 +1972,7 @@ Un tableau _NULL_ : ║ ouverture socket ║ ajout du client ║ ║ ║ ║ ╟───────────────────────────────► ║ ║ - ║ cmd: handshake password=xxx,... ║ négociation algos ║ + ║ cmd: handshake ... ║ négociation algos ║ ║ ║ et options ║ ║ ◄───────────────────────────────╢ ║ ║ msg: id: "handshake" ... ║ ║ diff --git a/doc/ja/weechat_relay_protocol.ja.adoc b/doc/ja/weechat_relay_protocol.ja.adoc index dd71384de..31a5f02d6 100644 --- a/doc/ja/weechat_relay_protocol.ja.adoc +++ b/doc/ja/weechat_relay_protocol.ja.adoc @@ -182,13 +182,13 @@ Examples: ---- # nothing offered by the client (or only "plain"), authentication password "plain" will be used if allowed on relay side handshake -handshake password=plain +handshake password_hash_algo=plain # only plain, sha256 and pbkdf2+sha256 are supported by the client -handshake password=plain:sha256:pbkdf2+sha256 +handshake password_hash_algo=plain:sha256:pbkdf2+sha256 # only sha256 and sha512 are supported by the client, disable compression -handshake password=sha256:sha512,compression=off +handshake password_hash_algo=sha256:sha512,compression=off ---- Example of response: @@ -1944,7 +1944,7 @@ _NULL_ 配列: ║ ソケットをオープン ║ クライアントを追加 ║ ║ ║ ║ ╟───────────────────────────────► ║ ║ - ║ cmd: handshake password=xxx,... ║ negotiate algos ║ + ║ cmd: handshake ... ║ negotiate algos ║ ║ ║ and options ║ ║ ◄───────────────────────────────╢ ║ ║ msg: id: "handshake" ... ║ ║