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

Issue 1589703002: Surface SCT (Signed Certificate Timestamp) counts in the Security panel. (Closed)

Created:
4 years, 11 months ago by lgarron
Modified:
4 years, 10 months ago
CC:
apavlov+blink_chromium.org, blink-reviews, blink-reviews-api_chromium.org, caseq+blink_chromium.org, certificate-transparency-chrome_googlegroups.com, chromium-reviews, darin-cc_chromium.org, devtools-reviews_chromium.org, dglazkov+blink, Eran Messeri, jam, kinuko+watch, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman, sergeyv+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Surface SCT (Signed Certificate Timestamp) counts in the Security panel. BUG=551705 TEST=Do the following: 1) Visit mozilla.org, open the Security panel in DevTools, refresh, click on "https://www.mozilla.org" under "Main Origin", check that the "Certificate" section has an "SCTs" value of "3 valid SCTs". 2) Do the same for sha1-2017.badssl.com and check that the value is "0 SCTs". 3) Do the same for selecadm.name and check that the value is "2 valid SCTs". (This sanity checks that dynamically served SCTs are treated the same as embedded SCTs.) Committed: https://crrev.com/9a2730e610983086ba1e2512506f79d682a6e270 Cr-Commit-Position: refs/heads/master@{#373420}

Patch Set 1 #

Patch Set 2 : #

Total comments: 31

Patch Set 3 : Address comments by rsleevi@ and pfeldman@. #

Total comments: 1

Patch Set 4 : Only send the SCT counts. #

Total comments: 8

Patch Set 5 : Address latest comments. #

Total comments: 1

Messages

