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

Issue 2859123003: Don't reject server and CA certs during device ONC validation (Closed)

Created:
3 years, 7 months ago by pmarko
Modified:
3 years, 7 months ago
Reviewers:
stevenjb, emaxx
CC:
chromium-reviews, tfarina, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't reject server and CA certs during device ONC validation Server and CA certs are not rejected during device ONC validation anymore. They are still not imported into the NSS database because: - no OncCertificateImporter instance exists for device policy - OncCertificateImporter has an additional check to prevent importing server or ca certs from device policy. Still, these certs should pass ONC validation so they can be used to verify the radius server certificate when connecting to EAP-TLS networks on the sign-in screen. Detail: http://go/chromeos-devicewide-eaptls-radiuscert BUG=655266 TEST=Manual test, chromeos_unittests --gtest_filter=ONCValidatorTest* Review-Url: https://codereview.chromium.org/2859123003 Cr-Commit-Position: refs/heads/master@{#472790} Committed: https://chromium.googlesource.com/chromium/src/+/4cc64c6cdb93dcded1e43a51792a2bf7f89714d8

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -45 lines) Patch
M chromeos/network/onc/onc_certificate_importer_impl.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chromeos/network/onc/onc_certificate_importer_impl.cc View 1 4 chunks +14 lines, -9 lines 0 comments Download
M chromeos/network/onc/onc_validator.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M chromeos/network/onc/onc_validator_unittest.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M chromeos/test/data/network/invalid_settings_with_repairs.json View 1 chunk +0 lines, -21 lines 0 comments Download
A chromeos/test/data/network/managed_toplevel_with_server_and_ca_cert.onc View 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
pmarko
Hi Maksim and Steven, please take a look at this change. It allows device policy ...
3 years, 7 months ago (2017-05-17 09:40:21 UTC) #3
stevenjb
https://codereview.chromium.org/2859123003/diff/1/chromeos/network/onc/onc_certificate_importer_impl.cc File chromeos/network/onc/onc_certificate_importer_impl.cc (right): https://codereview.chromium.org/2859123003/diff/1/chromeos/network/onc/onc_certificate_importer_impl.cc#newcode163 chromeos/network/onc/onc_certificate_importer_impl.cc:163: LOG(WARNING) << "Refusing to import certificate from device policy."; ...
3 years, 7 months ago (2017-05-17 16:18:20 UTC) #4
stevenjb
lgtm
3 years, 7 months ago (2017-05-17 16:18:29 UTC) #5
emaxx
lgtm
3 years, 7 months ago (2017-05-17 20:31:21 UTC) #6
pmarko
Thanks! https://codereview.chromium.org/2859123003/diff/1/chromeos/network/onc/onc_certificate_importer_impl.cc File chromeos/network/onc/onc_certificate_importer_impl.cc (right): https://codereview.chromium.org/2859123003/diff/1/chromeos/network/onc/onc_certificate_importer_impl.cc#newcode163 chromeos/network/onc/onc_certificate_importer_impl.cc:163: LOG(WARNING) << "Refusing to import certificate from device ...
3 years, 7 months ago (2017-05-18 12:21:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2859123003/20001
3 years, 7 months ago (2017-05-18 12:22:37 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 13:28:43 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/4cc64c6cdb93dcded1e43a51792a...

Powered by Google App Engine
This is Rietveld 408576698