Signal-iOS/SignalServiceKit/src
Jordan Rose 5ecb9519b9 Refresh PNI pre-keys along with ACI pre-keys
Pre-keys are refreshed at regular (throttled) intervals, but the
"refresh" operation will only actually upload new pre-keys if the
server says we're running low. In addition, after the "refresh",
there's a "rotation" operation for the signed pre-key if the current
one is more than two days old. This only runs if the refresh was
skipped, since uploading new one-time pre-keys is already an
opportunity to rotate the signed pre-key (and it's worth doing so,
since pre-keys running low can indicate high traffic).

None of this has changed. However, we can now do this for both ACI and
PNI pre-keys. This reworked +[TSPreKeyManager
checkPreKeysWithShouldThrottle:] quite a bit to declare the proper
operation dependencies, which isn't *strictly* necessary because the
queue they're executed on is already limited to a
maxConcurrentOperationCount of 1. We could remove that at this point
with proper use of "barrier" operations, but since all the operations
are hitting the server and account updates have to be serialized on
*that* end, there doesn't seem to be much of a benefit.
2022-04-07 14:06:27 -07:00
..
Account Refresh PNI pre-keys along with ACI pre-keys 2022-04-07 14:06:27 -07:00
Contacts Add index for story reply counts 2022-03-31 01:52:54 -07:00
Devices Add support for incoming reaction story replies 2022-03-31 00:34:33 -07:00
groups Render story reply count and indicator 2022-03-31 00:34:32 -07:00
Messages Refresh PNI pre-keys along with ACI pre-keys 2022-04-07 14:06:27 -07:00
Network Refresh PNI pre-keys along with ACI pre-keys 2022-04-07 14:06:27 -07:00
Payments Update to LibSignalClient v0.15.0 2022-03-24 11:55:45 -07:00
Protocols Check if a user is stories capable when sending group replies 2022-03-31 00:37:56 -07:00
Protos Add initial support for the PniIdentity sync message 2022-03-23 11:48:08 -07:00
Remote Attestation Update to LibSignalClient v0.15.0 2022-03-24 11:55:45 -07:00
Security More Python 3 script fixes 2022-03-24 10:28:27 -05:00
Storage TSPreKeyManager: check for PNI signed pre-key upload failure too 2022-04-07 10:23:39 -07:00
TestUtils Refresh PNI pre-keys along with ACI pre-keys 2022-04-07 14:06:27 -07:00
Util "Feature flags for .qa." 2022-04-07 14:53:12 -05:00
SignalServiceKit.h Convert TSMention to SDSCodableModel 2022-03-16 18:07:38 -07:00
SSKEnvironment.h Support two SignalProtocolStores in SSKEnvironment 2022-03-16 14:31:06 -07:00
SSKEnvironment.m Support two SignalProtocolStores in SSKEnvironment 2022-03-16 14:31:06 -07:00
TSConstants.swift Add support for staging captcha URLs 2022-03-04 15:41:21 -08:00
TSPrefix.h Change phone number. 2021-11-19 14:28:18 -03:00