2023-01-03 19:55:46 +00:00
|
|
|
// Copyright 2014 Signal Messenger, LLC
|
2021-07-20 20:18:35 +00:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2018-02-15 19:59:46 +00:00
|
|
|
package signalservice;
|
2014-07-26 05:31:41 +00:00
|
|
|
|
2015-01-19 20:23:25 +00:00
|
|
|
message ProvisioningUuid {
|
|
|
|
optional string uuid = 1;
|
|
|
|
}
|
|
|
|
|
2015-01-23 21:19:29 +00:00
|
|
|
|
|
|
|
message ProvisionEnvelope {
|
|
|
|
optional bytes publicKey = 1;
|
|
|
|
optional bytes body = 2; // Encrypted ProvisionMessage
|
2014-07-26 05:31:41 +00:00
|
|
|
}
|
|
|
|
|
2015-01-23 21:19:29 +00:00
|
|
|
message ProvisionMessage {
|
2022-03-01 23:01:21 +00:00
|
|
|
optional bytes aciIdentityKeyPublic = 1;
|
|
|
|
optional bytes aciIdentityKeyPrivate = 2;
|
|
|
|
optional bytes pniIdentityKeyPublic = 11;
|
|
|
|
optional bytes pniIdentityKeyPrivate = 12;
|
|
|
|
optional string aci = 8;
|
|
|
|
optional string pni = 10;
|
|
|
|
optional string number = 3;
|
|
|
|
optional string provisioningCode = 4;
|
|
|
|
optional string userAgent = 5;
|
|
|
|
optional bytes profileKey = 6;
|
|
|
|
optional bool readReceipts = 7;
|
2020-03-05 21:14:58 +00:00
|
|
|
optional uint32 ProvisioningVersion = 9;
|
2023-10-30 20:31:39 +00:00
|
|
|
optional bytes masterKey = 13;
|
2024-10-18 17:15:03 +00:00
|
|
|
optional bytes ephemeralBackupKey = 14; // 32 bytes
|
2024-10-31 17:01:03 +00:00
|
|
|
optional string accountEntropyPool = 15;
|
|
|
|
optional bytes mediaRootBackupKey = 16; // 32-bytes
|
2014-07-26 05:31:41 +00:00
|
|
|
}
|
2020-03-05 21:14:58 +00:00
|
|
|
|
|
|
|
enum ProvisioningVersion {
|
|
|
|
option allow_alias = true;
|
|
|
|
|
|
|
|
INITIAL = 0;
|
|
|
|
TABLET_SUPPORT = 1;
|
|
|
|
CURRENT = 1;
|
2021-07-20 20:18:35 +00:00
|
|
|
}
|