doc: use real nonce values in handshake/init examples (relay protocol)
This commit is contained in:
parent
94c6233100
commit
86a941e28e
@ -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]]
|
||||
|
@ -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]]
|
||||
|
@ -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]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user