Signal-iOS/SignalServiceKit/protobuf
Evan Hahn 4a0141be41
Omit E164 from outgoing envelopes
[Android][0] and [Desktop][1] have already removed this field. This
follows suit.

The highlights:

- `SignalService.proto` removes some fields by making them `reserved`
- `ProtoWrappers.py` updates our code generation to support addresses
  that only have a UUID (previously, you needed both a UUID and E164
  field)
- Most everything else is removing E164s

[0]: 9c266e7995
[1]: 2b0d3cab40
2022-10-03 23:55:39 +00: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 Use "modern" proto fields instead of presentation for incoming group changes 2022-09-20 10:44:42 -07: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 Omit E164 from outgoing envelopes 2022-10-03 23:55:39 +00:00
StorageService.proto Show my story privacy settings the first time you send to my story 2022-09-27 10:06:01 -07: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