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

Issue 1727133002: Expose TLS settings in the Security panel overview, and call out individual obsolete settings. (Closed)

Created:
4 years, 10 months ago by lgarron
Modified:
4 years, 4 months ago
Reviewers:
msw, felt, davidben, pfeldman, estark
CC:
chromium-reviews, darin-cc_chromium.org, devtools-reviews_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose TLS settings in the Security panel overview, and call out individual obsolete settings. BUG=551728 TEST=For all tests below, first open DevTools to the Security panel overview. 1) Visit google.com and check that there is a green bullet point with the following summary and description: - Secure Connection - The connection to this site is encrypted and authenticated using a strong protocol (QUIC), a strong key exchange (ECDHE_RSA), and a strong cipher (AES_128_GCM). 2) Visit cbc.badssl.com and check that there is a gray info bullet point with the following summary and description: - Obsolete Connection Settings - The connection to this site uses a strong protocol (TLS 1.2), a strong key exchange (ECDHE_RSA), and an obsolete cipher (AES_256_CBC with HMAC-SHA1). 3) Visit cbc.badssl.com/mixed/script/ and check that there are two gray info bullet points: "Obsolete TLS cipher suite" and "Blocked mixed content". 4) Visit static-rsa.badssl.com and check that there is a gray info bullet point with the following summary and description: - Obsolete Connection Settings - The connection to this site uses a strong protocol (TLS 1.2), an obsolete key exchange (RSA), and a strong cipher (AES_256_GCM). 5) Visit https://tls-v1-0.badssl.com:1010/ and check that there is a gray info bullet point with the following summary and description: - Obsolete Connection Settings - The connection to this site uses an obsolete protocol (TLS 1.0), a strong key exchange (ECDHE_RSA), and an obsolete cipher (AES_128_CBC with HMAC-SHA1). Committed: https://crrev.com/3e2c33e434d9832c8d4883c9264adb5be0e9bf68 Cr-Commit-Position: refs/heads/master@{#414341}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address estark@'s initial nits. #

Patch Set 3 : Always expose TLS settings. #

Total comments: 13

Patch Set 4 : Reintroduce IsSecureTLSCipherSuite() as its negative and update tests. #

Total comments: 40

Patch Set 5 : Respond to comments; simplify a lot of the strings; take out IsObsoleteTLSCipherSuite(). #

Total comments: 4

Patch Set 6 : Add some tests. #

Total comments: 24

Patch Set 7 : Rebase and update tests. #

Total comments: 2

Patch Set 8 : EXPECT_EQ(TRUE, is_aead); → EXPECT_TRUE(is_aead); #

Patch Set 9 : Place "Modern SSL" comment on same line as enum value. #

Patch Set 10 : Update SecurityStateModelTest.* unit tests. #

Patch Set 11 : Try removing NET_EXPORT from the ObsoleteSSLMask enum. #

Patch Set 12 : Expose all TLS settings in the Security panel overview, and call out individual obsolete settings. #

Patch Set 13 : Rebasing. #

Patch Set 14 : Remove NOTREACHED() that is now reached. #

Patch Set 15 : Move "was there real TLS?" check above "turn TLS details into strings" section. #

