Signal-iOS/SignalServiceKit
Michelle Linington 1788e4a4fb Fixes a crash in OWSReceiptManager
Dictionary(uniqueKeysWithValues:) will assert that the provided keys are
unique and crash if a violation occurs. The existing code in
OWSReceiptManager falsely assumes that the addresses being built are
unique.

The keys in the key value store *are* unique, but as they're mapped into
addresses, we may have learned of a high trust e164/UUID mapping since
they were inserted. As the identifiers are mapped into
SignalServiceAddresses, the e164 and UUID are mapped to the same
SignalServiceAddress.

The fix is to just wrap our address builder in a Set() so we only have
one copy for each address.
2021-08-09 21:43:06 -03:00
..
protobuf Sender key decryption failure handling 2021-07-21 22:58:51 -07:00
Resources Migrate schema to account for new PendingReceipt properties 2021-08-04 22:17:42 -07:00
src Fixes a crash in OWSReceiptManager 2021-08-09 21:43:06 -03:00
tests Fixes a crash in OWSReceiptManager 2021-08-09 21:43:06 -03:00
Utilities Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00
.clang-format
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE
README.md Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00

SignalServiceKit

SignalServiceKit is an Objective-C library for communicating with the Signal messaging service for iOS & OS X

To use SignalServiceKit via CocoaPods add the following to your Podfile

pod 'SignalServiceKit', git: 'https://github.com/signalapp/Signal-iOS.git'