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

Issue 8362023: Disallow wildcards from matching top-level registry controlled domains during cert validation. (Closed)

Created:
9 years, 2 months ago by Ryan Sleevi
Modified:
9 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., jschuh, Chris Evans
Visibility:
Public.

Description

Disallow wildcards from matching top-level registry controlled domains during cert validation. BUG=100442 TEST=net_unittests:X509CertificateNameVerifyTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107075 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107679

Patch Set 1 #

Patch Set 2 : Require at least 3 host components for unknown/unrecognized domains #

Total comments: 7

Patch Set 3 : Update comment #

Patch Set 4 : Handle npos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -10 lines) Patch
M net/base/x509_certificate.cc View 1 2 3 2 chunks +26 lines, -6 lines 0 comments Download
M net/base/x509_certificate_unittest.cc View 1 3 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Ryan Sleevi
wtc: For review. palmer, joth: FYI. Patchset 1 adopts a looser standard - unknown/unrecognized TLDs ...
9 years, 2 months ago (2011-10-21 01:19:02 UTC) #1
joth
Thanks for taking this on! http://codereview.chromium.org/8362023/diff/2001/net/base/x509_certificate.cc File net/base/x509_certificate.cc (right): http://codereview.chromium.org/8362023/diff/2001/net/base/x509_certificate.cc#newcode523 net/base/x509_certificate.cc:523: // registry-controlled. ah gotcha. ...
9 years, 2 months ago (2011-10-21 09:26:50 UTC) #2
Chris Palmer
http://codereview.chromium.org/8362023/diff/2001/net/base/x509_certificate.cc File net/base/x509_certificate.cc (right): http://codereview.chromium.org/8362023/diff/2001/net/base/x509_certificate.cc#newcode523 net/base/x509_certificate.cc:523: // registry-controlled. Regarding *.intra: I understand this to be ...
9 years, 2 months ago (2011-10-21 17:28:35 UTC) #3
Ryan Sleevi
http://codereview.chromium.org/8362023/diff/2001/net/base/x509_certificate.cc File net/base/x509_certificate.cc (right): http://codereview.chromium.org/8362023/diff/2001/net/base/x509_certificate.cc#newcode523 net/base/x509_certificate.cc:523: // registry-controlled. On 2011/10/21 17:28:36, Chris Palmer wrote: > ...
9 years, 2 months ago (2011-10-21 22:56:35 UTC) #4
palmer
> As it stands today, we already require the three-components, and have for a > ...
9 years, 2 months ago (2011-10-21 23:20:15 UTC) #5
Ryan Sleevi
On 2011/10/21 23:20:15, Chris P. wrote: > > As it stands today, we already require ...
9 years, 2 months ago (2011-10-21 23:25:00 UTC) #6
wtc
Patch Set 2 LGTM. It's better to start strict and loosen later. http://codereview.chromium.org/8362023/diff/2001/net/base/x509_certificate.cc File net/base/x509_certificate.cc ...
9 years, 2 months ago (2011-10-21 23:44:50 UTC) #7
Chris Palmer
Patch Set 2 LGTM also.
9 years, 2 months ago (2011-10-21 23:57:40 UTC) #8
Ryan Sleevi
joth, wtc: Updated the comment. Will land tomorrow if I don't hear any nits.
9 years, 2 months ago (2011-10-22 02:55:35 UTC) #9
joth
http://codereview.chromium.org/8362023/diff/2001/net/base/x509_certificate.cc File net/base/x509_certificate.cc (right): http://codereview.chromium.org/8362023/diff/2001/net/base/x509_certificate.cc#newcode526 net/base/x509_certificate.cc:526: true); On 2011/10/21 22:56:35, Ryan Sleevi wrote: > On ...
9 years, 2 months ago (2011-10-24 09:43:39 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/8362023/14001
9 years, 2 months ago (2011-10-25 05:50:25 UTC) #11
commit-bot: I haz the power
Change committed as 107075
9 years, 2 months ago (2011-10-25 07:05:10 UTC) #12
achuithb
ui tests on mac fail with this change: http://chromegw.corp.google.com/i/chromium/builders/Mac%2010.6%20Tests%20%28dbg%29%281%29/builds/15631/steps/ui_tests/logs/stdio
9 years, 2 months ago (2011-10-25 08:42:52 UTC) #13
wtc
Patch Set 4 LGTM.
9 years, 2 months ago (2011-10-25 20:29:09 UTC) #14
Ryan Sleevi
This had to be reverted, most likely because RegistryControlledDomainService is a Singleton, while Verify() happens ...
9 years, 2 months ago (2011-10-25 22:58:38 UTC) #15
wtc
On 2011/10/25 22:58:38, Ryan Sleevi wrote: > This had to be reverted, most likely because ...
9 years, 2 months ago (2011-10-26 02:09:29 UTC) #16
Ryan Sleevi
On 2011/10/26 02:09:29, wtc wrote: > On 2011/10/25 22:58:38, Ryan Sleevi wrote: > > This ...
9 years, 2 months ago (2011-10-26 02:10:01 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/8362023/14001
9 years, 1 month ago (2011-10-27 20:33:46 UTC) #18
commit-bot: I haz the power
Try job failure for 8362023-14001 (retry) on linux_rel for step "ui_tests". It's a second try, ...
9 years, 1 month ago (2011-10-27 21:34:16 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/8362023/14001
9 years, 1 month ago (2011-10-27 21:37:22 UTC) #20
commit-bot: I haz the power
Try job failure for 8362023-14001 (retry) on linux_rel for step "ui_tests". It's a second try, ...
9 years, 1 month ago (2011-10-27 22:28:39 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/8362023/14001
9 years, 1 month ago (2011-10-28 01:01:47 UTC) #22
commit-bot: I haz the power
9 years, 1 month ago (2011-10-28 02:32:12 UTC) #23
Change committed as 107679

Powered by Google App Engine
This is Rietveld 408576698