summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-04-17 22:02:43 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-04-17 22:02:43 +0200
commit86a941e28e9ca32750bd2659d20173a1a687053c (patch)
treed835857855e9b07caab37f47bb2c6e457859f68a /doc
parent94c623310037becccf197e2e87ee08599de94ba3 (diff)
downloadweechat-86a941e28e9ca32750bd2659d20173a1a687053c.zip
doc: use real nonce values in handshake/init examples (relay protocol)
Diffstat (limited to 'doc')
-rw-r--r--doc/en/weechat_relay_protocol.en.adoc18
-rw-r--r--doc/fr/weechat_relay_protocol.fr.adoc18
-rw-r--r--doc/ja/weechat_relay_protocol.ja.adoc18
3 files changed, 27 insertions, 27 deletions
diff --git a/doc/en/weechat_relay_protocol.en.adoc b/doc/en/weechat_relay_protocol.en.adoc
index fe0b8a6e2..3206177a3 100644
--- a/doc/en/weechat_relay_protocol.en.adoc
+++ b/doc/en/weechat_relay_protocol.en.adoc
@@ -190,11 +190,11 @@ htb: {'auth_password': 'pbkdf2+sha256', 'hash_iterations': '100000', 'totp': 'on
----
The client can authenticate with this command (see <<command_init,init command>>),
-the salt is the _relay_ nonce + "ABCD" ("41424344" in hexadecimal), the password
-is "test" in this example:
+the salt is the _relay_ nonce + client nonce ("A4B73207F5AAE4" in hexadecimal),
+the password is "test" in this example:
----
-init password_hash=pbkdf2+sha256:85b1ee00695a5b254e14f4885538df0d41424344:100000:1d4ed89e177cc7be5a6daf6915588cd07e645cb43bc74fadb16bed8d09943a36
+init password_hash=pbkdf2+sha256:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:100000:ba7facc3edb89cd06ae810e29ced85980ff36de2bb596fcf513aaab626876440
----
[TIP]
@@ -283,14 +283,14 @@ init password=mypass,totp=123456
# initialize and disable compression
init password=mypass,compression=off
-# initialize with hashed password "test" (SHA256: salt="nonce:cnonce") (WeeChat ≥ 2.9)
-init password_hash=sha256:6e6f6e63653a636e6f6e6365:763c9dca0737e1ca57eb9fc2f61f184550d8d5e8e66c0568a202abb23811771d
+# initialize with hashed password "test" (SHA256: salt=relay nonce + client nonce) (WeeChat ≥ 2.9)
+init password_hash=sha256:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:2c6ed12eb0109fca3aedc03bf03d9b6e804cd60a23e1731fd17794da423e21db
-# initialize with hashed password "test" (SHA512: salt="nonce:cnonce") (WeeChat ≥ 2.9)
-init password_hash=sha512:6e6f6e63653a636e6f6e6365:1410396afdf3ec393cb21dc654980cb6d4569a938e0543d840f3fe7dbd1ff59a082fd484e9b1f0682564bc89bca7542c5b71e44e5e70ffaedbac011db5859407
+# initialize with hashed password "test" (SHA512: salt=relay nonce + client nonce) (WeeChat ≥ 2.9)
+init password_hash=sha512:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:0a1f0172a542916bd86e0cbceebc1c38ed791f6be246120452825f0d74ef1078c79e9812de8b0ab3dfaf598b6ca14522374ec6a8653a46df3f96a6b54ac1f0f8
-# initialize with hashed password "test" (PBKDF2: SHA256, salt="nonce:cnonce", 100000 iterations) (WeeChat ≥ 2.9)
-init password_hash=pbkdf2+sha256:6e6f6e63653a636e6f6e6365:100000:a7433d4425acc40b2ed2c431e9ba084a0b651f7d5549a834ac2024ae5e5f367f
+# initialize with hashed password "test" (PBKDF2: SHA256, salt=relay nonce + client nonce, 100000 iterations) (WeeChat ≥ 2.9)
+init password_hash=pbkdf2+sha256:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:100000:ba7facc3edb89cd06ae810e29ced85980ff36de2bb596fcf513aaab626876440
----
[[command_hdata]]
diff --git a/doc/fr/weechat_relay_protocol.fr.adoc b/doc/fr/weechat_relay_protocol.fr.adoc
index 888e53312..a5ba27204 100644
--- a/doc/fr/weechat_relay_protocol.fr.adoc
+++ b/doc/fr/weechat_relay_protocol.fr.adoc
@@ -205,11 +205,11 @@ htb: {'auth_password': 'pbkdf2+sha256', 'hash_iterations': '100000', 'totp': 'on
----
Le client peut s'authentifier avec cette commande (voir la <<command_init,commande init>>),
-le sel est le nonce _relay_ + "ABCD" ("41424344" en hexadécimal), le mot de passe
-est "test" dans cet exemple :
+le sel est le nonce _relay_ + nonce client ("A4B73207F5AAE4" en hexadécimal),
+le mot de passe est "test" dans cet exemple :
----
-init password_hash=pbkdf2+sha256:85b1ee00695a5b254e14f4885538df0d41424344:100000:1d4ed89e177cc7be5a6daf6915588cd07e645cb43bc74fadb16bed8d09943a36
+init password_hash=pbkdf2+sha256:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:100000:ba7facc3edb89cd06ae810e29ced85980ff36de2bb596fcf513aaab626876440
----
[TIP]
@@ -299,14 +299,14 @@ init password=mypass,totp=123456
# initialiser et désactiver la compression
init password=mypass,compression=off
-# initialiser avec le mot de passe haché "test" (SHA256 : sel="nonce:cnonce") (WeeChat ≥ 2.9)
-init password_hash=sha256:6e6f6e63653a636e6f6e6365:763c9dca0737e1ca57eb9fc2f61f184550d8d5e8e66c0568a202abb23811771d
+# initialiser avec le mot de passe haché "test" (SHA256 : sel=nonce relay + nonce client) (WeeChat ≥ 2.9)
+init password_hash=sha256:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:2c6ed12eb0109fca3aedc03bf03d9b6e804cd60a23e1731fd17794da423e21db
-# initialiser avec le mot de passe haché "test" (SHA512 : sel="nonce:cnonce") (WeeChat ≥ 2.9)
-init password_hash=sha512:6e6f6e63653a636e6f6e6365:1410396afdf3ec393cb21dc654980cb6d4569a938e0543d840f3fe7dbd1ff59a082fd484e9b1f0682564bc89bca7542c5b71e44e5e70ffaedbac011db5859407
+# initialiser avec le mot de passe haché "test" (SHA512 : sel=nonce relay + nonce client) (WeeChat ≥ 2.9)
+init password_hash=sha512:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:0a1f0172a542916bd86e0cbceebc1c38ed791f6be246120452825f0d74ef1078c79e9812de8b0ab3dfaf598b6ca14522374ec6a8653a46df3f96a6b54ac1f0f8
-# initialiser avec le mot de passe haché "test" (PBKDF2 : SHA256, sel="nonce:cnonce", 100000 itérations) (WeeChat ≥ 2.9)
-init password_hash=pbkdf2+sha256:6e6f6e63653a636e6f6e6365:100000:a7433d4425acc40b2ed2c431e9ba084a0b651f7d5549a834ac2024ae5e5f367f
+# initialiser avec le mot de passe haché "test" (PBKDF2 : SHA256, sel=nonce relay + nonce client, 100000 itérations) (WeeChat ≥ 2.9)
+init password_hash=pbkdf2+sha256:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:100000:ba7facc3edb89cd06ae810e29ced85980ff36de2bb596fcf513aaab626876440
----
[[command_hdata]]
diff --git a/doc/ja/weechat_relay_protocol.ja.adoc b/doc/ja/weechat_relay_protocol.ja.adoc
index 9280190f6..1b45e5d2f 100644
--- a/doc/ja/weechat_relay_protocol.ja.adoc
+++ b/doc/ja/weechat_relay_protocol.ja.adoc
@@ -199,11 +199,11 @@ htb: {'auth_password': 'pbkdf2+sha256', 'hash_iterations': '100000', 'totp': 'on
----
The client can authenticate with this command (see <<command_init,init command>>),
-the salt is the _relay_ nonce + "ABCD" ("41424344" in hexadecimal), the password
-is "test" in this example:
+the salt is the _relay_ nonce + client nonce ("A4B73207F5AAE4" in hexadecimal),
+the password is "test" in this example:
----
-init password_hash=pbkdf2+sha256:85b1ee00695a5b254e14f4885538df0d41424344:100000:1d4ed89e177cc7be5a6daf6915588cd07e645cb43bc74fadb16bed8d09943a36
+init password_hash=pbkdf2+sha256:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:100000:ba7facc3edb89cd06ae810e29ced85980ff36de2bb596fcf513aaab626876440
----
[TIP]
@@ -298,14 +298,14 @@ init password=mypass,totp=123456
# 圧縮を使わない例
init password=mypass,compression=off
-# initialize with hashed password "test" (SHA256: salt="nonce:cnonce") (WeeChat バージョン 2.9 以上の場合)
-init password_hash=sha256:6e6f6e63653a636e6f6e6365:763c9dca0737e1ca57eb9fc2f61f184550d8d5e8e66c0568a202abb23811771d
+# initialize with hashed password "test" (SHA256: salt=relay nonce + client nonce) (WeeChat バージョン 2.9 以上の場合)
+init password_hash=sha256:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:2c6ed12eb0109fca3aedc03bf03d9b6e804cd60a23e1731fd17794da423e21db
-# initialize with hashed password "test" (SHA512: salt="nonce:cnonce") (WeeChat バージョン 2.9 以上の場合)
-init password_hash=sha512:6e6f6e63653a636e6f6e6365:1410396afdf3ec393cb21dc654980cb6d4569a938e0543d840f3fe7dbd1ff59a082fd484e9b1f0682564bc89bca7542c5b71e44e5e70ffaedbac011db5859407
+# initialize with hashed password "test" (SHA512: salt=relay nonce + client nonce) (WeeChat バージョン 2.9 以上の場合)
+init password_hash=sha512:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:0a1f0172a542916bd86e0cbceebc1c38ed791f6be246120452825f0d74ef1078c79e9812de8b0ab3dfaf598b6ca14522374ec6a8653a46df3f96a6b54ac1f0f8
-# initialize with hashed password "test" (PBKDF2: SHA256, salt="nonce:cnonce", 100000 iterations) (WeeChat バージョン 2.9 以上の場合)
-init password_hash=pbkdf2+sha256:6e6f6e63653a636e6f6e6365:100000:a7433d4425acc40b2ed2c431e9ba084a0b651f7d5549a834ac2024ae5e5f367f
+# initialize with hashed password "test" (PBKDF2: SHA256, salt=relay nonce + client nonce, 100000 iterations) (WeeChat バージョン 2.9 以上の場合)
+init password_hash=pbkdf2+sha256:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:100000:ba7facc3edb89cd06ae810e29ced85980ff36de2bb596fcf513aaab626876440
----
[[command_hdata]]