mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 06:46:38 +02:00
doc: fix examples of handshake command (relay protocol)
This commit is contained in:
@@ -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" ... ║ ║
|
||||
|
||||
@@ -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" ... ║ ║
|
||||
|
||||
@@ -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" ... ║ ║
|
||||
|
||||
Reference in New Issue
Block a user