1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

todo: make big.Ints part of channelData

This commit is contained in:
Zack Scholl 2018-06-29 08:01:21 -07:00
parent f64427f70d
commit 283bf704a2
4 changed files with 31 additions and 2 deletions

View file

@ -97,8 +97,11 @@ croc.Receive()
*Initialize*
- Requests to join.
*Does X not exist?*
- Generates X from pw.
- Sender sends X to relay.
- Update relay with X.
*Is Y and Bcrypt(k_B) available?*
@ -106,7 +109,7 @@ croc.Receive()
- Check that Bcrypt(k_B) comes from k_A. Abort here if it is incorrect.
- Encrypts data using *k_A*.
- Connect to TCP ports of Relay.
- Send the Relay authentication *Bcrypt(k_A)*.
- Update relay with *Bcrypt(k_A)*.
*Are ports stapled?*