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

Issue 2272603003: Route key_exchange_group over to DevTools. (Closed)

Created:
4 years, 4 months ago by davidben
Modified:
4 years, 3 months ago
CC:
apavlov+blink_chromium.org, blink-reviews, blink-reviews-api_chromium.org, caseq+blink_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, devtools-reviews_chromium.org, dglazkov+blink, jam, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Route key_exchange_group over to DevTools. This replaces key_exchange_info with key_exchange_group at all layers but net::SSLInfo, fixing key_exchange_info's type issues. Then we route it over to DevTools as an optional new field "Key Exchange Group". Later work, once the TLS 1.3 draft 15 negotiation is implemented, will make the DevTools able to handle missing key_exchange. In 1.3, what DevTools currently calls a "Key Exchange" isn't really meaningful and is just described by the group. (https://crbug.com/639495) Screenshots: https://drive.google.com/folderview?id=0Bz14lOW5Hke4VFlBVXJOY0Z0cUU&usp=sharing (Note: the TLS 1.3 picture is a mock of how it will look when the new cipher suite negotiation is implemented and a second change made.) BUG=639421, 618035 Committed: https://crrev.com/960cd60330949cbfc0af26e25aa5d061cdec534c Cr-Commit-Position: refs/heads/master@{#417527}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Patch Set 4 : fix test maybe #

Total comments: 7

Patch Set 5 : rebase, add test #

Patch Set 6 : Comment #

Total comments: 2

Patch Set 7 : rebase #

Patch Set 8 : even more plumbing / mismerge #

Patch Set 9 : rebase #

Patch Set 10 : rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -13 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client.cc View 1 2 3 4 5 6 7 8 9 4 chunks +18 lines, -2 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc View 1 2 3 4 5 6 7 8 9 2 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client_unittest.cc View 1 2 3 4 5 2 chunks +63 lines, -0 lines 0 comments Download
M components/security_state/security_state_model.h View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -0 lines 0 comments Download
M components/security_state/security_state_model.cc View 1 2 3 4 5 6 7 8 9 4 chunks +4 lines, -0 lines 0 comments Download
M content/browser/loader/resource_loader.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/child/web_url_loader_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -0 lines 0 comments Download
M content/common/resource_messages.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/resource_response_info.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/common/ssl_status.h View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -2 lines 0 comments Download
M content/public/common/ssl_status.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M net/quic/chromium/quic_chromium_client_session.cc View 1 2 3 4 5 6 7 8 2 chunks +20 lines, -4 lines 0 comments Download
M net/ssl/ssl_info.h View 3 chunks +9 lines, -0 lines 0 comments Download
M net/ssl/ssl_info.cc View 2 chunks +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/browser_protocol.json View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebURLResponse.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/network/ResourceResponse.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/network/ResourceResponse.cpp View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebURLResponse.h View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 76 (42 generated)
davidben
This is going to need all kinds of reviewers, but let's start with Lucas for ...
4 years, 3 months ago (2016-08-25 19:28:50 UTC) #11
lgarron
LGTM I had a bunch of possible nits ready (e.g. make sure to check whether ...
4 years, 3 months ago (2016-08-30 22:13:51 UTC) #18
davidben
https://codereview.chromium.org/2272603003/diff/60001/net/ssl/ssl_info.cc File net/ssl/ssl_info.cc (right): https://codereview.chromium.org/2272603003/diff/60001/net/ssl/ssl_info.cc#newcode78 net/ssl/ssl_info.cc:78: // key_exchange_info is sometimes the (EC)DH group ID and ...
4 years, 3 months ago (2016-08-30 22:24:26 UTC) #19
davidben
Okay, now for OWNERS-gathering. +pfeldman: third_party/WebKit/ +estark: chrome/browser/ssl and components/security_state +nasko: content And then probably ...
4 years, 3 months ago (2016-08-30 23:00:23 UTC) #21
Ryan Hamilton
net/quic/ lgtm
4 years, 3 months ago (2016-08-30 23:11:55 UTC) #22
Ryan Sleevi
I read through the //net/ssl bit, and https://bugs.chromium.org/p/chromium/issues/detail?id=639421 , and I just want to make ...
4 years, 3 months ago (2016-08-30 23:19:02 UTC) #23
estark
components/security_state and chrome/browser/ssl lgtm w/ a question about a test https://codereview.chromium.org/2272603003/diff/60001/chrome/browser/ssl/chrome_security_state_model_client.cc File chrome/browser/ssl/chrome_security_state_model_client.cc (right): https://codereview.chromium.org/2272603003/diff/60001/chrome/browser/ssl/chrome_security_state_model_client.cc#newcode123 ...
4 years, 3 months ago (2016-08-30 23:23:56 UTC) #24
davidben
On 2016/08/30 23:19:02, Ryan Sleevi (slow) wrote: > I read through the //net/ssl bit, and ...
4 years, 3 months ago (2016-08-30 23:25:54 UTC) #25
nasko
content/ LGTM https://codereview.chromium.org/2272603003/diff/60001/content/common/ssl_status_serialization.cc File content/common/ssl_status_serialization.cc (right): https://codereview.chromium.org/2272603003/diff/60001/content/common/ssl_status_serialization.cc#newcode53 content/common/ssl_status_serialization.cc:53: std::string SerializeSecurityInfo(const SSLStatus& ssl_status) { The result ...
4 years, 3 months ago (2016-09-01 17:15:22 UTC) #26
davidben
Add test
4 years, 3 months ago (2016-09-02 21:46:10 UTC) #27
davidben
Comment
4 years, 3 months ago (2016-09-02 21:47:29 UTC) #28
davidben
https://codereview.chromium.org/2272603003/diff/60001/chrome/browser/ssl/chrome_security_state_model_client.cc File chrome/browser/ssl/chrome_security_state_model_client.cc (right): https://codereview.chromium.org/2272603003/diff/60001/chrome/browser/ssl/chrome_security_state_model_client.cc#newcode123 chrome/browser/ssl/chrome_security_state_model_client.cc:123: if (security_info.key_exchange_group != 0) { On 2016/08/30 23:23:56, estark ...
4 years, 3 months ago (2016-09-02 21:48:05 UTC) #29
lgarron
https://codereview.chromium.org/2272603003/diff/60001/chrome/browser/ssl/chrome_security_state_model_client.cc File chrome/browser/ssl/chrome_security_state_model_client.cc (right): https://codereview.chromium.org/2272603003/diff/60001/chrome/browser/ssl/chrome_security_state_model_client.cc#newcode123 chrome/browser/ssl/chrome_security_state_model_client.cc:123: if (security_info.key_exchange_group != 0) { On 2016/09/02 at 21:48:05, ...
4 years, 3 months ago (2016-09-02 22:45:33 UTC) #32
davidben
https://codereview.chromium.org/2272603003/diff/100001/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/2272603003/diff/100001/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc#newcode185 chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc:185: if (security_info.key_exchange_group != 0) { On 2016/09/02 22:45:33, lgarron ...
4 years, 3 months ago (2016-09-02 22:46:56 UTC) #33
davidben
pfeldman: friendly ping
4 years, 3 months ago (2016-09-06 18:06:23 UTC) #36
pfeldman
lgtm
4 years, 3 months ago (2016-09-06 19:38:24 UTC) #37
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/2272603003/100001
4 years, 3 months ago (2016-09-06 19:40:25 UTC) #40
commit-bot: I haz the power
Failed to apply patch for content/child/web_url_loader_impl.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 3 months ago (2016-09-06 21:30:21 UTC) #42
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/2272603003/120001
4 years, 3 months ago (2016-09-06 22:15:25 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/195521)
4 years, 3 months ago (2016-09-06 22:30:27 UTC) #47
davidben
even more plumbing / mismerge
4 years, 3 months ago (2016-09-06 23:01:42 UTC) #48
davidben
+jam, mind looking over the delta between patch sets 7 and 8 to make sure ...
4 years, 3 months ago (2016-09-06 23:04:55 UTC) #51
jam
lgtm, sorry I missed this earlier
4 years, 3 months ago (2016-09-08 20:31:15 UTC) #55
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/2272603003/140001
4 years, 3 months ago (2016-09-08 20:32:42 UTC) #58
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/293120)
4 years, 3 months ago (2016-09-08 20:36:00 UTC) #60
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/2272603003/160001
4 years, 3 months ago (2016-09-08 20:55:11 UTC) #63
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ssl/chrome_security_state_model_client.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 3 months ago (2016-09-09 00:57:48 UTC) #65
davidben
rebase again
4 years, 3 months ago (2016-09-09 02:39:36 UTC) #66
davidben
jam, the number of times this CL has collided with one of your patches... ;-)
4 years, 3 months ago (2016-09-09 02:40:15 UTC) #67
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/2272603003/180001
4 years, 3 months ago (2016-09-09 02:40:53 UTC) #70
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 3 months ago (2016-09-09 07:38:22 UTC) #72
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/960cd60330949cbfc0af26e25aa5d061cdec534c Cr-Commit-Position: refs/heads/master@{#417527}
4 years, 3 months ago (2016-09-09 07:41:38 UTC) #74
dmurph
On 2016/09/09 07:41:38, commit-bot: I haz the power wrote: > Patchset 10 (id:??) landed as ...
4 years, 3 months ago (2016-09-09 17:36:18 UTC) #75
dmurph
4 years, 3 months ago (2016-09-09 20:21:03 UTC) #76
Message was sent while issue was closed.
On 2016/09/09 17:36:18, dmurph wrote:
> On 2016/09/09 07:41:38, commit-bot: I haz the power wrote:
> > Patchset 10 (id:??) landed as
> > https://crrev.com/960cd60330949cbfc0af26e25aa5d061cdec534c
> > Cr-Commit-Position: refs/heads/master@{#417527}
> 
> I believe this is causing the MSAN bot to crash
> https://bugs.chromium.org/p/chromium/issues/detail?id=645514
> 
> reverting

update: not reverting, fix is out, see bug.

Powered by Google App Engine
This is Rietveld 408576698