aboutsummaryrefslogtreecommitdiff
path: root/libcmix-protobuf/cmix.proto
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-10-20 12:43:29 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-10-20 12:43:29 +0200
commited83ebb3147ed2e261a709799e12d0eb43200bf3 (patch)
tree6a8c4f75de8e06e2e8254aec0ec0cba7a8eca4b8 /libcmix-protobuf/cmix.proto
parent6ecb3fc69ddafc4aeb18397555ac7e9cb2f7a4d9 (diff)
downloadcmix-ed83ebb3147ed2e261a709799e12d0eb43200bf3.tar.gz
cmix-ed83ebb3147ed2e261a709799e12d0eb43200bf3.tar.bz2
cmix-ed83ebb3147ed2e261a709799e12d0eb43200bf3.zip
Shared secret key is now distributed to the other nodes.
Diffstat (limited to 'libcmix-protobuf/cmix.proto')
-rw-r--r--libcmix-protobuf/cmix.proto13
1 files changed, 9 insertions, 4 deletions
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;
}
}