Commit Graph

9435 Commits

Author SHA1 Message Date
Matthew Chen
08befe914f Merge branch 'charlesmchen/udRefinements' into release/2.31.0 2018-10-30 16:18:51 -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
e94e4d0a90 Merge branch 'mkirk/wrap-exceptions' into release/2.31.0 2018-10-30 11:36:06 -06:00
Michael Kirk
86066a37d5 update pods for exception wrapping 2018-10-30 11:35:34 -06: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
e09a181445 SQUASHME review podfile changes 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
0d7d83f276 Update carthage version in Info.plist. 2018-10-30 10:55:41 -04:00
Matthew Chen
5535abd01b Update "sealed sender" blog post URL. 2018-10-30 10:55:30 -04:00
Matthew Chen
d24dce758a Bump build to 2.31.0.23. 2018-10-29 16:47:37 -04:00
Matthew Chen
1c6bfb4540 "Bump build to 2.31.0.18." 2018-10-29 16:43:18 -04:00
Matthew Chen
9417bdeaa0 Merge branch 'charlesmchen/networkManagerErrors' into release/2.31.0 2018-10-29 16:42:47 -04:00
Matthew Chen
a5f715eca1 Fix network manager error wrapping. 2018-10-29 16:42:33 -04:00
Matthew Chen
6e386b75c4 Merge branch 'charlesmchen/reregistrationVsProfile' into release/2.31.0 2018-10-29 16:42:03 -04:00
Matthew Chen
9fa16cc66f Fix small bug in the re-registration flow. 2018-10-29 16:41:43 -04:00
Matthew Chen
af9a264c98 Merge branch 'charlesmchen/fixUDManagerTests' into release/2.31.0 2018-10-29 16:41:19 -04:00
Matthew Chen
deafc749d1 Fix UD manager tests. 2018-10-29 16:41:02 -04:00
Michael Kirk
29ba1bd341 Merge branch 'mkirk/more-logging' into release/2.31.0 2018-10-29 13:39:41 -06:00
Michael Kirk
ccd30e0e1f more logging 2018-10-29 13:39:34 -06:00
Michael Kirk
8a98a8abbf Merge branch 'mkirk/minimize-prekey-checks' into release/2.31.0 2018-10-29 13:39:10 -06:00
Michael Kirk
e26db74fcd only check prekeys when decrypting a PKWM 2018-10-29 13:38:59 -06:00
Michael Kirk
db60083dd3 Merge branch 'mkirk/persist-devices' into release/2.31.0 2018-10-29 13:38:37 -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
Michael Kirk
ef25b9c191 Merge branch 'mkirk/fixup-test-build' into release/2.31.0 2018-10-29 13:37:45 -06:00
Michael Kirk
90500475f1 fixup searcher test 2018-10-29 12:20:27 -06:00
Michael Kirk
159c546d16 update test environment 2018-10-29 12:20:14 -06:00
Michael Kirk
af19405178 update carthage build path for tests 2018-10-29 12:19:57 -06:00
Matthew Chen
faa5561639 "Bump build to 2.31.0.17." 2018-10-26 17:33:48 -04:00
Michael Kirk
2e3a32e7dc Merge branch 'mkirk/disable-proximity' into release/2.31.0 2018-10-26 15:32:24 -06:00
Michael Kirk
6968dbab17 Update UIDevice on main thread 2018-10-26 15:32:12 -06:00
Michael Kirk
b0a6d18576 leave proximity enabled as long as CallViewController exists 2018-10-26 15:32:12 -06:00