Add V3 support for KeyExchangeMessage case.

1) V3 KeyExchangeMessages can now contain signatures and
   verification tags.
This commit is contained in:
Moxie Marlinspike
2014-07-08 19:54:07 -07:00
parent 77ff9cece8
commit 64b40df15b
5 changed files with 310 additions and 101 deletions

View File

@@ -21,8 +21,10 @@ message PreKeyWhisperMessage {
}
message KeyExchangeMessage {
optional uint32 id = 1;
optional bytes baseKey = 2;
optional bytes ephemeralKey = 3;
optional bytes identityKey = 4;
optional uint32 id = 1;
optional bytes baseKey = 2;
optional bytes ephemeralKey = 3;
optional bytes identityKey = 4;
optional bytes baseKeySignature = 5;
optional bytes verification = 6;
}