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

Issue 8537025: Allow signing EC certs and creating EC origin-bound certs. (Closed)

Created:
9 years, 1 month ago by mattm
Modified:
9 years ago
Reviewers:
wtc, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

ReReland: Allow signing EC certs and creating EC origin-bound certs. BUG=88782 TEST=X509UtilNSSTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112780

Patch Set 1 #

Total comments: 10

Patch Set 2 : review changes #

Patch Set 3 : win compile fix #

Patch Set 4 : openssl compile fix #

Total comments: 2

Patch Set 5 : fix unittest memleak, fix unittest on OSX 10.5 #

Total comments: 2

Patch Set 6 : add http://crbug.com/101231 reference #

Total comments: 2

Patch Set 7 : do tests with NSS instead of X509Certificate #

Patch Set 8 : leak fix #

Patch Set 9 : oops #

Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -98 lines) Patch
M crypto/crypto.gyp View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M crypto/third_party/nss/chromium-nss.h View 2 chunks +9 lines, -0 lines 0 comments Download
A crypto/third_party/nss/secsign.cc View 1 2 1 chunk +130 lines, -0 lines 0 comments Download
M net/base/origin_bound_cert_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/base/x509_util.h View 2 chunks +11 lines, -5 lines 0 comments Download
M net/base/x509_util_nss.cc View 1 5 chunks +99 lines, -64 lines 0 comments Download
M net/base/x509_util_nss_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +105 lines, -23 lines 0 comments Download
M net/base/x509_util_openssl.cc View 2 chunks +11 lines, -1 line 0 comments Download
M net/base/x509_util_openssl_unittest.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
mattm
(wtc: fyi, the problem I was seeing with verifying the RSA cert was because I ...
9 years, 1 month ago (2011-11-11 23:35:04 UTC) #1
wtc
On 2011/11/11 23:35:04, mattm wrote: > (wtc: fyi, the problem I was seeing with verifying ...
9 years, 1 month ago (2011-11-15 03:10:36 UTC) #2
wtc
Patch Set 1 LGTM. http://codereview.chromium.org/8537025/diff/1/crypto/third_party/nss/secsign.cc File crypto/third_party/nss/secsign.cc (right): http://codereview.chromium.org/8537025/diff/1/crypto/third_party/nss/secsign.cc#newcode61 crypto/third_party/nss/secsign.cc:61: if (key->keyType != ecKey) Add ...
9 years, 1 month ago (2011-11-15 03:10:57 UTC) #3
mattm
On 2011/11/15 03:10:36, wtc wrote: > On 2011/11/11 23:35:04, mattm wrote: > > (wtc: fyi, ...
9 years, 1 month ago (2011-11-15 04:13:20 UTC) #4
mattm
http://codereview.chromium.org/8537025/diff/1/crypto/third_party/nss/secsign.cc File crypto/third_party/nss/secsign.cc (right): http://codereview.chromium.org/8537025/diff/1/crypto/third_party/nss/secsign.cc#newcode61 crypto/third_party/nss/secsign.cc:61: if (key->keyType != ecKey) On 2011/11/15 03:10:57, wtc wrote: ...
9 years, 1 month ago (2011-11-15 05:42:31 UTC) #5
wtc
Patch Set 4 LGTM. http://codereview.chromium.org/8537025/diff/1/crypto/third_party/nss/secsign.cc File crypto/third_party/nss/secsign.cc (right): http://codereview.chromium.org/8537025/diff/1/crypto/third_party/nss/secsign.cc#newcode102 crypto/third_party/nss/secsign.cc:102: rv = PK11_Sign(key, &sig, &hash); ...
9 years, 1 month ago (2011-11-15 06:15:01 UTC) #6
wtc
On 2011/11/15 04:13:20, mattm wrote: > > It looks like this is because the signature ...
9 years, 1 month ago (2011-11-15 06:37:53 UTC) #7
mattm
http://codereview.chromium.org/8537025/diff/1/crypto/third_party/nss/secsign.cc File crypto/third_party/nss/secsign.cc (right): http://codereview.chromium.org/8537025/diff/1/crypto/third_party/nss/secsign.cc#newcode102 crypto/third_party/nss/secsign.cc:102: rv = PK11_Sign(key, &sig, &hash); On 2011/11/15 06:15:01, wtc ...
9 years, 1 month ago (2011-11-16 01:41:12 UTC) #8
wtc
On 2011/11/16 01:41:12, mattm wrote: > > On 2011/11/15 06:15:01, wtc wrote: > > This ...
9 years, 1 month ago (2011-11-16 05:29:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/8537025/3004
9 years, 1 month ago (2011-11-16 21:37:54 UTC) #10
mattm
On 2011/11/15 06:37:53, wtc wrote: > On 2011/11/15 04:13:20, mattm wrote: > > > > ...
9 years, 1 month ago (2011-11-16 22:35:44 UTC) #11
commit-bot: I haz the power
Change committed as 110393
9 years, 1 month ago (2011-11-17 00:34:35 UTC) #12
Ryan Sleevi
http://codereview.chromium.org/8537025/diff/16001/net/base/x509_util_nss_unittest.cc File net/base/x509_util_nss_unittest.cc (right): http://codereview.chromium.org/8537025/diff/16001/net/base/x509_util_nss_unittest.cc#newcode190 net/base/x509_util_nss_unittest.cc:190: // so skipping this part of the test should ...
9 years, 1 month ago (2011-11-17 23:25:00 UTC) #13
mattm
hey, I hadn't even hit send yet! Updated again :) http://codereview.chromium.org/8537025/diff/16001/net/base/x509_util_nss_unittest.cc File net/base/x509_util_nss_unittest.cc (right): http://codereview.chromium.org/8537025/diff/16001/net/base/x509_util_nss_unittest.cc#newcode190 ...
9 years, 1 month ago (2011-11-17 23:57:15 UTC) #14
wtc
Patch Set 6 LGTM. The function name VerifyX509CertificateParsing is not ideal because it doesn't point ...
9 years ago (2011-11-30 20:30:00 UTC) #15
mattm
http://codereview.chromium.org/8537025/diff/3004/net/base/x509_util_nss_unittest.cc File net/base/x509_util_nss_unittest.cc (right): http://codereview.chromium.org/8537025/diff/3004/net/base/x509_util_nss_unittest.cc#newcode122 net/base/x509_util_nss_unittest.cc:122: der_cert.data(), der_cert.size()); On 2011/11/30 20:30:02, wtc wrote: > An ...
9 years ago (2011-12-01 00:18:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/8537025/24001
9 years ago (2011-12-01 00:19:33 UTC) #17
commit-bot: I haz the power
Change committed as 112385
9 years ago (2011-12-01 02:59:32 UTC) #18
mattm
Third time's a charm? (fix unittest leak, and sending changes separately for the win_shared exports.)
9 years ago (2011-12-01 20:17:08 UTC) #19
wtc
9 years ago (2011-12-01 21:58:27 UTC) #20
Patch Set 9 LGTM.

Powered by Google App Engine
This is Rietveld 408576698