Commit graph

1079 commits

Author SHA1 Message Date
Matthew Chen 16e51b8542 Fixup CDS auth properties. 2018-08-01 09:25:16 -04:00
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
Michael Kirk 1658812102 TSan config 2018-07-30 12:31:21 -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 9e80c96d1d Revert "Revert "Revert "Revert "Revert temporary changes.""""
This reverts commit d96944498084595afaae3affad67b49d31bbfa63.
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 c0022eceac Move from test to staging environments. 2018-07-26 14:48:27 -04:00
Matthew Chen ef6aed75bc Revert "Revert "Revert "Revert temporary changes."""
This reverts commit 50d242cd0486b10bc03d2a18b964bb45b8aef739.
2018-07-26 14:48:27 -04:00
Matthew Chen 8d1011a1fc Verify certificate subject. 2018-07-26 14:48:27 -04:00
Matthew Chen c65b38ad64 Revert "Revert "Revert temporary changes.""
This reverts commit 62fa34d77373cbf530f8d63a0de3504097771df8.
2018-07-26 14:48:27 -04:00
Matthew Chen aef881cad3 Verify certificate subject. 2018-07-26 14:48:27 -04:00
Matthew Chen 54d025e110 Revert "Revert temporary changes."
This reverts commit 97eb405a9e.
2018-07-26 14:48:27 -04:00
Michael Kirk 5e2dc18931 rename token -> password 2018-07-26 11:58:26 -06:00
Michael Kirk ac461ca2d1 Fixup parser: Robust to servers various "empty" types
For base64Encoded data, sometimes the server sends "null" sometimes the server
sends an empty string.
2018-07-26 11:56:22 -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 9334143f5e Organize attachments. 2018-07-26 09:25:24 -04:00
Matthew Chen b0a516c36f Refine recipient device updates. 2018-07-26 09:22:40 -04: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 d39906f606 CR: test malformed protos 2018-07-25 15:20:07 -06:00
Michael Kirk e5856b2ac5 CR: Add back deprecated constructor to debug list 2018-07-25 15:19:40 -06:00
Michael Kirk abcd0a1d29 CR: revert logging change 2018-07-25 14:00:25 -06:00
Michael Kirk 06bbe907b9 builder pattern for proto construction 2018-07-25 13:55:06 -06:00
Michael Kirk 9299c5e573 CR: tweak proto class name, include yet-to-be-used protos
// FREEBIE
2018-07-25 13:48:52 -06:00
Michael Kirk b860dce7f9 Swift protos for Envelope 2018-07-25 13:04:26 -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
Michael Kirk 6e1c1a681b Merge tag '2.28.0.12' 2018-07-23 16:12:46 -06:00
Matthew Chen 48fb652d83 Merge branch 'charlesmchen/unknownObjectVsNPE' 2018-07-23 16:05:56 -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
Matthew Chen 708ef6f7dd Fix NPE using mock for unknown database objects. 2018-07-23 16:42:11 -04:00
Matthew Chen 060e0fd062 Fix NPE using mock for unknown database objects. 2018-07-23 16:40:01 -04:00
Michael Kirk 558b3bd245 Report contact discovery feedback 2018-07-23 13:06:40 -06:00
Michael Kirk 8c5d6ba9bb Respond to code review. 2018-07-23 12:21:54 -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 bebb8ecfd1 Cycle the socket after linking a new device. 2018-07-23 14:11:51 -04: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 baed561033 Mark message sent to self as read. 2018-07-23 13:27:10 -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