Matthew Chen
c9c9d35d19
Discard receipts for unregistered users.
2018-11-09 13:08:56 -05:00
Matthew Chen
2b5a79f123
Cycle websocket after learning of new linked devices via 409/410.
2018-11-07 16:19:48 -05:00
Matthew Chen
f6322cb087
Fix logging in request maker.
2018-11-07 16:18:03 -05:00
Matthew Chen
47022377c2
Respond to CR.
2018-11-07 16:09:52 -05:00
Matthew Chen
954f32b775
Never use UD for sync messages.
2018-11-07 15:24:11 -05:00
Matthew Chen
8ff8f17b21
Never use UD for sync messages.
2018-11-07 14:16:51 -05:00
Matthew Chen
3a46a344ac
Never use UD for sync messages.
2018-11-07 14:04:07 -05:00
Matthew Chen
1c21c31c2b
Fix failed reloads in SignalRecipient.
2018-11-05 08:43:16 -05:00
Matthew Chen
3eab5b82cc
Respond to CR.
2018-11-01 16:06:03 -04:00
Matthew Chen
3011175cef
Fix "413 on prekey fetch" errors.
2018-11-01 15:59:11 -04:00
Matthew Chen
e89d8b40d7
Fix "413 on prekey fetch" errors.
2018-11-01 15:59:11 -04:00
Matthew Chen
3cc1988f20
Fix "413 on prekey fetch" errors.
2018-11-01 15:59:11 -04:00
Matthew Chen
97e234f785
Fix "413 on prekey fetch" errors.
2018-11-01 15:59:11 -04:00
Matthew Chen
3729398507
Request profile fetches on main thread.
2018-10-31 15:01:33 -04:00
Matthew Chen
698e48f2d8
Respond to security review.
2018-10-30 16:18:23 -04:00
Matthew Chen
7d8b20d091
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Matthew Chen
44f6774396
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Matthew Chen
c28d131f97
Respond to CR.
2018-10-30 16:18:22 -04:00
Matthew Chen
e11d43d1f8
Respond to CR.
2018-10-30 16:18:22 -04:00
Matthew Chen
ee87f1b489
Fix test breakage.
2018-10-30 16:18:22 -04:00
Matthew Chen
c5f4711595
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Matthew Chen
2541be1619
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Michael Kirk
1dea927a3f
Remove some usage of throwswrapped_ in udmanager since we don't need to
...
propogate the wrapped exception anyway.
2018-10-30 11:35:34 -06:00
Michael Kirk
3d9cd4f4ed
CR: comments and code clarity
2018-10-30 11:35:34 -06:00
Michael Kirk
3bef78335d
find -E . -type f -regex ".*\.(m|h|swift)" -exec sed -i "" -e "s/trywrapped_/throwswrapped_/g" {} \;
2018-10-30 11:35:34 -06:00
Michael Kirk
cb9aa6304c
find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \;
2018-10-30 11:35:34 -06:00
Michael Kirk
8544c86427
Swift Exception wrap HKDFKit
2018-10-30 11:35:34 -06:00
Michael Kirk
c4f8975308
Swift Exception wrap Curve25519
2018-10-30 11:35:34 -06:00
Michael Kirk
c686e766b1
Exception audit, fail directly where intended
2018-10-30 11:35:34 -06:00
Michael Kirk
9d2731c9b8
exception auditing OWSRaiseException
2018-10-30 11:35:34 -06:00
Michael Kirk
3a6aafc454
Swift Exception wrap NSData+keyVersionByte
2018-10-30 11:35:34 -06:00
Michael Kirk
5f5ec9b82a
ExceptionWrap loadPreKey
2018-10-30 11:35:34 -06:00
Michael Kirk
b622b3a020
Exception wrap TSDerivedSecrets for Swift
2018-10-30 11:35:34 -06:00
Michael Kirk
8d823193f1
Exception wrap WhisperMessage for Swift
2018-10-30 11:35:34 -06:00
Michael Kirk
1482c600b4
Exception wrap PreKeyWhisperMessage for Swift
2018-10-30 11:35:34 -06:00
Michael Kirk
60769a3d17
Exception wrap SessionCipher for Swift
2018-10-30 11:35:34 -06:00
Matthew Chen
a5f715eca1
Fix network manager error wrapping.
2018-10-29 16:42:33 -04:00
Matthew Chen
deafc749d1
Fix UD manager tests.
2018-10-29 16:41:02 -04:00
Michael Kirk
ccd30e0e1f
more logging
2018-10-29 13:39:34 -06:00
Michael Kirk
e26db74fcd
only check prekeys when decrypting a PKWM
2018-10-29 13:38:59 -06:00
Michael Kirk
af3102441d
ensure device updates are persisted
...
Previously we'd skip saves when latest was the same instance as self, which was
*at least* occurring during the 404 handler for prekey fetching while message
sending.
In practice this was cached, so it would be one wasted request per recipient
per launch.
2018-10-29 13:38:25 -06:00
Matthew Chen
33f0a32e59
Improve UD logging.
2018-10-26 17:21:49 -04:00
Matthew Chen
302da66017
Fix UD access logic.
2018-10-26 17:21:23 -04:00
Matthew Chen
737f64b761
Improve UD logging.
2018-10-26 16:09:20 -04:00
Matthew Chen
ad59b2f6d2
Move "ud access for sends" logic into UD manager.
2018-10-26 16:09:20 -04:00
Matthew Chen
7de289f6be
Remove SSKUnidentifiedAccess.
2018-10-26 16:09:20 -04:00
Matthew Chen
dbe635f721
Try random UD access keys in profile gets.
2018-10-26 16:09:20 -04:00
Matthew Chen
70f274598c
Avoid deadlocks in contact manager.
2018-10-26 14:19:04 -04:00
Matthew Chen
f26241ebd0
Avoid deadlocks in contact manager.
2018-10-26 14:10:58 -04:00
Matthew Chen
278c61fd16
Remove assert around group avatar updates.
2018-10-24 17:11:48 -04:00