Total messages: 48 (15 generated)
lgarron
sky@Could you review chrome/browser/ui/browser.{h, cc}? pfeldman@: Could you review the entire CL? The string depends ...
4 years, 11 months ago (2016-01-15 16:32:51 UTC) #5
sky
browser LGTM
4 years, 11 months ago (2016-01-19 16:36:13 UTC) #7
pfeldman
Please look at the protocol.json comment first. https://codereview.chromium.org/1589703002/diff/40001/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js File third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js (right): https://codereview.chromium.org/1589703002/diff/40001/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js#newcode183 third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js:183: originState.certificateTransparencySummaryPromise = ...
4 years, 11 months ago (2016-01-19 17:54:49 UTC) #8
Ryan Sleevi
https://codereview.chromium.org/1589703002/diff/40001/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/1589703002/diff/40001/content/child/web_url_loader_impl.cc#newcode255 content/child/web_url_loader_impl.cc:255: static_cast<size_t>(std::numeric_limits<int>::max())); SECURITY BUG: This is a security check hidden ...
4 years, 11 months ago (2016-01-19 19:39:00 UTC) #10
lgarron
https://codereview.chromium.org/1589703002/diff/40001/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/1589703002/diff/40001/content/child/web_url_loader_impl.cc#newcode255 content/child/web_url_loader_impl.cc:255: static_cast<size_t>(std::numeric_limits<int>::max())); On 2016/01/19 at 19:39:00, Ryan Sleevi wrote: > ...
4 years, 11 months ago (2016-01-22 22:51:28 UTC) #11
pfeldman
https://codereview.chromium.org/1589703002/diff/40001/third_party/WebKit/Source/devtools/protocol.json File third_party/WebKit/Source/devtools/protocol.json (right): https://codereview.chromium.org/1589703002/diff/40001/third_party/WebKit/Source/devtools/protocol.json#newcode1532 third_party/WebKit/Source/devtools/protocol.json:1532: { "name": "isValidEV", "type": "boolean", "description": "Whether the certificate ...
4 years, 11 months ago (2016-01-23 00:57:25 UTC) #12
Ryan Sleevi
https://codereview.chromium.org/1589703002/diff/40001/third_party/WebKit/Source/devtools/protocol.json File third_party/WebKit/Source/devtools/protocol.json (right): https://codereview.chromium.org/1589703002/diff/40001/third_party/WebKit/Source/devtools/protocol.json#newcode1530 third_party/WebKit/Source/devtools/protocol.json:1530: "description": "Returns a phrase summarizing the Certificate Transparency state ...
4 years, 11 months ago (2016-01-23 01:00:50 UTC) #13
lgarron
On 2016/01/23 at 00:57:25, pfeldman wrote: > https://codereview.chromium.org/1589703002/diff/40001/third_party/WebKit/Source/devtools/protocol.json > File third_party/WebKit/Source/devtools/protocol.json (right): > > https://codereview.chromium.org/1589703002/diff/40001/third_party/WebKit/Source/devtools/protocol.json#newcode1532 ...
4 years, 11 months ago (2016-01-23 01:04:03 UTC) #14
pfeldman
https://codereview.chromium.org/1589703002/diff/40001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/1589703002/diff/40001/chrome/browser/ui/browser.cc#newcode1417 chrome/browser/ui/browser.cc:1417: void Browser::GetCertificateTransparencySummary(bool is_valid_ev, So we are introducing remote debugging ...
4 years, 11 months ago (2016-01-23 01:04:56 UTC) #15
lgarron
https://codereview.chromium.org/1589703002/diff/40001/third_party/WebKit/Source/devtools/protocol.json File third_party/WebKit/Source/devtools/protocol.json (right): https://codereview.chromium.org/1589703002/diff/40001/third_party/WebKit/Source/devtools/protocol.json#newcode1530 third_party/WebKit/Source/devtools/protocol.json:1530: "description": "Returns a phrase summarizing the Certificate Transparency state ...
4 years, 11 months ago (2016-01-23 01:09:03 UTC) #16
lgarron
https://codereview.chromium.org/1589703002/diff/40001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/1589703002/diff/40001/chrome/browser/ui/browser.cc#newcode1417 chrome/browser/ui/browser.cc:1417: void Browser::GetCertificateTransparencySummary(bool is_valid_ev, On 2016/01/23 at 01:04:55, pfeldman wrote: ...
4 years, 11 months ago (2016-01-23 01:20:15 UTC) #17
Ryan Sleevi
https://codereview.chromium.org/1589703002/diff/40001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/1589703002/diff/40001/chrome/browser/ui/browser.cc#newcode1417 chrome/browser/ui/browser.cc:1417: void Browser::GetCertificateTransparencySummary(bool is_valid_ev, On 2016/01/23 01:20:15, lgarron wrote: > ...
4 years, 11 months ago (2016-01-23 01:24:34 UTC) #18
lgarron
https://codereview.chromium.org/1589703002/diff/40001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/1589703002/diff/40001/chrome/browser/ui/browser.cc#newcode1417 chrome/browser/ui/browser.cc:1417: void Browser::GetCertificateTransparencySummary(bool is_valid_ev, On 2016/01/23 at 01:24:34, Ryan Sleevi ...
4 years, 11 months ago (2016-01-26 02:33:27 UTC) #19
Ryan Sleevi
I'm honestly still a little confused, but I defer to estark here, who's working on ...
4 years, 11 months ago (2016-01-26 22:45:34 UTC) #21
lgarron
On 2016/01/26 at 22:45:34, rsleevi wrote: > I'm honestly still a little confused, but I ...
4 years, 11 months ago (2016-01-27 03:36:47 UTC) #22
lgarron
On 2016/01/27 at 03:36:47, lgarron wrote: > On 2016/01/26 at 22:45:34, rsleevi wrote: > > ...
4 years, 11 months ago (2016-01-27 21:02:32 UTC) #23
estark
+certificate-transparency-chrome Sorry for the slow reply, I've been conference-ing. I just skimmed the code and ...
4 years, 10 months ago (2016-01-27 21:59:58 UTC) #24
lgarron
On 2016/01/27 at 21:59:58, estark wrote: > +certificate-transparency-chrome > > Sorry for the slow reply, ...
4 years, 10 months ago (2016-01-27 23:05:02 UTC) #25
estark
On 2016/01/27 23:05:02, lgarron wrote: > On 2016/01/27 at 21:59:58, estark wrote: > > +certificate-transparency-chrome ...
4 years, 10 months ago (2016-01-28 06:47:13 UTC) #26
lgarron
On 2016/01/28 at 06:47:13, estark wrote: > On 2016/01/27 23:05:02, lgarron wrote: > > On ...
4 years, 10 months ago (2016-01-28 20:45:26 UTC) #27
lgarron
On 2016/01/28 at 20:45:26, lgarron wrote: > On 2016/01/28 at 06:47:13, estark wrote: > > ...
4 years, 10 months ago (2016-01-28 20:50:51 UTC) #28
estark
On 2016/01/28 20:45:26, lgarron wrote: > <snip> > > What if we just send the ...
4 years, 10 months ago (2016-01-29 00:08:40 UTC) #29
lgarron
pfeldman@: I've removed the string formatting command. Could you review again? I asked eranm@ if ...
4 years, 10 months ago (2016-01-30 02:29:08 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1589703002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1589703002/80001
4 years, 10 months ago (2016-01-30 03:00:48 UTC) #34
lgarron
pfeldman@: I sent this out on the weekend. Friendly ping in case you missed it, ...
4 years, 10 months ago (2016-02-01 22:31:42 UTC) #37
pfeldman
https://codereview.chromium.org/1589703002/diff/80001/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js File third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js (right): https://codereview.chromium.org/1589703002/diff/80001/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js#newcode889 third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js:889: if (!details) { drop {} https://codereview.chromium.org/1589703002/diff/80001/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js#newcode890 third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js:890: return "N/A"; ...
4 years, 10 months ago (2016-02-01 23:01:12 UTC) #38
lgarron
https://codereview.chromium.org/1589703002/diff/80001/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js File third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js (right): https://codereview.chromium.org/1589703002/diff/80001/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js#newcode889 third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js:889: if (!details) { On 2016/02/01 at 23:01:11, pfeldman wrote: ...
4 years, 10 months ago (2016-02-02 03:17:08 UTC) #39
lgarron
pfeldman@: ping (I know it's only been a day, but I'm hoping to land this ...
4 years, 10 months ago (2016-02-03 21:09:19 UTC) #40
pfeldman
lgtm % nit https://codereview.chromium.org/1589703002/diff/140001/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js File third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js (right): https://codereview.chromium.org/1589703002/diff/140001/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js#newcode796 third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js:796: table.addRow("Subject", certificateDetails.subject.name); These all should have ...
4 years, 10 months ago (2016-02-04 00:16:15 UTC) #41
lgarron
On 2016/02/04 at 00:16:15, pfeldman wrote: > lgtm % nit > > https://codereview.chromium.org/1589703002/diff/140001/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js > File ...
4 years, 10 months ago (2016-02-04 00:34:53 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1589703002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1589703002/140001
4 years, 10 months ago (2016-02-04 00:36:31 UTC) #45
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years, 10 months ago (2016-02-04 01:57:03 UTC) #46
commit-bot: I haz the power
4 years, 10 months ago (2016-02-04 01:58:18 UTC) #48
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9a2730e610983086ba1e2512506f79d682a6e270
Cr-Commit-Position: refs/heads/master@{#373420}

Powered by Google App Engine
This is Rietveld 408576698