Commit Graph

25 Commits

Author SHA1 Message Date
Max Radermacher
0a695ddf90
Add ios.senderKeyMaxAge remote config 2024-10-04 15:10:03 -05:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Jordan Rose
a3fc08e2e4 Continue tolerating legacy sessions in SSKSessionStore
Rather than relying on SDSKeyValueStore returning nil when
keyed-archive data can't be decoded, do the decoding step in
SSKSessionStore, where we can explicitly allow it. Then write a test
that approximates having the old session data stored.
2024-09-24 17:04:48 -07:00
Ehren Kret
f83dff9252 delete legacy axolotl store model types
Note that this may cause some session rebuilds to occur for any
recipients in the iOS client's session store which have devices whose
session records have not been written to in over 3 years.
2024-09-23 15:01:18 -05:00
Ehren Kret
2e928eaa06 convert PreKeyRecord and SignedPreKeyRecord to swift 2024-09-23 15:01:18 -05:00
Ehren Kret
e0cb226ad8 convert SSKSignedPreKeyStore from objc to swift 2024-09-19 13:01:57 -05:00
Ehren Kret
311a9b9ce2 migrate SSKPreKeyStore from objc to swift 2024-09-18 14:29:11 -05:00
Max Radermacher
eae1ab1e12
Upgrade to SwiftProtobuf v1.28.1 2024-09-17 09:11:11 -05:00
Max Radermacher
408748b62f
Remove remnants of ObjC exceptions 2024-09-06 17:35:26 -05:00
Max Radermacher
9ec0c3fd7f
Swiftify PreKeyBundle 2024-08-23 14:50:07 -05:00
Sasha Weiss
9dfca6113e
Update to LibSignal v0.56.0 2024-08-21 16:06:13 -07:00
Ehren Kret
557d6a67cc migrate Cryptography over to swift
`srand` is not accessible in swift. Remove `srand` anyhow as anything
using `rand` for any actual randomness should be considered a bug in
need of fixing rather than viewing `srand` as an acceptable workaround.
2024-08-01 14:43:34 -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
Max Radermacher
be9b5a2995
Store which devices received an SKDM 2024-07-03 11:11:47 -05:00
Max Radermacher
f31e8bffea
Rip out SenderKeyStore’s cache 2024-07-03 11:10:40 -05:00
Max Radermacher
f3a9604cb9
Improve SKDM performance when sending many 2024-07-03 11:09:55 -05:00
Max Radermacher
f728d31f4c
Remove ObjC support from SenderKeyStore 2024-07-03 11:09:03 -05:00
Max Radermacher
961a85d9af
Squash together two Sender Key methods 2024-06-28 17:44:14 -05:00
Max Radermacher
b4e839afe4
Clean up Sender Key error reporting 2024-06-28 17:34:08 -05: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
df19b4eb73
Swiftify CallKitIdStore
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-06-13 13:59:25 -05:00
Jordan Rose
2727a70b90 Make AtomicValue's lock-sharing explicit
Also:
- Remove AtomicUInt's @objc, it's no longer used from ObjC
- Remove Codable conformances, they would implicitly use shared locks
  and weren't used in practice
2024-03-27 10:57:32 -07:00
Max Radermacher
0d8166682d
Run clang-format on SignalServiceKit/ files 2024-03-27 12:27:06 -05:00
Max Radermacher
e10faa8593
Remove src/ prefix from SignalServiceKit files 2024-03-27 12:22:52 -05:00