Commit graph

162 commits

Author SHA1 Message Date
Jesse Squires 6dc74ddcaf Fix some project warnings + other fixes
- Prefer checking `.isEmpty` rather than `.count == 0` for Swift collections (can be more optimal)
- Avoid comparing `BOOL` explicitly to `NO` (considered bad practice since `BOOL` is a `signed char`)
- Specify unused `SGX_FLAGS` as `__unused` to silence warnings
2018-07-31 09:48:58 -06:00
Matthew Chen 4a4edc68e7 Clean up data. 2018-07-26 17:20:11 -06:00
Michael Kirk 54afa2163e rename token -> password 2018-07-26 14:54:39 -04:00
Matthew Chen 8c4b34aa55 Revert "rename token -> password"
This reverts commit c96d219c942a86fc84cbd1ce22835a83ce9187c9.
2018-07-26 14:48:27 -04:00
Matthew Chen 8e18f40572 Respond to CR. 2018-07-26 14:48:27 -04:00
Matthew Chen 3cac5bbfee Respond to CR. 2018-07-26 14:48:27 -04:00
Matthew Chen 8d1011a1fc Verify certificate subject. 2018-07-26 14:48:27 -04:00
Matthew Chen aef881cad3 Verify certificate subject. 2018-07-26 14:48:27 -04:00
Michael Kirk 5e2dc18931 rename token -> password 2018-07-26 11:58:26 -06:00
Michael Kirk 6d46ed0e3f No change in behavior: move class down 2018-07-26 11:55:00 -06:00
Michael Kirk 2e38fa145c Unbatch legacy contact requests
// FREEBIE
2018-07-26 11:55:00 -06:00
Matthew Chen 0518b335d8 Refine recipient device updates. 2018-07-26 09:22:40 -04:00
Michael Kirk bae2e8649d Dry up Parameter parsing logic 2018-07-25 15:35:30 -06:00
Michael Kirk f002f89f2c Update retryable
Per Jeff, don't handle CDS requests yet.
2018-07-24 10:13:37 -06:00
Michael Kirk 3507367a90 Don't report feedback for HTTP errors.
// FREEBIE
2018-07-24 10:03:47 -06:00
Matthew Chen 5530b8d701 Respond to CR. 2018-07-23 17:13:01 -04:00
Matthew Chen 7a898f5e99 Fix NPE using mock for unknown database objects. 2018-07-23 16:53:02 -04:00
Matthew Chen 2c973782c4 Fix NPE using mock for unknown database objects. 2018-07-23 16:52:00 -04:00
Matthew Chen 723691400f Fix NPE using mock for unknown database objects. 2018-07-23 16:50:12 -04:00
Michael Kirk 558b3bd245 Report contact discovery feedback 2018-07-23 13:06:40 -06:00
Michael Kirk b42f528713 Integrate with new contact discovery endpoint
Also:
* use system cookie parsing
* add AESGCM additional authenticated data parameter

// FREEBIE
2018-07-23 12:21:54 -06:00
Michael Kirk a611625691 fixup lookup threading 2018-07-23 12:20:35 -06:00
Michael Kirk dedfea78da callback handlers for remote attestation 2018-07-23 12:20:35 -06:00
Matthew Chen 28f021ba55 Pull byte parser out into separate source file. 2018-07-23 14:00:17 -04:00
Matthew Chen 906d0b01a4 Fix build break. 2018-07-23 13:47:03 -04:00
Matthew Chen 304240f263 Fix concurrency in contacts updater. 2018-07-23 13:26:19 -04:00
Matthew Chen 9904443fcf Fix concurrency in contacts updater. 2018-07-23 13:26:19 -04:00
Matthew Chen 797bd9be38 Respond to CR. 2018-07-23 12:59:55 -04:00
Matthew Chen 81a940a27f Clean up ahead of CR. 2018-07-23 12:59:55 -04:00
Matthew Chen 7acf9b15e1 Finish signature verification. 2018-07-23 12:59:55 -04:00
Matthew Chen 7476ef123d Remote attestation. 2018-07-23 12:59:55 -04:00
Michael Kirk ab1190222b Fix overzealous failure when user has no Signal contacts
// FREEBIE
2018-07-20 09:55:40 -06:00
Matthew Chen 75c3b385b2 Respond to CR. 2018-07-20 10:32:15 -04:00
Matthew Chen f2fdb96931 Clean up ahead of PR. 2018-07-20 09:56:37 -04:00
Matthew Chen 460f7344ad Remote attestation. 2018-07-20 09:55:18 -04:00
Matthew Chen 6686ecb125 Remote attestation. 2018-07-20 09:55:17 -04:00
Matthew Chen d7bb2b7505 Remote attestation. 2018-07-20 09:55:17 -04:00
Matthew Chen f3ba6d4c27 Remote attestation. 2018-07-20 09:55:17 -04:00
Michael Kirk eb4c62593b Cancel quickly if dependent operation fails 2018-07-19 13:40:30 -06:00
Michael Kirk 90214ae578 make contact intersection queue serial 2018-07-19 13:40:30 -06:00
Michael Kirk 0db339b849 fixup double failure 2018-07-19 13:40:30 -06:00
Michael Kirk 9293eb96f7 code re-org 2018-07-19 13:40:30 -06:00
Michael Kirk 75248b5dc7 Stub out feedback operation
// FREEBIE
2018-07-19 13:40:30 -06:00
Michael Kirk b7288b2565 Move contact intersection into batched operation
// FREEBIE
2018-07-19 13:40:30 -06:00
Matthew Chen 39c7fd9f15 Respond to CR. 2018-07-19 11:31:04 -04:00
Matthew Chen 3aa28aee36 Respond to CR. 2018-07-18 15:09:29 -04:00
Matthew Chen 03e5d2973b Delta contact intersections. 2018-07-18 14:27:40 -04:00
Matthew Chen 899e96f70f Respond to CR. 2018-07-18 14:25:30 -04:00
Matthew Chen cc91cb3dbf Respond to CR. 2018-07-18 13:57:22 -04:00
Matthew Chen ace07ac62a Respond to CR. 2018-07-18 13:57:22 -04:00