Commit Graph

73 Commits

Author SHA1 Message Date
Max Radermacher
004d375338
Consolidate some logic to parse PNIs 2024-01-18 11:09:49 -06:00
Max Radermacher
eaf3013a16
Use Guarantee for MessageProcessor wait method 2024-01-17 11:57:19 -06:00
Harry
9891ceb13a
Clean up PreKeyManager to remove twenty thousand layers of abstraction 2023-12-12 13:44:00 -08:00
Max Radermacher
f19cdf2ef9
Don’t include identityKey in PUT v2/keys 2023-12-05 14:18:44 -06:00
Harry
b286715d6e
[Atomic device creation/linking 90 day timer] Delete legacy prekey rotation method and usages 2023-11-27 12:27:05 -08:00
Max Radermacher
d52082abbe
Prefer IdentityKey over typeless Data objects 2023-11-07 11:37:02 -06:00
Max Radermacher
c5c2200bd6
Fix PniDistributionParameterBuilderTest 2023-11-02 17:48:03 -05:00
Max Radermacher
600eef4bec
Replace Curve25519Kit with LibSignal 2023-10-31 14:18:22 -05:00
Max Radermacher
0233059f44
Add DB-conforming InMemoryDB type 2023-10-31 00:54:32 -05:00
Max Radermacher
c2bd3ec7d1
Handle 401s when building device messages 2023-10-30 16:18:14 -05:00
Harry
aa0e250cb7
[Death to TSAccountManager, long live TSAccountManager][9] Migrate usages of old TSAccountManager to new 2023-10-05 08:56:08 -07:00
Harry
1bb84295e6
[Death to TSAccountManager, long live TSAccountManager][1] Light refactoring to remove useless methods and such 2023-09-21 08:52:04 -07:00
Max Radermacher
fc6ff8c1f1
Replace IdentityKey alias with underlying type 2023-09-12 13:47:43 -05:00
Sasha Weiss
5c81c2f297
Unlink if a prekey request fails with invalid PNI identity key 2023-08-29 11:24:03 -07:00
Max Radermacher
434317cb02
Swiftify & protocolize OWSIdentityManager 2023-08-29 10:28:11 -05:00
Sasha Weiss
e727ae5356
Unlink a linked device if we get a PNI decryption error and keys are mismatched 2023-08-25 15:25:19 -07:00
Max Radermacher
158f209414
Remove uuid/uuidString/untypedServiceId code 2023-08-24 19:19:30 -05:00
Max Radermacher
710f4c0831
[ServiceId] Update everything that's left 2023-08-24 19:18:33 -05:00
Harry
04e0c52f3d
Don't fetch prekey counts unless we are actually refreshing them 2023-08-23 11:38:17 -07:00
Sasha Weiss
831dfb07b9
[ServiceId] Bits and bobs 2023-08-21 18:10:10 -07:00
Max Radermacher
9b86028863
[ServiceId] Update registration code 2023-08-21 17:29:37 -05:00
Sasha Weiss
06e1a416cc
Remove the "Any...Finder" pattern from a bunch of types 2023-08-21 10:27:07 -07:00
Max Radermacher
b103f3d939
[ServiceId] Update outgoing messages 2023-08-17 11:09:00 -05:00
Sasha Weiss
38077135df
[ServiceId] SignalAccount and friends 2023-08-16 16:33:14 -07:00
Sasha Weiss
bcc5f50bff
[ServiceId] LearnMyOwnPniManager 2023-08-16 15:28:50 -05:00
Sasha Weiss
91257a3702
Include newE164 in outgoing PniDistributionSyncMessages 2023-08-15 17:53:56 -07:00
Pete Walters
0818e359d5
Update PniHelloWorld to add PQ keys 2023-08-15 15:37:20 -05:00
Sasha Weiss
841803f1a3
[ServiceId] PniHelloWorld and ChangeNumberPni 2023-08-14 16:52:19 -07:00
Harry
c5d92b039d
Atomic device linking 2023-08-10 15:21:35 -07:00
Harry
d14e4a34b9
Atomic account creation pt 2: Add prekey fields and enable atomic account creation 2023-08-09 16:24:31 -07:00
Harry
f9cecdfb2b
Split apart PreKeyTask to allow independently generating, uploading, and persisting prekeys 2023-08-09 16:23:32 -07:00
Harry
6ab13928b9
Delete legacy prekey code 2023-08-09 16:22:29 -07:00
Pete Walters
bdee76c880
Update PreKeyTask API to reflect PQ 2023-08-03 09:14:39 -05:00
Max Radermacher
de902f37af
[ServiceId] Update registration 2023-08-02 16:53:51 -05:00
Max Radermacher
07fc0b5706 [ServiceId] Update LocalIdentifiers 2023-08-01 14:36:06 -05:00
Max Radermacher
9a9a88485e
Use ServiceId internally in SignalServiceAddress 2023-08-01 14:17:35 -05:00
Pete Walters
129ba49903
Consolidate PreKey operations into a single codepath 2023-08-01 10:32:32 -05:00
Pete Walters
4356b505b2
Migrate TSPreKeyManager to Swift 2023-07-27 21:02:33 -05:00
Pete Walters
656dc6d654
Protocolize SignalProtocolStore 2023-07-27 10:02:28 -05:00
Max Radermacher
17a2fb4093
Rename ServiceId -> UntypedServiceId 2023-07-26 16:56:19 -05:00
Max Radermacher
b593cba603
Adopt randomForTesting/constantForTesting 2023-07-26 16:29:14 -05:00
Max Radermacher
f4d77dd405 Fix flaky testBuildParametersWithInvalidDevice 2023-07-17 17:55:01 -05:00
Max Radermacher
017a3020cd Swiftify some message sending logic 2023-06-23 12:44:06 -05:00
Sasha Weiss
555abee78b
Add "PNI Hello World" 2023-05-22 16:56:58 -07:00
Max Radermacher
40338400be
Re-add NSCoding conformance to SignalAccount 2023-05-12 00:40:02 -07:00
Marissa Le Coz
4be334c5ad
Migrate SignalAccount to use SDSCodableModel 2023-05-11 17:34:15 -04:00
Sasha Weiss
4b21e3956b
Fetch our own PNI if unknown 2023-05-10 16:51:50 -07:00
Max Radermacher
7d0d59f451
Support contact merges for yourself 2023-04-20 14:11:51 -07:00
Max Radermacher
aaf1d0e0b6
Clean up SignalRecipient create & fetch APIs 2023-03-29 18:40:05 -07:00
Max Radermacher
59593c3c97
Add ServiceId & E164 types
* Use the new E164 type in a few places
* Use the new ServiceId type in a few places
2023-02-21 23:13:46 -08:00