Support encrypted linked device names.

This commit is contained in:
Greyson Parrelli
2018-12-19 08:09:22 -08:00
parent 4ab02f5b9c
commit c6f3a66cad
7 changed files with 753 additions and 24 deletions

15
protobuf/DeviceName.proto Normal file
View File

@@ -0,0 +1,15 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package signalservice;
option java_package = "org.thoughtcrime.securesms.devicelist";
option java_outer_classname = "DeviceNameProtos";
message DeviceName {
optional bytes ephemeralPublic = 1;
optional bytes syntheticIv = 2;
optional bytes ciphertext = 3;
}

View File

@@ -1,3 +1,3 @@
all:
protoc --java_out=../src/ WebRtcData.proto Backups.proto
protoc --java_out=../src/ WebRtcData.proto Backups.proto DeviceName.proto