Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Issue 1941973002: Align the CT Implementation with Policy (Closed)

Created:
4 years, 7 months ago by Ryan Sleevi
Modified:
4 years, 7 months ago
Reviewers:
eroman, Eran Messeri, estark
CC:
chromium-reviews, certificate-transparency-chrome_googlegroups.com, cbentzel+watch_chromium.org, Eran Messeri
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Align the CT implementation with the actual policy. This resolves several bugs that were revealed inherent in the implementation and implements the new policy designed to avoid ambiguities with the old policy. - Unique SCTs from the same log no longer count towards quorum, as it fails to ensure the ecosystem diversity that is intended by the quorum requirement - Officially supports "method pooling" when using non-embedded SCTs (so long as at least one valid, qualified non-embedded SCT is present, only require 1 Google + 1 non-Google log, from any source) - Fixes the bug where method pooling worked for embedded certificates - Simplifies the implementation to make it easier to ensure that all SCTs delivered via TLS extension/OCSP stapling are qualified at time of check BUG=605510, 607023 Committed: https://crrev.com/a66cf3e7e727b4b613828e71931f8e91be070509 Cr-Commit-Position: refs/heads/master@{#391674}

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : WIP #

Patch Set 4 : Add more tests #

Total comments: 13

Patch Set 5 : Review feedback #

Total comments: 7

Patch Set 6 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -124 lines) Patch
M net/cert/ct_policy_enforcer.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M net/cert/ct_policy_enforcer.cc View 1 2 3 4 5 7 chunks +153 lines, -97 lines 0 comments Download
M net/cert/ct_policy_enforcer_unittest.cc View 1 2 3 12 chunks +112 lines, -27 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (9 generated)
Ryan Sleevi
Emily: Could you provide a fresh set of eyes on this for the actual implementation ...
4 years, 7 months ago (2016-05-02 23:36:13 UTC) #3
Ryan Sleevi
Annotating some of the additional changes to the tests https://codereview.chromium.org/1941973002/diff/60001/net/cert/ct_policy_enforcer.cc File net/cert/ct_policy_enforcer.cc (right): https://codereview.chromium.org/1941973002/diff/60001/net/cert/ct_policy_enforcer.cc#newcode183 net/cert/ct_policy_enforcer.cc:183: ...
4 years, 7 months ago (2016-05-02 23:41:24 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1941973002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1941973002/60001
4 years, 7 months ago (2016-05-02 23:46:16 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-03 01:00:57 UTC) #8
Eran Messeri
LGTM - as far as I can tell implements the outlined policy. https://codereview.chromium.org/1941973002/diff/60001/net/cert/ct_policy_enforcer.cc File net/cert/ct_policy_enforcer.cc ...
4 years, 7 months ago (2016-05-03 12:52:13 UTC) #10
estark
Policy logic lgtm, just a comment quibble https://codereview.chromium.org/1941973002/diff/60001/net/cert/ct_policy_enforcer.cc File net/cert/ct_policy_enforcer.cc (right): https://codereview.chromium.org/1941973002/diff/60001/net/cert/ct_policy_enforcer.cc#newcode296 net/cert/ct_policy_enforcer.cc:296: // Note: ...
4 years, 7 months ago (2016-05-03 18:15:03 UTC) #11
Ryan Sleevi
https://codereview.chromium.org/1941973002/diff/60001/net/cert/ct_policy_enforcer.cc File net/cert/ct_policy_enforcer.cc (right): https://codereview.chromium.org/1941973002/diff/60001/net/cert/ct_policy_enforcer.cc#newcode296 net/cert/ct_policy_enforcer.cc:296: // Note: This also covers the case for embedded ...
4 years, 7 months ago (2016-05-03 18:31:04 UTC) #12
Ryan Sleevi
https://codereview.chromium.org/1941973002/diff/60001/net/cert/ct_policy_enforcer.cc File net/cert/ct_policy_enforcer.cc (right): https://codereview.chromium.org/1941973002/diff/60001/net/cert/ct_policy_enforcer.cc#newcode327 net/cert/ct_policy_enforcer.cc:327: embedded_log_ids.begin(), On 2016/05/03 18:31:03, Ryan Sleevi wrote: > On ...
4 years, 7 months ago (2016-05-03 18:32:29 UTC) #13
eroman
Looks good, but haven't read the corresponding policy document yet. Will do another pass to ...
4 years, 7 months ago (2016-05-04 19:56:23 UTC) #14
Ryan Sleevi
https://codereview.chromium.org/1941973002/diff/80001/net/cert/ct_policy_enforcer.cc File net/cert/ct_policy_enforcer.cc (right): https://codereview.chromium.org/1941973002/diff/80001/net/cert/ct_policy_enforcer.cc#newcode182 net/cert/ct_policy_enforcer.cc:182: if (!ev_whitelist || !ev_whitelist->IsValid()) On 2016/05/04 19:56:23, eroman wrote: ...
4 years, 7 months ago (2016-05-04 20:59:19 UTC) #15
eroman
lgtm https://codereview.chromium.org/1941973002/diff/80001/net/cert/ct_policy_enforcer.cc File net/cert/ct_policy_enforcer.cc (right): https://codereview.chromium.org/1941973002/diff/80001/net/cert/ct_policy_enforcer.cc#newcode182 net/cert/ct_policy_enforcer.cc:182: if (!ev_whitelist || !ev_whitelist->IsValid()) On 2016/05/04 20:59:19, Ryan ...
4 years, 7 months ago (2016-05-04 21:26:35 UTC) #16
Ryan Sleevi
On 2016/05/04 21:26:35, eroman wrote: > I still have issues with using FromInternalValue() but I ...
4 years, 7 months ago (2016-05-04 21:30:23 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1941973002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1941973002/100001
4 years, 7 months ago (2016-05-04 21:30:49 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-04 22:56:01 UTC) #22
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 22:57:25 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a66cf3e7e727b4b613828e71931f8e91be070509
Cr-Commit-Position: refs/heads/master@{#391674}

Powered by Google App Engine
This is Rietveld 408576698