Patch Set 16 : Also check that connection_status is not zero, which is the case for 3 browser tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -103 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +31 lines, -4 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +74 lines, -7 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 10 11 12 4 chunks +59 lines, -10 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M components/security_state/security_state_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -3 lines 0 comments Download
M components/security_state/security_state_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -7 lines 0 comments Download
M components/security_state/security_state_model_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +5 lines, -3 lines 0 comments Download
M net/ssl/ssl_cipher_suite_names.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +20 lines, -8 lines 0 comments Download
M net/ssl/ssl_cipher_suite_names.cc View 1 2 3 4 5 6 7 8 9 10 11 12 14 2 chunks +53 lines, -28 lines 0 comments Download
M net/ssl/ssl_cipher_suite_names_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +80 lines, -32 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/security/security-explanation-ordering.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/security/security-explanation-ordering-expected.txt View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 105 (56 generated)
lgarron
estark@: could you review this draft CL? davidben@: Presumably, we want the string to show ...
4 years, 10 months ago (2016-02-24 02:02:15 UTC) #2
estark
Oh cool, this is even easier than I thought it was going to be, I ...
4 years, 10 months ago (2016-02-24 02:10:51 UTC) #3
lgarron
On 2016/02/24 at 02:10:51, estark wrote: > Oh cool, this is even easier than I ...
4 years, 10 months ago (2016-02-24 03:14:02 UTC) #4
davidben
On 2016/02/24 02:02:15, lgarron wrote: > davidben@: Presumably, we want the string to show something ...
4 years, 10 months ago (2016-02-24 17:07:42 UTC) #5
davidben
Did anything ever happen with this CL? M50 seems to have branched with the change ...
4 years, 9 months ago (2016-03-22 18:36:59 UTC) #7
lgarron
On 2016/03/22 at 18:36:59, davidben wrote: > Did anything ever happen with this CL? M50 ...
4 years, 9 months ago (2016-03-22 23:05:55 UTC) #8
davidben
On 2016/03/22 23:05:55, lgarron wrote: > On 2016/03/22 at 18:36:59, davidben wrote: > > Did ...
4 years, 9 months ago (2016-03-22 23:13:24 UTC) #9
lgarron
On 2016/03/22 at 23:13:24, davidben wrote: > On 2016/03/22 23:05:55, lgarron wrote: > > On ...
4 years, 9 months ago (2016-03-23 00:53:49 UTC) #10
lgarron
davidben@: Could you review? Based on developer feedback, I've tried to find a good way ...
4 years, 8 months ago (2016-04-09 03:22:50 UTC) #14
lgarron
Also note that I haven't updated tests. I'm gonna start with a dry run just ...
4 years, 8 months ago (2016-04-09 03:26:12 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1727133002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1727133002/60001
4 years, 8 months ago (2016-04-09 03:26:31 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/157119) ios_rel_device_ninja on ...
4 years, 8 months ago (2016-04-09 03:31:50 UTC) #19
davidben
(Catching up on everything from IETF, so I only gave this a cursory look right ...
4 years, 8 months ago (2016-04-11 16:47:01 UTC) #20
lgarron
davidben@: This is now ready for full review. Could you review? See https://crbug.com/551728#c17 (comment 17, ...
4 years, 8 months ago (2016-04-12 02:25:08 UTC) #22
lgarron
davidben@: This is now ready for full review. Could you review? See https://crbug.com/551728#c17 (comment 17, ...
4 years, 8 months ago (2016-04-12 02:25:09 UTC) #23
lgarron
davidben@: Gentle ping. :-) I don't mind taking time for this if we still need ...
4 years, 8 months ago (2016-04-15 22:29:21 UTC) #24
lgarron
pfeldman, could you review //content (2 files) and //third_part/WebKit (2 files)?
4 years, 8 months ago (2016-04-15 22:31:02 UTC) #26
lgarron
msw@chromium.org: Could you also review //chrome (2 files)?
4 years, 8 months ago (2016-04-15 22:33:33 UTC) #28
msw
On 2016/04/15 22:33:33, lgarron wrote: > mailto:msw@chromium.org: Could you also review //chrome (2 files)? Sorry, ...
4 years, 8 months ago (2016-04-15 22:40:27 UTC) #29
lgarron
On 2016/04/15 at 22:40:27, msw wrote: > On 2016/04/15 22:33:33, lgarron wrote: > > mailto:msw@chromium.org: ...
4 years, 8 months ago (2016-04-15 22:50:07 UTC) #30
msw
On 2016/04/15 22:50:07, lgarron wrote: > On 2016/04/15 at 22:40:27, msw wrote: > > On ...
4 years, 8 months ago (2016-04-15 22:57:33 UTC) #31
estark
This looks pretty reasonable to me, mostly nits inline. Didn't look too closely at the ...
4 years, 8 months ago (2016-04-18 11:46:45 UTC) #32
estark
https://codereview.chromium.org/1727133002/diff/80001/net/socket/ssl_client_socket_nss.cc File net/socket/ssl_client_socket_nss.cc (right): https://codereview.chromium.org/1727133002/diff/80001/net/socket/ssl_client_socket_nss.cc#newcode1273 net/socket/ssl_client_socket_nss.cc:1273: IsObsoleteTLSCipherSuite(channel_info.cipherSuite)) { On 2016/04/18 11:46:44, estark wrote: > I ...
4 years, 8 months ago (2016-04-18 11:47:36 UTC) #33
davidben
https://codereview.chromium.org/1727133002/diff/60001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1727133002/diff/60001/chrome/app/generated_resources.grd#newcode14345 chrome/app/generated_resources.grd:14345: The connection to this site is encrypted and authenticated ...
4 years, 8 months ago (2016-04-19 17:47:02 UTC) #34
estark
https://codereview.chromium.org/1727133002/diff/80001/net/socket/ssl_client_socket_nss.cc File net/socket/ssl_client_socket_nss.cc (right): https://codereview.chromium.org/1727133002/diff/80001/net/socket/ssl_client_socket_nss.cc#newcode1273 net/socket/ssl_client_socket_nss.cc:1273: IsObsoleteTLSCipherSuite(channel_info.cipherSuite)) { On 2016/04/19 17:47:01, davidben wrote: > On ...
4 years, 8 months ago (2016-04-19 21:31:47 UTC) #35
lgarron
davidben@, estark@: Thanks for the good suggestions! I've simplified some stuff. Could you take another ...
4 years, 8 months ago (2016-04-25 23:56:54 UTC) #37
estark
On 2016/04/25 23:56:54, lgarron wrote: > davidben@, estark@: Thanks for the good suggestions! I've simplified ...
4 years, 8 months ago (2016-04-26 23:38:57 UTC) #38
davidben
net lgtm https://codereview.chromium.org/1727133002/diff/100001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1727133002/diff/100001/chrome/app/generated_resources.grd#newcode14437 chrome/app/generated_resources.grd:14437: + Secure Connection Nit: Previously this was ...
4 years, 7 months ago (2016-04-29 21:44:13 UTC) #39
estark
Ping. Is this CL just waiting on tests?
4 years, 7 months ago (2016-05-20 22:19:57 UTC) #40
lgarron
On 2016/05/20 at 22:19:57, estark wrote: > Ping. Is this CL just waiting on tests? ...
4 years, 7 months ago (2016-05-20 22:21:13 UTC) #41
pfeldman
On 2016/05/20 22:19:57, estark wrote: > Ping. Is this CL just waiting on tests? Is ...
4 years, 7 months ago (2016-05-23 16:55:16 UTC) #42
lgarron
estark@: Could you review now? A layout test is not useful enough, since the synthesized ...
4 years, 6 months ago (2016-06-14 00:59:42 UTC) #43
estark
https://codereview.chromium.org/1727133002/diff/120001/chrome/browser/ssl/chrome_security_state_model_client.cc File chrome/browser/ssl/chrome_security_state_model_client.cc (right): https://codereview.chromium.org/1727133002/diff/120001/chrome/browser/ssl/chrome_security_state_model_client.cc#newcode111 chrome/browser/ssl/chrome_security_state_model_client.cc:111: } else { no need for else + indentation ...
4 years, 6 months ago (2016-06-15 04:46:09 UTC) #44
estark
friendly ping. Are you still planning to work on this, Lucas?
4 years, 5 months ago (2016-07-11 18:25:49 UTC) #45
davidben
friendly ping. (Someone on IRC was just asking why the "obsolete" indicator was lost.)
4 years, 4 months ago (2016-08-04 18:45:24 UTC) #46
lgarron
estark@, could you review? I think I've addressed everything you brought up. https://codereview.chromium.org/1727133002/diff/120001/chrome/browser/ssl/chrome_security_state_model_client.cc File chrome/browser/ssl/chrome_security_state_model_client.cc ...
4 years, 4 months ago (2016-08-05 23:22:58 UTC) #49
estark
c/b/ssl and components/security_state lgtm https://codereview.chromium.org/1727133002/diff/140001/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/1727133002/diff/140001/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc#newcode179 chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc:179: EXPECT_EQ(TRUE, is_aead); nit: EXPECT_TRUE(is_aead)
4 years, 4 months ago (2016-08-08 18:01:38 UTC) #50
lgarron
https://codereview.chromium.org/1727133002/diff/140001/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/1727133002/diff/140001/chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc#newcode179 chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc:179: EXPECT_EQ(TRUE, is_aead); On 2016/08/08 18:01:38, estark wrote: > nit: ...
4 years, 4 months ago (2016-08-08 20:38:26 UTC) #51
lgarron
felt@: Could you review the 1-line change in chrome/browser/ui/website_settings/website_settings.cc?
4 years, 4 months ago (2016-08-08 21:51:27 UTC) #53
felt
change to chrome/browser/ui/website_settings/website_settings.cc lgtm
4 years, 4 months ago (2016-08-08 21:55:14 UTC) #56
lgarron
estark@: Could you review the changes to c/s/security_state_model_unittest.cc? Pretty straightforward, but I'd rather be safe ...
4 years, 4 months ago (2016-08-09 01:33:03 UTC) #61
estark
components/security_state/security_state_model_unittest.cc lgtm but looks like there are some red bots :(
4 years, 4 months ago (2016-08-09 02:22:07 UTC) #64
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/1727133002/270001
4 years, 4 months ago (2016-08-17 21:39:55 UTC) #79
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/279850)
4 years, 4 months ago (2016-08-17 21:42:58 UTC) #81
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/1727133002/290001
4 years, 4 months ago (2016-08-18 00:17:31 UTC) #84
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/263679)
4 years, 4 months ago (2016-08-18 01:29:29 UTC) #86
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/1727133002/350001
4 years, 4 months ago (2016-08-25 02:19:28 UTC) #101
commit-bot: I haz the power
Committed patchset #16 (id:350001)
4 years, 4 months ago (2016-08-25 06:34:05 UTC) #103
commit-bot: I haz the power
4 years, 4 months ago (2016-08-25 06:36:48 UTC) #105
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/3e2c33e434d9832c8d4883c9264adb5be0e9bf68
Cr-Commit-Position: refs/heads/master@{#414341}

Powered by Google App Engine
This is Rietveld 408576698