From ed83ebb3147ed2e261a709799e12d0eb43200bf3 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Thu, 20 Oct 2016 12:43:29 +0200 Subject: Shared secret key is now distributed to the other nodes. --- libcmix-protobuf/cmix.proto | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'libcmix-protobuf/cmix.proto') diff --git a/libcmix-protobuf/cmix.proto b/libcmix-protobuf/cmix.proto index 1074613..b57c86f 100644 --- a/libcmix-protobuf/cmix.proto +++ b/libcmix-protobuf/cmix.proto @@ -4,6 +4,10 @@ message Initialization { required bytes public_share = 1; } +message SecretKey { + required bytes secret_key = 1; +} + message ImANode { } @@ -23,9 +27,10 @@ message KeyExchange { message CMixMessage { oneof contents { Initialization initialization = 1; - ImANode imanode = 2; - ImAClient imaclient = 3; - Bye bye = 4; - KeyExchange keyexchange = 5; + SecretKey secretkey = 2; + ImANode imanode = 3; + ImAClient imaclient = 4; + Bye bye = 5; + KeyExchange keyexchange = 6; } } -- cgit v1.2.3-70-g09d2