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

Issue 782333002: Certificate Transparency: Adding finch and NetLog logging for EV certs (Closed)

Created:
6 years ago by Eran Messeri
Modified:
6 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, eroman, mmenke, Ryan Sleevi
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Certificate Transparency: Adding finch and NetLog logging for EV certs This is a follow-up patch to address some of rsleevi@'s comments on a previous patch that policy compliance checks for EV certificates. The remaining todo (adding an integration test to SSLClientSocket*) will be addressed in a separate patch. BUG=437766 Committed: https://crrev.com/18a019275b2995f77fbc95691c5784fb2ca83836 Cr-Commit-Position: refs/heads/master@{#308971}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressing review comments #

Total comments: 6

Patch Set 3 : Addressing all review comments. #

Total comments: 14

Patch Set 4 : Addressing comments, adding whitelist version logging #

Patch Set 5 : Fix typo in log_view_painter, update params description in netlog #

Total comments: 14

Patch Set 6 : Addressing review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -130 lines) Patch
M chrome/browser/component_updater/ev_whitelist_component_installer.cc View 1 2 3 4 5 5 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 2 chunks +13 lines, -6 lines 0 comments Download
M chrome/browser/net/packed_ct_ev_whitelist.h View 1 2 3 4 5 4 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/net/packed_ct_ev_whitelist.cc View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/net/packed_ct_ev_whitelist_unittest.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/net_internals/log_view_painter.js View 1 2 3 4 5 3 chunks +26 lines, -20 lines 0 comments Download
M net/base/net_log_event_type_list.h View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M net/cert/cert_policy_enforcer.h View 1 2 3 4 5 2 chunks +5 lines, -8 lines 0 comments Download
M net/cert/cert_policy_enforcer.cc View 1 2 3 4 5 4 chunks +159 lines, -66 lines 0 comments Download
M net/cert/cert_policy_enforcer_unittest.cc View 1 2 3 4 5 10 chunks +21 lines, -17 lines 0 comments Download
M net/cert/ct_ev_whitelist.h View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (6 generated)
Eran Messeri
6 years ago (2014-12-08 20:59:35 UTC) #2
davidben
One comment about net-internals painting, but otherwise looks good. https://codereview.chromium.org/782333002/diff/1/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/782333002/diff/1/chrome/browser/io_thread.cc#newcode332 chrome/browser/io_thread.cc:332: ...
6 years ago (2014-12-08 22:42:35 UTC) #3
Eran Messeri
Addressed all review comments. Adding mmenke@ to as a reviewer for chrome/browser/resources/net_internals/log_view_painter.js and chrome/browser/io_thread.cc https://codereview.chromium.org/782333002/diff/1/chrome/browser/io_thread.cc ...
6 years ago (2014-12-09 19:58:15 UTC) #5
mmenke
https://codereview.chromium.org/782333002/diff/20001/chrome/browser/resources/net_internals/log_view_painter.js File chrome/browser/resources/net_internals/log_view_painter.js (right): https://codereview.chromium.org/782333002/diff/20001/chrome/browser/resources/net_internals/log_view_painter.js#newcode603 chrome/browser/resources/net_internals/log_view_painter.js:603: if (typeof(entry.params.verified_cert) == 'object') { I don't think we ...
6 years ago (2014-12-09 20:13:32 UTC) #6
davidben
net/ lgtm
6 years ago (2014-12-09 20:28:12 UTC) #7
Ryan Sleevi
Sorry to be "That Guy", but I'm actually going to block this (although hopefully temporarily). ...
6 years ago (2014-12-09 20:50:43 UTC) #9
Eran Messeri
Addressed *all* the comments! PTAL. Hopefully Ryan's concern of not logging all the data is ...
6 years ago (2014-12-10 15:38:39 UTC) #10
Ryan Sleevi
Logging concerns addressed, so removing my block with an LGTM Matt should double check he's ...
6 years ago (2014-12-10 20:09:26 UTC) #11
mmenke
https://codereview.chromium.org/782333002/diff/40001/net/cert/cert_policy_enforcer.cc File net/cert/cert_policy_enforcer.cc (right): https://codereview.chromium.org/782333002/diff/40001/net/cert/cert_policy_enforcer.cc#newcode94 net/cert/cert_policy_enforcer.cc:94: void Reset() { Not needed. Can just do all ...
6 years ago (2014-12-10 20:36:40 UTC) #12
Eran Messeri
https://codereview.chromium.org/782333002/diff/40001/net/cert/cert_policy_enforcer.cc File net/cert/cert_policy_enforcer.cc (right): https://codereview.chromium.org/782333002/diff/40001/net/cert/cert_policy_enforcer.cc#newcode137 net/cert/cert_policy_enforcer.cc:137: base::Unretained(&result)); On 2014/12/10 20:09:26, Ryan Sleevi wrote: > You ...
6 years ago (2014-12-10 20:37:04 UTC) #13
Eran Messeri
Per your review comments: - I've converted most methods to functions in the anonymous namespace ...
6 years ago (2014-12-12 12:44:56 UTC) #14
Eran Messeri
Adding Sorin to review the (small!) component updater change.
6 years ago (2014-12-15 17:19:15 UTC) #16
Sorin Jianu
lgtm Thank you!
6 years ago (2014-12-16 03:04:30 UTC) #17
mmenke
LGTM (Note: I only reviewed io_thread.h, the js file, and the logging code of cert_policy_enforcer.cc) ...
6 years ago (2014-12-16 16:40:12 UTC) #19
Ryan Sleevi
Still LGTM https://codereview.chromium.org/782333002/diff/80001/chrome/browser/net/packed_ct_ev_whitelist_unittest.cc File chrome/browser/net/packed_ct_ev_whitelist_unittest.cc (right): https://codereview.chromium.org/782333002/diff/80001/chrome/browser/net/packed_ct_ev_whitelist_unittest.cc#newcode132 chrome/browser/net/packed_ct_ev_whitelist_unittest.cc:132: new PackedEVCertsWhitelist("", base::Version())); s/""/std::string/ ;) https://codereview.chromium.org/782333002/diff/80001/net/cert/cert_policy_enforcer.h File ...
6 years ago (2014-12-16 21:35:01 UTC) #20
Eran Messeri
Thanks for the quick review everyone, addressed all your comments. https://codereview.chromium.org/782333002/diff/80001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/782333002/diff/80001/chrome/browser/io_thread.cc#newcode330 ...
6 years ago (2014-12-17 16:19:31 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/782333002/100001
6 years ago (2014-12-18 08:29:43 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years ago (2014-12-18 08:43:33 UTC) #24
commit-bot: I haz the power
6 years ago (2014-12-18 08:44:15 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/18a019275b2995f77fbc95691c5784fb2ca83836
Cr-Commit-Position: refs/heads/master@{#308971}

Powered by Google App Engine
This is Rietveld 408576698