Signal-iOS/SignalServiceKit/protobuf
Jordan Rose a43f005d8d Add initial support for the PniIdentity sync message
This communicates the PNI identity key to existing linked devices,
which is important for linked devices to initially learn about a PNI,
or for the change of identity that comes with changing your number
(and therefore your PNI). The exact contents of this message will
probably change going forward, but here's a baseline to work off of.
2022-03-23 11:48:08 -07:00
..
ContactDiscovery.proto Generate CDS protos 2022-02-22 12:41:04 -08:00
DeviceTransfer.proto Device Transfer Service 2020-05-18 20:48:08 -07:00
Fingerprint.proto Respond to CR. 2018-08-03 14:03:02 -04:00
Groups.proto Lazily deserialize individual group changes 2022-01-20 12:00:50 -08:00
KeyBackup.proto Proto changes 2019-10-14 14:51:04 -07:00
Makefile Generate CDS protos 2022-02-22 12:41:04 -08:00
Provisioning.proto Add PNI-related fields to the ProvisioningMessage proto 2022-03-18 13:03:55 -07:00
README.md Fix typos 2022-03-18 11:31:06 -07:00
SessionRecord.proto SSK: Fix session migration for absent pre-key IDs 2021-01-28 12:03:50 -08:00
SignalIOS.proto Remove @required from proto enums. 2019-05-29 11:05:01 -04:00
SignalService.proto Add initial support for the PniIdentity sync message 2022-03-23 11:48:08 -07:00
StorageService.proto Sync preferred reactions through storage service 2022-01-03 15:35:37 -08:00
WebSocketResources.proto Remove @required from proto enums. 2019-05-29 11:05:01 -04:00

SignalServiceKit Protobufs

These protobuf definitions are copied from Signal-Android, but modified to match some iOS conventions.

Prerequisites

Install Apple's swift-protobuf (not the similarly named protobuf-swift)

brew install swift-protobuf

This should install an up to date protobuf package as a dependency. Note that since we use the legacy proto2 format, we need to specify this in our .proto files.

syntax = "proto2";

Building Protobuf

cd ~/src/WhisperSystems/SignalServiceKit/protobuf
make