summaryrefslogtreecommitdiff
path: root/bip-0151.mediawiki
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-08-07 22:24:37 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2016-08-07 22:24:37 +0200
commit55163e45460d8aab14950724fe7e1b4260dbbada (patch)
tree23cabe803f9b0a01f4c8cc32351d2596ccfb4fbd /bip-0151.mediawiki
parent0c8256f764b895ffe2029e95a7e0166e6b544b32 (diff)
[bip151] slightly increase robustness of the re-keying
Diffstat (limited to 'bip-0151.mediawiki')
-rw-r--r--bip-0151.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0151.mediawiki b/bip-0151.mediawiki
index 11f9614..cf221f2 100644
--- a/bip-0151.mediawiki
+++ b/bip-0151.mediawiki
@@ -148,7 +148,7 @@ If more data is present, another message must be deserialized. There is no expli
A responding peer can inform the requesting peer over a re-keying with a <code>encack</code> message containing 33byte of zeros to indicate that all encrypted message following after this <code>encack</code> message will be encrypted with ''the next symmetric cipher key''.
-The new symmetric cipher key will be calculated by <code>SHA256(SHA256(old_symetric_cipher_key))</code>.
+The new symmetric cipher key will be calculated by <code>SHA256(SHA256(session_id || old_symmetric_cipher_key))</code>.
Re-Keying interval is a peer policy with a minimum timespan of 10 seconds.