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

Issue 2066483009: Expose SSLInfo::pkp_bypassed to devtools (Closed)

Created:
4 years, 6 months ago by dadrian
Modified:
4 years, 5 months ago
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, darin-cc_chromium.org, devtools-reviews_chromium.org, jam, 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

Expose SSLInfo::pkp_bypassed to devtools security panel. This adds the necessary plumbing to expose in devtools when public-key pinning is bypassed (due to a local trust anchor), by way of SecurityStyleExplanations. The goal is to allow the security panel to display when pins are bypassed, in order to help developers debug pinning implementations. BUG=566144 Committed: https://crrev.com/bfa0a24b4ff377d337a704d01db5d5957b6eafa4 Cr-Commit-Position: refs/heads/master@{#402586}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Inject PKP directly to TSS #

Total comments: 2

Patch Set 3 : More tests #

Total comments: 8

Patch Set 4 : Remove signal and HTTP header files #

Total comments: 15

Patch Set 5 : Fix indentation. #

Patch Set 6 : Cleanup tests, fix constructor. #

Total comments: 2

Patch Set 7 : Remove change to browser_protocol.json #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -28 lines) Patch
M chrome/browser/ssl/chrome_security_state_model_client.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc View 1 2 3 4 5 31 chunks +117 lines, -20 lines 0 comments Download
M components/security_state/security_state_model.h View 2 chunks +5 lines, -0 lines 0 comments Download
M components/security_state/security_state_model.cc View 1 2 3 4 5 4 chunks +7 lines, -3 lines 0 comments Download
M content/common/ssl_status_serialization.cc View 2 chunks +3 lines, -1 line 0 comments Download
M content/public/browser/security_style_explanations.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/browser/security_style_explanations.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/common/ssl_status.h View 2 chunks +4 lines, -1 line 0 comments Download
M content/public/common/ssl_status.cc View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
dadrian
estark: I'm throwing up this CL because I'm not sure these browser tests are going ...
4 years, 6 months ago (2016-06-15 20:16:03 UTC) #2
estark
https://codereview.chromium.org/2066483009/diff/1/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc File chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc (right): https://codereview.chromium.org/2066483009/diff/1/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc#newcode589 chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc:589: browser(), https_server_.GetURL("/ssl/fuck-youhpkp-headers.html")); I'm building with this patch to try ...
4 years, 6 months ago (2016-06-15 20:36:48 UTC) #3
dadrian
On 2016/06/15 20:36:48, estark wrote: > https://codereview.chromium.org/2066483009/diff/1/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc > File chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc > (right): > > https://codereview.chromium.org/2066483009/diff/1/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc#newcode589 ...
4 years, 6 months ago (2016-06-24 18:28:01 UTC) #4
estark
https://codereview.chromium.org/2066483009/diff/20001/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc File chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc (right): https://codereview.chromium.org/2066483009/diff/20001/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc#newcode616 chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc:616: security_state->AddHPKP(https_server_.host_port_pair().host(), expiration, Aha, looks like host() is empty at ...
4 years, 6 months ago (2016-06-24 20:31:11 UTC) #5
dadrian
Alright, this should now be good to go! https://codereview.chromium.org/2066483009/diff/20001/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc File chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc (right): https://codereview.chromium.org/2066483009/diff/20001/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc#newcode616 chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc:616: security_state->AddHPKP(https_server_.host_port_pair().host(), ...
4 years, 6 months ago (2016-06-24 21:19:56 UTC) #6
estark
Looking good! Adding lgarron to take a look at the devtools plumbing. As an aside, ...
4 years, 5 months ago (2016-06-27 17:38:28 UTC) #8
dadrian
https://codereview.chromium.org/2066483009/diff/40001/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc File chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc (right): https://codereview.chromium.org/2066483009/diff/40001/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc#newcode600 chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc:600: io_loop_finished_event_.Wait(); On 2016/06/27 17:38:28, estark wrote: > Huh, I've ...
4 years, 5 months ago (2016-06-27 23:07:41 UTC) #9
lgarron
https://codereview.chromium.org/2066483009/diff/60001/third_party/WebKit/Source/core/inspector/browser_protocol.json File third_party/WebKit/Source/core/inspector/browser_protocol.json (right): https://codereview.chromium.org/2066483009/diff/60001/third_party/WebKit/Source/core/inspector/browser_protocol.json#newcode899 third_party/WebKit/Source/core/inspector/browser_protocol.json:899: { "name": "pkpBypassed", "type": "boolean", "description": "True if pinning ...
4 years, 5 months ago (2016-06-28 00:27:42 UTC) #10
estark
lgtm with a few nits/cleanups https://codereview.chromium.org/2066483009/diff/60001/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc File chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc (right): https://codereview.chromium.org/2066483009/diff/60001/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc#newcode596 chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc:596: // io_loop_finished_event_.Wait(); delete instead ...
4 years, 5 months ago (2016-06-28 02:43:53 UTC) #11
estark
Oh, sorry, one more request: can you add a bit more detail to the CL ...
4 years, 5 months ago (2016-06-28 02:48:08 UTC) #12
dadrian
Addressed nits and added reviewers for the remaining files. avi@chromium.org: Please review changes in //content. ...
4 years, 5 months ago (2016-06-28 18:45:58 UTC) #15
dgozman
https://codereview.chromium.org/2066483009/diff/100001/third_party/WebKit/Source/core/inspector/browser_protocol.json File third_party/WebKit/Source/core/inspector/browser_protocol.json (right): https://codereview.chromium.org/2066483009/diff/100001/third_party/WebKit/Source/core/inspector/browser_protocol.json#newcode899 third_party/WebKit/Source/core/inspector/browser_protocol.json:899: { "name": "pkpBypassed", "type": "boolean", "description": "True if public ...
4 years, 5 months ago (2016-06-28 19:02:40 UTC) #16
Avi (use Gerrit)
content lgtm
4 years, 5 months ago (2016-06-28 19:12:06 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2066483009/120001
4 years, 5 months ago (2016-06-28 21:18:59 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 5 months ago (2016-06-28 23:07:49 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 23:09:16 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/bfa0a24b4ff377d337a704d01db5d5957b6eafa4
Cr-Commit-Position: refs/heads/master@{#402586}

Powered by Google App Engine
This is Rietveld 408576698