From 9cb6dd97697fe62e1c95ec2e6b70c4636d5632ee Mon Sep 17 00:00:00 2001 From: str4d Date: Sun, 2 Jul 2017 12:07:31 +0000 Subject: [PATCH] Fix bug in NTCP 2 proposal (thanks David Fifield!) --- i2p2www/spec/proposals/111-ntcp-2.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/i2p2www/spec/proposals/111-ntcp-2.rst b/i2p2www/spec/proposals/111-ntcp-2.rst index 59af9d9a..ba3a71d5 100644 --- a/i2p2www/spec/proposals/111-ntcp-2.rst +++ b/i2p2www/spec/proposals/111-ntcp-2.rst @@ -279,13 +279,12 @@ Alice Bob X --------------------------------> <-----------------Y, E_K(S_B(X, Y)) - E_K(S_B(X, Y))--------------------> + E_K(S_A(X, Y))--------------------> {% endhighlight %} -where ``K = KDF(X^y) = KDF(Y^x)`` - -KDF is assumed to be a key derivation function, the choice of which is in -principle arbitrary. +where ``S_J(M)`` is the signature of ``M`` by party ``J``, and the session key +is ``K = KDF(X^y) = KDF(Y^x)``. KDF is assumed to be a key derivation function, +the choice of which is in principle arbitrary. Some notes on the above protocol, which are also discussed in [STS]_ are listed below: