fix(core): change PROTOCOL_NAME in thp encryption

[no changelog]
M1nd3r/thp1
M1nd3r 2 months ago
parent 7c2b2d550f
commit c31ed2d7b5

@ -62,7 +62,7 @@ class BusyDecoder:
return computed_tag == tag
PROTOCOL_NAME = bytes("Noise_XX_25519_AESGCM_SHA256", "ascii")
PROTOCOL_NAME = b"Noise_XX_25519_AESGCM_SHA256\x00\x00\x00\x00"
IV_1 = b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
IV_2 = b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01"

Loading…
Cancel
Save