summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-04-17 23:41:12 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-04-17 23:41:12 +0200
commit242c37829086d5f1ca2bacb4524f40a535ed7d2d (patch)
tree68263ec18c5b32ab13fad8d33a243cb180a45764 /doc
parent95c908e83cbdfa95d4803121d28a510e94671fa1 (diff)
downloadweechat-242c37829086d5f1ca2bacb4524f40a535ed7d2d.zip
doc: fix examples of handshake command (relay protocol)
Diffstat (limited to 'doc')
-rw-r--r--doc/en/weechat_relay_protocol.en.adoc8
-rw-r--r--doc/fr/weechat_relay_protocol.fr.adoc8
-rw-r--r--doc/ja/weechat_relay_protocol.ja.adoc8
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" ... ║ ║