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

Issue 2737483006: Reland Fix handling of device cloud signing policy key rotation (Closed)

Created:
3 years, 9 months ago by emaxx
Modified:
3 years, 9 months ago
CC:
chromium-reviews, hashimoto+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland Fix handling of device cloud signing policy key rotation The original CL (crrev.com/2558543003) was reverted due to the failure of the added test KeyRotationDeviceCloudPolicyTest.Basic. This CL fixes this test by fixing the incorrect usage of DCHECK in the fake class for testing: the DCHECK erroneously contained an actual piece of logic. Original CL's description: > This CL fixes issues with handling of the signing key rotation for the > device policy. There were some issues with not loading the updated > owner key right after the new policy is stored. Even though the key > would eventually be loaded thanks to the OwnerKeySet signal emitted > by the session manager, there may be some window during which the old > key is still used on the Chrome side. > > Also the CL adds a browser end-to-end test for browser policy key > rotation (using a local policy test server). Some fake testing-only > stubs were also fixed in order to support changing the signing keys > (similar to how this is handled by the session manager). > > BUG=671659, 668716 > TEST=new browser test > > Review-Url: https://codereview.chromium.org/2558543003 > Cr-Commit-Position: refs/heads/master@{#454506} > Committed: https://chromium.googlesource.com/chromium/src/+/6581fa97d9ac35a9c541856a0acc04c8be2cfc20 BUG=671659, 668716 TEST=new browser test TBR=stevenjb@chromium.org, atwilson@chromium.org TBR_REASON=The CL is almost identical to the one that was already reviewed, except for fixing a small stupid bug in the test. Review-Url: https://codereview.chromium.org/2737483006 Cr-Commit-Position: refs/heads/master@{#455075} Committed: https://chromium.googlesource.com/chromium/src/+/8aaab6cd51f40e6ca50c01423f64c49d5bbb150f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -20 lines) Patch
M chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc View 5 chunks +179 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/settings/session_manager_operation.cc View 5 chunks +12 lines, -12 lines 0 comments Download
M chromeos/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/fake_session_manager_client.cc View 2 chunks +52 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (8 generated)
Andrew T Wilson (Slow)
lgtm
3 years, 9 months ago (2017-03-07 13:11:27 UTC) #4
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/2737483006/1
3 years, 9 months ago (2017-03-07 14:46:20 UTC) #8
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 14:58:20 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/8aaab6cd51f40e6ca50c01423f64...

Powered by Google App Engine
This is Rietveld 408576698