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

Issue 2761333002: Add a DevTools warning for a missing subjectAltName (Closed)

Created:
3 years, 9 months ago by Ryan Sleevi
Modified:
3 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a DevTools warning for a missing subjectAltName BUG=703616 Review-Url: https://codereview.chromium.org/2761333002 Cr-Commit-Position: refs/heads/master@{#458631} Committed: https://chromium.googlesource.com/chromium/src/+/74a7a294c2802cf5b65bf0c0d4f44ba093aae216

Patch Set 1 #

Total comments: 10

Patch Set 2 : Feedback and fastpath #

Patch Set 3 : iOS & NSS fix #

Total comments: 14

Patch Set 4 : Clean up the OpenSSL variants & compile fix #

Patch Set 5 : Cross-platform fixes #

Patch Set 6 : NSS fix #

Patch Set 7 : unused variable fix #

Total comments: 4

Patch Set 8 : Feedback & fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -106 lines) Patch
M components/security_state/content/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/security_state/content/content_utils.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M components/security_state/content/content_utils_unittest.cc View 1 2 3 4 5 6 7 2 chunks +26 lines, -0 lines 0 comments Download
M components/security_state/core/security_state.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/security_state/core/security_state.cc View 1 2 chunks +7 lines, -1 line 0 comments Download
M components/security_state/core/security_state_unittest.cc View 1 3 chunks +24 lines, -1 line 0 comments Download
M components/security_state_strings.grdp View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M net/cert/x509_certificate.h View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M net/cert/x509_certificate_ios.cc View 1 2 3 4 3 chunks +32 lines, -28 lines 0 comments Download
M net/cert/x509_certificate_mac.cc View 1 2 chunks +25 lines, -12 lines 0 comments Download
M net/cert/x509_certificate_nss.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M net/cert/x509_certificate_openssl.cc View 1 2 3 4 3 chunks +30 lines, -27 lines 0 comments Download
M net/cert/x509_certificate_unittest.cc View 1 2 chunks +18 lines, -1 line 0 comments Download
M net/cert/x509_certificate_win.cc View 1 2 3 2 chunks +23 lines, -12 lines 0 comments Download
M net/cert/x509_util_nss.h View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M net/cert/x509_util_nss.cc View 1 2 3 4 2 chunks +25 lines, -14 lines 0 comments Download

Messages

