From 5de6f167ced9d95551075ef64d2b41bd85af2097 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Wed, 16 Jun 2021 12:22:14 +0000 Subject: [PATCH] Create Transport Key Agreement Client --- Transport-Key-Agreement-Client.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Transport-Key-Agreement-Client.md diff --git a/Transport-Key-Agreement-Client.md b/Transport-Key-Agreement-Client.md new file mode 100644 index 0000000..477a6ab --- /dev/null +++ b/Transport-Key-Agreement-Client.md @@ -0,0 +1,7 @@ +A sync client to establish keys for newly added transports. + +It establishes transport keys with each contact for any transports that were added more recently than the contact was added. + +The `ACTIVATED` state lets us know that we already completed a session, so we don't create a new session if we receive another key message from the contact. Otherwise a malicious contact could cause us to create an unlimited number of key sets and run out of memory. + +TODO document the rest including state machine diagram \ No newline at end of file