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

Issue 22327005: Automatically resolve ClientCertificatePatterns. (Closed)

Created:
7 years, 4 months ago by pneubeck (no reviews)
Modified:
7 years, 4 months ago
CC:
chromium-reviews, gauravsh+watch_chromium.org, gspencer+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Automatically resolve ClientCertificatePatterns. This adds a new ClientCertResolver to chromeos/network, which automatically resolves ClientCertificatePatterns and writes the cert id of the matching certificate to Shill. This should fix several issues like updating client certs and auto-connect immediately after installing EAP networks from policy. It's required for Ethernet EAP policies where the current pattern matching on each manual connect isn't sufficient. BUG=234983, 126870 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217257

Patch Set 1 : #

Total comments: 28

Patch Set 2 : Addressed Steven's comments. #

Patch Set 3 : Added more documentation. #

Total comments: 6

Patch Set 4 : Add unit test. #

Patch Set 5 : Fixed comments. #

Total comments: 12

Patch Set 6 : Addressed comments. #

Patch Set 7 : Addressed unit test comments. #

Patch Set 8 : Added more unit tests. #

Patch Set 9 : Fixed yet another issue with CertLoader. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+977 lines, -42 lines) Patch
M chromeos/cert_loader.h View 1 2 3 4 5 4 chunks +17 lines, -3 lines 0 comments Download
M chromeos/cert_loader.cc View 1 2 3 4 5 6 7 8 11 chunks +24 lines, -19 lines 0 comments Download
M chromeos/chromeos.gyp View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
A chromeos/network/client_cert_resolver.h View 1 2 3 4 1 chunk +92 lines, -0 lines 0 comments Download
A chromeos/network/client_cert_resolver.cc View 1 2 3 4 5 6 7 8 1 chunk +450 lines, -0 lines 0 comments Download
A chromeos/network/client_cert_resolver_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +281 lines, -0 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler.h View 1 2 3 8 chunks +17 lines, -2 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler.cc View 7 chunks +50 lines, -12 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler_unittest.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chromeos/network/network_configuration_handler.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/network/network_handler.h View 2 chunks +3 lines, -1 line 0 comments Download
M chromeos/network/network_handler.cc View 4 chunks +11 lines, -4 lines 0 comments Download
A chromeos/network/network_policy_observer.h View 1 chunk +27 lines, -0 lines 0 comments Download
M chromeos/network/network_profile_handler.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
pneubeck (no reviews)
Hi Steven, I tested this CL already quickly with Google-A, and yes! Google-A now automatically ...
7 years, 4 months ago (2013-08-07 16:59:55 UTC) #1
stevenjb
Cool. Some early feedback. Greg should probably review this too when it's ready, now that ...
7 years, 4 months ago (2013-08-07 19:04:51 UTC) #2
pneubeck (no reviews)
https://codereview.chromium.org/22327005/diff/4001/chromeos/network/client_cert_resolver.cc File chromeos/network/client_cert_resolver.cc (right): https://codereview.chromium.org/22327005/diff/4001/chromeos/network/client_cert_resolver.cc#newcode61 chromeos/network/client_cert_resolver.cc:61: }; On 2013/08/07 19:04:51, stevenjb (chromium) wrote: > This ...
7 years, 4 months ago (2013-08-08 12:41:03 UTC) #3
pneubeck (no reviews)
@Greg, please also take a look. Unit tests are still missing, because I must at ...
7 years, 4 months ago (2013-08-08 13:21:30 UTC) #4
stevenjb
waiting for unit tests, but otherwise looks good. https://codereview.chromium.org/22327005/diff/4001/chromeos/network/client_cert_resolver.cc File chromeos/network/client_cert_resolver.cc (right): https://codereview.chromium.org/22327005/diff/4001/chromeos/network/client_cert_resolver.cc#newcode61 chromeos/network/client_cert_resolver.cc:61: }; ...
7 years, 4 months ago (2013-08-08 16:35:11 UTC) #5
pneubeck (no reviews)
Patch set 4 added a unit test (I know, that's not comprehensive yet). That required ...
7 years, 4 months ago (2013-08-09 22:07:44 UTC) #6
stevenjb
I only looked at the unittest briefly, I'll try to look more closely over the ...
7 years, 4 months ago (2013-08-09 22:22:43 UTC) #7
pneubeck (no reviews)
https://codereview.chromium.org/22327005/diff/40001/chromeos/cert_loader.h File chromeos/cert_loader.h (right): https://codereview.chromium.org/22327005/diff/40001/chromeos/cert_loader.h#newcode74 chromeos/cert_loader.h:74: // before SetCryptoTaskRunner(). On 2013/08/09 22:22:44, stevenjb (chromium) wrote: ...
7 years, 4 months ago (2013-08-09 22:46:43 UTC) #8
pneubeck (no reviews)
This CL depends on https://codereview.chromium.org/22588002/ (Refactor the client certificate code in chromeos/network/) and https://codereview.chromium.org/22588002/ (Make ...
7 years, 4 months ago (2013-08-09 22:50:57 UTC) #9
stevenjb
unittest nits https://codereview.chromium.org/22327005/diff/40001/chromeos/network/client_cert_resolver_unittest.cc File chromeos/network/client_cert_resolver_unittest.cc (right): https://codereview.chromium.org/22327005/diff/40001/chromeos/network/client_cert_resolver_unittest.cc#newcode38 chromeos/network/client_cert_resolver_unittest.cc:38: //const char* kFakePEM = "pem"; remove until ...
7 years, 4 months ago (2013-08-10 00:11:57 UTC) #10
pneubeck (no reviews)
https://codereview.chromium.org/22327005/diff/40001/chromeos/network/client_cert_resolver_unittest.cc File chromeos/network/client_cert_resolver_unittest.cc (right): https://codereview.chromium.org/22327005/diff/40001/chromeos/network/client_cert_resolver_unittest.cc#newcode38 chromeos/network/client_cert_resolver_unittest.cc:38: //const char* kFakePEM = "pem"; On 2013/08/10 00:11:58, stevenjb ...
7 years, 4 months ago (2013-08-11 18:37:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/22327005/98001
7 years, 4 months ago (2013-08-12 15:45:29 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) chromeos_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=144824
7 years, 4 months ago (2013-08-12 17:32:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/22327005/115001
7 years, 4 months ago (2013-08-12 20:50:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/22327005/115001
7 years, 4 months ago (2013-08-13 15:04:53 UTC) #15
commit-bot: I haz the power
7 years, 4 months ago (2013-08-13 15:30:08 UTC) #16
Message was sent while issue was closed.
Change committed as 217257

Powered by Google App Engine
This is Rietveld 408576698