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

Issue 7384002: Added CreateOriginBound method to x509_certificate.h. (Closed)

Created:
9 years, 5 months ago by mdietz
Modified:
9 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Added CreateOriginBound method to x509_certificate.h. This static method branches the CreateSelfSigned code to create a self signed certificate that contains an X509v3 extension that indicates the ASCII weborigin that is bound to the generated certificate. BUG=88782 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98288

Patch Set 1 #

Total comments: 45

Patch Set 2 : Addressed wtc's feedback. #

Patch Set 3 : Cleaned up the Threadsafe OID singleton wrapper class. #

Total comments: 39

Patch Set 4 : Applied wtc's August 3 patch and comments to patch set 3. #

Patch Set 5 : Changed ObCertOIDWrapper from a Singleton to a LeakySingleton to avoid a runtime error. #

Total comments: 18

Patch Set 6 : Code style and nit fixing pass. #

Total comments: 5

Patch Set 7 : Two trybot fixes. #

Total comments: 1

Patch Set 8 : Fixed that indentation error that keeps popping up. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -13 lines) Patch
M net/base/origin_bound_cert_service.cc View 1 2 3 4 5 6 1 chunk +9 lines, -3 lines 0 comments Download
M net/base/x509_certificate.h View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M net/base/x509_certificate_mac.cc View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
M net/base/x509_certificate_nss.cc View 1 2 3 4 5 6 7 5 chunks +150 lines, -10 lines 0 comments Download
M net/base/x509_certificate_openssl.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M net/base/x509_certificate_unittest.cc View 1 2 3 4 5 6 2 chunks +83 lines, -0 lines 0 comments Download
M net/base/x509_certificate_win.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
wtc
Michael, thank you for the patch. In the future please click the "Publish+Mail Comments" to ...
9 years, 5 months ago (2011-07-21 20:01:29 UTC) #1
rkn
On 2011/07/21 20:01:29, wtc wrote: > Michael, thank you for the patch. In the future ...
9 years, 5 months ago (2011-07-22 21:50:22 UTC) #2
wtc
mdietz: thank you for writing the CL, and figuring out how to add an extension ...
9 years, 4 months ago (2011-08-04 00:37:53 UTC) #3
mdietz
http://codereview.chromium.org/7384002/diff/1/net/base/x509_certificate_nss.cc File net/base/x509_certificate_nss.cc (right): http://codereview.chromium.org/7384002/diff/1/net/base/x509_certificate_nss.cc#newcode759 net/base/x509_certificate_nss.cc:759: X509Certificate* X509Certificate::CreateOriginBound( On 2011/08/04 00:37:53, wtc wrote: > The ...
9 years, 4 months ago (2011-08-18 00:02:45 UTC) #4
mdietz
New patch set committed that addresses wtc's comments.
9 years, 4 months ago (2011-08-18 21:59:48 UTC) #5
rkn
http://codereview.chromium.org/7384002/diff/11001/net/base/x509_certificate_nss.cc File net/base/x509_certificate_nss.cc (right): http://codereview.chromium.org/7384002/diff/11001/net/base/x509_certificate_nss.cc#newcode888 net/base/x509_certificate_nss.cc:888: if((ok = CERT_AddExtension(cert_handle, Can you replace all instances of ...
9 years, 4 months ago (2011-08-18 22:59:41 UTC) #6
wtc
mdietz: thank you for Patch Set 3. It seems that you missed a patch I ...
9 years, 4 months ago (2011-08-19 17:38:01 UTC) #7
wtc
Review comments on Patch Set 3: High-level comments: 1. I like your solution of CreateCertificate() ...
9 years, 4 months ago (2011-08-19 18:18:08 UTC) #8
mdietz
Yes, I completely missed that patch when applying the changes to patch set 1. I'll ...
9 years, 4 months ago (2011-08-19 18:43:22 UTC) #9
mdietz
Applied wtc's August 3 patch, addressed patch set 3 comments. New patch set 4 uploaded. ...
9 years, 4 months ago (2011-08-22 20:09:00 UTC) #10
mdietz
Unit tests all pass for this patch set, however once I fixed a build regression ...
9 years, 4 months ago (2011-08-22 23:25:26 UTC) #11
wtc
Review comments on Patch Set 5: This looks good. You should be able to commit ...
9 years, 4 months ago (2011-08-23 01:32:20 UTC) #12
mdietz
All comments acted upon. http://codereview.chromium.org/7384002/diff/22001/net/base/x509_certificate_nss.cc File net/base/x509_certificate_nss.cc (right): http://codereview.chromium.org/7384002/diff/22001/net/base/x509_certificate_nss.cc#newcode40 net/base/x509_certificate_nss.cc:40: } On 2011/08/23 01:32:21, wtc ...
9 years, 4 months ago (2011-08-23 20:52:56 UTC) #13
wtc
LGTM. Please fix the nits below, and upload a new patch set. I assume you ...
9 years, 4 months ago (2011-08-23 21:51:07 UTC) #14
mdietz
I don't think I was ever granted committer privs on the SVN repo. So I ...
9 years, 4 months ago (2011-08-23 22:12:04 UTC) #15
wtc
I created a CL based on your Patch Set 6 and am testing it on ...
9 years, 4 months ago (2011-08-23 22:47:26 UTC) #16
wtc
mdietz: Try server testing shows two changes are required. http://codereview.chromium.org/7384002/diff/24001/net/base/origin_bound_cert_service.cc File net/base/origin_bound_cert_service.cc (right): http://codereview.chromium.org/7384002/diff/24001/net/base/origin_bound_cert_service.cc#newcode330 net/base/origin_bound_cert_service.cc:330: ...
9 years, 4 months ago (2011-08-24 01:39:42 UTC) #17
mdietz
I fixed these issues. Can you rerun this on the try bot for me? On ...
9 years, 4 months ago (2011-08-24 20:10:29 UTC) #18
wtc
LGTM. I am testing Patch Set 7 on the try servers for you. http://codereview.chromium.org/7384002/diff/31001/net/base/x509_certificate_nss.cc File ...
9 years, 4 months ago (2011-08-24 21:35:14 UTC) #19
wtc
Most of the try server results are back. They look good. You can click the ...
9 years, 4 months ago (2011-08-25 01:44:16 UTC) #20
mdietz
Pushed to the commit queue. On 2011/08/25 01:44:16, wtc wrote: > Most of the try ...
9 years, 4 months ago (2011-08-25 17:58:58 UTC) #21
commit-bot: I haz the power
Change committed as 98288
9 years, 4 months ago (2011-08-25 20:29:25 UTC) #22
mdietz
Looks like this patch set was reverted. I took a look at the trybot error ...
9 years, 4 months ago (2011-08-26 01:07:28 UTC) #23
wtc
9 years, 4 months ago (2011-08-26 02:03:13 UTC) #24
On 2011/08/26 01:07:28, mdietz wrote:
> Looks like this patch set was reverted.  I took a look at the trybot error
logs
> and it looks like the errors shown there had nothing to do with this patch
set.

I agree.  This CL should only cause compilation errors or
failure of either rkn's origin-bound cert tests or the new
unit test you added.  If the errors occurred elsewhere, they
are not caused by this CL.

> Is there a process for re-committing?

I am not sure if you can simply click the "Commit" checkbox
in this CL again since this CL has been marked "Closed".

Just create a new CL with the same contents and commit it.
Since you don't have an "owner" status, you'll need to ask
me to review the new CL again.

Powered by Google App Engine
This is Rietveld 408576698