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

Issue 8662036: Support EC certs in OriginBoundCertService and OriginBoundCertStore. (Closed)

Created:
9 years 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

Support EC certs in OriginBoundCertService and OriginBoundCertStore. OriginBoundCertService::GetOriginBoundCert takes a vector of requested cert types in order of preferrence and will return or generate one of an acceptable type. BUG=88782 TEST=net_unittests, unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113108

Patch Set 1 #

Total comments: 37

Patch Set 2 : rebase #

Patch Set 3 : review changes #

Total comments: 29

Patch Set 4 : rebase #

Patch Set 5 : review changes #

Patch Set 6 : fix compile & clang warnings #

Patch Set 7 : forgot to add new file #

Total comments: 12

Patch Set 8 : review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+875 lines, -241 lines) Patch
M chrome/browser/net/sqlite_origin_bound_cert_store.cc View 1 2 3 4 8 chunks +31 lines, -5 lines 0 comments Download
M chrome/browser/net/sqlite_origin_bound_cert_store_unittest.cc View 1 2 3 4 6 chunks +94 lines, -8 lines 0 comments Download
M crypto/ec_private_key.h View 1 2 3 4 2 chunks +17 lines, -0 lines 0 comments Download
M crypto/ec_private_key_nss.cc View 1 2 3 4 5 3 chunks +82 lines, -52 lines 0 comments Download
M net/base/default_origin_bound_cert_store.h View 1 2 3 4 5 4 chunks +12 lines, -28 lines 0 comments Download
M net/base/default_origin_bound_cert_store.cc View 1 2 3 4 5 5 chunks +7 lines, -22 lines 0 comments Download
M net/base/default_origin_bound_cert_store_unittest.cc View 1 2 3 4 5 5 chunks +53 lines, -28 lines 0 comments Download
M net/base/net_error_list.h View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M net/base/origin_bound_cert_service.h View 1 2 4 chunks +25 lines, -10 lines 0 comments Download
M net/base/origin_bound_cert_service.cc View 1 2 3 4 5 6 7 19 chunks +141 lines, -39 lines 0 comments Download
M net/base/origin_bound_cert_service_unittest.cc View 1 2 3 4 5 6 7 10 chunks +260 lines, -19 lines 0 comments Download
M net/base/origin_bound_cert_store.h View 1 2 3 4 5 6 7 3 chunks +39 lines, -13 lines 0 comments Download
A net/base/origin_bound_cert_store.cc View 1 2 3 4 5 6 1 chunk +23 lines, -0 lines 0 comments Download
A net/base/ssl_client_cert_type.h View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_nss.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 4 6 chunks +55 lines, -15 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
mattm
Doing a proper DB upgrade wasn't that hard, so I just went ahead and did ...
9 years ago (2011-11-24 02:57:39 UTC) #1
Ryan Sleevi
drive by with nits http://codereview.chromium.org/8662036/diff/1/net/base/origin_bound_cert_service.cc File net/base/origin_bound_cert_service.cc (right): http://codereview.chromium.org/8662036/diff/1/net/base/origin_bound_cert_service.cc#newcode214 net/base/origin_bound_cert_service.cc:214: OriginBoundCertType type) nit: Doesn't need ...
9 years ago (2011-11-25 00:07:02 UTC) #2
wtc
Review comments on Patch Set 1: I didn't review the unit tests. The important comments ...
9 years ago (2011-11-30 23:23:40 UTC) #3
wtc
http://codereview.chromium.org/8662036/diff/1/net/base/origin_bound_cert_service_unittest.cc File net/base/origin_bound_cert_service_unittest.cc (right): http://codereview.chromium.org/8662036/diff/1/net/base/origin_bound_cert_service_unittest.cc#newcode325 net/base/origin_bound_cert_service_unittest.cc:325: // work to extract so we use some NSS ...
9 years ago (2011-11-30 23:29:04 UTC) #4
Ryan Sleevi
http://codereview.chromium.org/8662036/diff/1/net/base/origin_bound_cert_service_unittest.cc File net/base/origin_bound_cert_service_unittest.cc (right): http://codereview.chromium.org/8662036/diff/1/net/base/origin_bound_cert_service_unittest.cc#newcode325 net/base/origin_bound_cert_service_unittest.cc:325: // work to extract so we use some NSS ...
9 years ago (2011-11-30 23:35:48 UTC) #5
mattm
http://codereview.chromium.org/8662036/diff/1/net/base/origin_bound_cert_service.cc File net/base/origin_bound_cert_service.cc (right): http://codereview.chromium.org/8662036/diff/1/net/base/origin_bound_cert_service.cc#newcode345 net/base/origin_bound_cert_service.cc:345: job = new OriginBoundCertServiceJob(worker, requested_types[0]); On 2011/11/30 23:23:40, wtc ...
9 years ago (2011-12-01 00:06:27 UTC) #6
mattm
updated http://codereview.chromium.org/8662036/diff/1/chrome/browser/net/sqlite_origin_bound_cert_store.cc File chrome/browser/net/sqlite_origin_bound_cert_store.cc (right): http://codereview.chromium.org/8662036/diff/1/chrome/browser/net/sqlite_origin_bound_cert_store.cc#newcode131 chrome/browser/net/sqlite_origin_bound_cert_store.cc:131: "cert_type INTEGER DEFAULT 1)")) On 2011/11/30 23:23:40, wtc ...
9 years ago (2011-12-02 01:55:59 UTC) #7
wtc
Patch Set 4 LGTM. I reviewed Patch Set 3 (hence the comments are on Patch ...
9 years ago (2011-12-02 22:06:59 UTC) #8
mattm
thanks, updated. http://codereview.chromium.org/8662036/diff/15005/chrome/browser/net/sqlite_origin_bound_cert_store.cc File chrome/browser/net/sqlite_origin_bound_cert_store.cc (right): http://codereview.chromium.org/8662036/diff/15005/chrome/browser/net/sqlite_origin_bound_cert_store.cc#newcode132 chrome/browser/net/sqlite_origin_bound_cert_store.cc:132: "cert_type INTEGER DEFAULT 1)")) On 2011/12/02 22:06:59, ...
9 years ago (2011-12-05 22:19:20 UTC) #9
mattm
updated again (fixed win/mac compile & refactored some to fix the clang warning (removes the ...
9 years ago (2011-12-05 23:34:56 UTC) #10
wtc
Patch Set 7 LGTM. The most important comments are the comments in net/base/net_error_list.h about the ...
9 years ago (2011-12-06 00:18:04 UTC) #11
mattm
thanks, updated again. http://codereview.chromium.org/8662036/diff/26005/net/base/net_error_list.h File net/base/net_error_list.h (right): http://codereview.chromium.org/8662036/diff/26005/net/base/net_error_list.h#newcode518 net/base/net_error_list.h:518: NET_ERROR(ORIGIN_BOUND_CERT_TYPE_UNSUPPORTED, -354) On 2011/12/06 00:18:05, wtc ...
9 years ago (2011-12-06 00:54:01 UTC) #12
wtc
9 years ago (2011-12-06 00:58:52 UTC) #13
Patch Set 8 LGTM.

Powered by Google App Engine
This is Rietveld 408576698