Total messages: 49 (31 generated)
Ryan Sleevi
Lucas, Eric: Sending this out before the tests to get feedback on this approach :)
3 years, 9 months ago (2017-03-21 15:59:42 UTC) #2
elawrence
modulo trivial nits, this is exactly what I'd've done and it LGTM. https://codereview.chromium.org/2761333002/diff/1/components/security_state/core/security_state.cc File components/security_state/core/security_state.cc ...
3 years, 9 months ago (2017-03-21 16:22:54 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/2761333002/diff/1/components/security_state/core/security_state.cc File components/security_state/core/security_state.cc (right): https://codereview.chromium.org/2761333002/diff/1/components/security_state/core/security_state.cc#newcode228 components/security_state/core/security_state.cc:228: visible_security_state.certificate.GetSubjectAltName(&dns_names, &ip_addrs); On 2017/03/21 16:22:54, elawrence wrote: > Would ...
3 years, 9 months ago (2017-03-21 16:41:41 UTC) #4
elawrence
https://codereview.chromium.org/2761333002/diff/1/components/security_state/core/security_state.cc File components/security_state/core/security_state.cc (right): https://codereview.chromium.org/2761333002/diff/1/components/security_state/core/security_state.cc#newcode225 components/security_state/core/security_state.cc:225: if (visible_security_state.certificate) { Could we change this to: if ...
3 years, 9 months ago (2017-03-21 16:49:05 UTC) #5
Ryan Sleevi
https://codereview.chromium.org/2761333002/diff/1/components/security_state/core/security_state.cc File components/security_state/core/security_state.cc (right): https://codereview.chromium.org/2761333002/diff/1/components/security_state/core/security_state.cc#newcode225 components/security_state/core/security_state.cc:225: if (visible_security_state.certificate) { On 2017/03/21 16:49:04, elawrence wrote: > ...
3 years, 9 months ago (2017-03-21 16:50:40 UTC) #6
Ryan Sleevi
Eric: What do you think of this optimized approach? :)
3 years, 9 months ago (2017-03-21 19:28:31 UTC) #8
Ryan Sleevi
Adding eroman as //net reviewer for the //net changes
3 years, 9 months ago (2017-03-21 19:28:48 UTC) #10
elawrence
On 2017/03/21 19:28:31, Ryan Sleevi (conf till 3-24) wrote: > Eric: What do you think ...
3 years, 9 months ago (2017-03-21 20:11:33 UTC) #18
eroman
lgtm after these comments https://codereview.chromium.org/2761333002/diff/40001/components/security_state_strings.grdp File components/security_state_strings.grdp (right): https://codereview.chromium.org/2761333002/diff/40001/components/security_state_strings.grdp#newcode20 components/security_state_strings.grdp:20: The certificate for this site ...
3 years, 9 months ago (2017-03-21 21:09:55 UTC) #19
lgarron
I haven't worked with most of this code, but the string construction LGTM. https://codereview.chromium.org/2761333002/diff/40001/components/security_state_strings.grdp File ...
3 years, 9 months ago (2017-03-21 21:22:53 UTC) #20
Ryan Sleevi
On 2017/03/21 21:22:53, lgarron wrote: > I haven't worked with most of this code, but ...
3 years, 9 months ago (2017-03-21 21:38:48 UTC) #21
Ryan Sleevi
https://codereview.chromium.org/2761333002/diff/40001/net/cert/x509_certificate_mac.cc File net/cert/x509_certificate_mac.cc (right): https://codereview.chromium.org/2761333002/diff/40001/net/cert/x509_certificate_mac.cc#newcode223 net/cert/x509_certificate_mac.cc:223: dns_names->clear(); On 2017/03/21 21:09:54, eroman wrote: > Note the ...
3 years, 9 months ago (2017-03-21 21:48:44 UTC) #23
Ryan Sleevi
Ahh, need estark as OWNERS :)
3 years, 9 months ago (2017-03-21 23:03:43 UTC) #34
estark
lgtm with a couple inline comments https://codereview.chromium.org/2761333002/diff/120001/components/security_state/content/content_utils.cc File components/security_state/content/content_utils.cc (right): https://codereview.chromium.org/2761333002/diff/120001/components/security_state/content/content_utils.cc#newcode230 components/security_state/content/content_utils.cc:230: security_style_explanations->unauthenticated_explanations.push_back( I think ...
3 years, 9 months ago (2017-03-21 23:33:03 UTC) #37
Ryan Sleevi
https://codereview.chromium.org/2761333002/diff/120001/components/security_state/content/content_utils.cc File components/security_state/content/content_utils.cc (right): https://codereview.chromium.org/2761333002/diff/120001/components/security_state/content/content_utils.cc#newcode230 components/security_state/content/content_utils.cc:230: security_style_explanations->unauthenticated_explanations.push_back( On 2017/03/21 23:33:03, estark wrote: > I think ...
3 years, 9 months ago (2017-03-22 00:10:47 UTC) #38
estark
https://codereview.chromium.org/2761333002/diff/120001/components/security_state/content/content_utils.cc File components/security_state/content/content_utils.cc (right): https://codereview.chromium.org/2761333002/diff/120001/components/security_state/content/content_utils.cc#newcode230 components/security_state/content/content_utils.cc:230: security_style_explanations->unauthenticated_explanations.push_back( On 2017/03/22 00:10:47, Ryan Sleevi (conf till 3-24) ...
3 years, 9 months ago (2017-03-22 00:16:21 UTC) #39
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/2761333002/140001
3 years, 9 months ago (2017-03-22 02:51:06 UTC) #46
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 04:48:53 UTC) #49
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/74a7a294c2802cf5b65bf0c0d4f4...

Powered by Google App Engine
This is Rietveld 408576698