Commit Graph

95 Commits

Author SHA1 Message Date
Ehren Kret
8db47c5f62 inline Cryptography.generateRandomBytes 2024-08-01 15:33:26 -05:00
Max Radermacher
4b15e46318
Rename AccountId → RecipientUniqueId 2024-07-11 10:38:21 -05:00
Adam Sharp
34a8cf2bda
Rename owsAssert to owsPrecondition 2024-07-09 10:42:56 -04:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Max Radermacher
354dc28451
Fix flaky PniDistributionParameterBuilderTest 2024-05-16 13:21:44 -05:00
Sasha Weiss
6ff76dd7e6
Do away with some ObjC test infra 2024-05-06 09:57:21 -07:00
Max Radermacher
dd42e10e88
Smoosh together various places that fetch profiles 2024-04-23 15:22:37 -05:00
Elaine
659e897dc9
Allow nicknames to be saved and displayed 2024-04-05 09:35:57 -06:00
Max Radermacher
fd27c212d5
Remove NSCoding conformance from SignalAccount 2024-04-02 13:52:16 -05:00
Max Radermacher
4cdae7175f
Stop using NSKeyedArchiver in SignalAccounts 2024-04-02 13:48:57 -05:00
Max Radermacher
ee490fbdf4
Standardize Contact nullability for primary/linked 2024-04-02 13:38:55 -05:00
Max Radermacher
c06d92f163
Split Contact & SystemContact 2024-04-02 13:37:36 -05:00
Max Radermacher
638e4f9421
Simplify & stabilize system contact parsing 2024-04-02 12:54:03 -05:00
Max Radermacher
03288e8be0
Introduce DisplayName for rendering names 2024-02-27 18:21:30 -06:00
Max Radermacher
ded1d2f5b8
Assume everybody is PNI-capable 2024-02-13 14:53:39 -06:00
Max Radermacher
3b18f83b68
Clean up PNI Hello World and PNI first-look paths 2024-02-13 12:07:47 -06:00
Max Radermacher
ee1986763b
Remove notion of “current” signed pre key 2024-02-13 11:49:39 -06:00
Max Radermacher
9312c78c88
Fix and consolidate pre key id generation code 2024-02-12 14:43:51 -06:00
Max Radermacher
e081f5ff55
Rip out notion of “accepted” signed pre keys 2024-02-12 14:41:54 -06:00
Max Radermacher
7939dab86b
Drop ignoreCache SignalServiceAddress parameter 2024-02-09 12:08:46 -06:00
Max Radermacher
ec72de5663
Use phone numbers in SignalAccountReadCache 2024-02-07 17:31:14 -06:00
Max Radermacher
0cf9c659aa
Protocolize markAsRegistered/markAsUnregistered 2024-02-01 11:14:45 -06:00
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