git ssb

3+

cel / ssb-server-wiki



Commit 6b1b490b01eb3d08958fffea2d79baaaf6806ada

Updated secure private channels: the good, the bad, and the ugly (markdown)

Dominic Tarr committed on 4/22/2015, 10:36:10 AM
Parent: 58b62259f8207b22287c25a885f0e04f8825df2c

Files changed

secure-private-channels:-the-good,-the-bad,-and-the-ugly.mdchanged
secure-private-channels:-the-good,-the-bad,-and-the-ugly.mdView
@@ -11,9 +11,9 @@
1111 I was considering putting authentication inside of this protocol but I am now re-evaluating that.
1212
1313 ### dramatization of private stream
1414
15-alice and bob meet in a dark alleyway
15+Alice and Bob meet in a dark alleyway
1616
1717 Alice & Bob (simultaniously) passes each other a secret note, also with random number written on outside.
1818
1919 > Alice and Bob now combine their secret, with the secret they received and the random numbers,
@@ -117,16 +117,19 @@
117117 CurveCP uses Boxing as the only primitive. A box is encrypted to a recipient key, and signed by the sender. I think the signature is inside the box, so that only the recipient can open and verify.
118118
119119 ### Dramatization of CurvesCP handshake
120120
121-Alice generates a temporary identity Andy
121+Alice generates a temporary identity Andy.
122+
122123 Alice says: "Hi call me Andy" and Boxes a message from Andy (that is all zeros)
123124 > Alice sends her temporary identity (Andy) to Bob.
124125 > And a message of zeros boxed by Andy.
125126 > this is so that her message is not longer than bobs (we'll ignore this for now)
126127
127-Bob generates a temporary identity Betty
128-Bob boxes a message to Andy: hi call me Betty, also please remember this code word: c00k13z
128+Bob generates a temporary identity Betty.
129+
130+Bob boxes a message to Andy: "hi call me Betty, also please remember this code word: c00k13z"
131+
129132 > Bob sends his temporary identity to Alices temporary identity.
130133 > Bob does not know who Alice is yet, but he knows that Alice knows who he is,
131134 > (otherwise he would not have been able to decrypt her message!)
132135 > so he boxes it as Bob.
@@ -135,12 +138,13 @@
135138 > because he is worried about people wasting his time (Denial of Service attacks)
136139
137140 Alice now knows that she is talking to bob, and that bob knows she knows this.
138141
139-Alice boxes Andy's id to Bob, and then Andy boxes _that box_ to Betty.
142+Alice boxes Andy's id to Bob, and then Andy boxes _that box_ to Betty, then sends it back, along with the cookie.
140143 > Bob can now unpack Andy's box (as Betty), and then finds a box from Alice inside that is addressed to Bob, containing Andy's key. Now Bob knows he is talking to Alice.
141144
142-Bob and Alice now know who they are talking to, (although they will continue to converse as Andy and Betty instead, sneaky!)
145+Bob and Alice now know who they are talking to,
146+(although they will continue to converse as Andy and Betty instead, sneaky!)
143147
144148 From now on, they just box messages as Andy and Betty,
145149 except that Andy includes Andy's pubkey along with the box.
146150

Built with git-ssb-web