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

Issue 2841553002: Allow machine key challenges by signin profiles. (Closed)

Created:
3 years, 8 months ago by The one and only Dr. Crash
Modified:
3 years, 7 months ago
Reviewers:
emaxx
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, dkrahn+watch_chromium.org, emaxx, dkalin1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow machine key challenges by signin profiles. This allows calling chrome.enterprise.platformKeys.challengeMachineKey() from a profile that does not have a user associated with it. BUG=715121 TEST=unit tests Review-Url: https://codereview.chromium.org/2841553002 Cr-Commit-Position: refs/heads/master@{#467991} Committed: https://chromium.googlesource.com/chromium/src/+/8b9e9fcb9eb5c2408d8488f2f619b51ff24d0470

Patch Set 1 #

Patch Set 2 : Undid .h change #

Patch Set 3 : Make dependent CL #

Patch Set 4 : Works in signin profile. #

Patch Set 5 : Removed debugging logs. #

Patch Set 6 : Allow enterprise challenges from login apps. #

Patch Set 7 : Small refactor. #

Patch Set 8 : Removed dependency on API permission which will stay in its own CL #

Patch Set 9 : Renaming. #

Patch Set 10 : Don't need Chrome constants. #

Patch Set 11 : Oops. Welcome back, Chrome constants. #

Patch Set 12 : Renaming. #

Patch Set 13 : Rebased. #

Patch Set 14 : Removed dep. #

Patch Set 15 : Use static methods as available. #

Total comments: 20

Patch Set 16 : Review feedback. #

Patch Set 17 : Format, explicit. #

Patch Set 18 : Rebased #

Total comments: 2

Patch Set 19 : Review nits. #

Messages

Total messages: 51 (38 generated)
The one and only Dr. Crash
3 years, 8 months ago (2017-04-25 15:27:42 UTC) #2
The one and only Dr. Crash
Whitelisted apps on the signing screen are allowed to call remote attestation for enterprise machine ...
3 years, 8 months ago (2017-04-26 09:02:18 UTC) #8
The one and only Dr. Crash
I plan a second CL to ensure that an appropriate error is given for challengeUserKey() ...
3 years, 8 months ago (2017-04-26 09:02:58 UTC) #9
The one and only Dr. Crash
On 2017/04/26 09:02:58, The one and only Dr. Crash wrote: > I plan a second ...
3 years, 8 months ago (2017-04-26 15:06:56 UTC) #16
emaxx
https://codereview.chromium.org/2841553002/diff/280001/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc File chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc (right): https://codereview.chromium.org/2841553002/diff/280001/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc#newcode148 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc:148: return Manifest::IsPolicyLocation(extension_->location()); nit: #include "extensions/common/extension.h" https://codereview.chromium.org/2841553002/diff/280001/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc#newcode342 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc:342: if (!chromeos::ProfileHelper::IsSigninProfile(profile_) ...
3 years, 8 months ago (2017-04-26 21:19:03 UTC) #23
The one and only Dr. Crash
https://codereview.chromium.org/2841553002/diff/280001/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc File chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc (right): https://codereview.chromium.org/2841553002/diff/280001/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc#newcode148 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc:148: return Manifest::IsPolicyLocation(extension_->location()); On 2017/04/26 21:19:02, emaxx wrote: > nit: ...
3 years, 8 months ago (2017-04-26 22:04:14 UTC) #24
emaxx
https://codereview.chromium.org/2841553002/diff/280001/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h File chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h (right): https://codereview.chromium.org/2841553002/diff/280001/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h#newcode121 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h:121: const extensions::Extension* extension_; On 2017/04/26 21:19:03, emaxx wrote: > ...
3 years, 8 months ago (2017-04-26 23:34:44 UTC) #27
The one and only Dr. Crash
3 years, 7 months ago (2017-04-27 20:39:33 UTC) #30
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/2841553002/340001
3 years, 7 months ago (2017-04-27 21:19:32 UTC) #37
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 7 months ago (2017-04-27 21:19:34 UTC) #39
emaxx
LGTM % nits And please add some description to the CL. At least, it should ...
3 years, 7 months ago (2017-04-28 13:03:14 UTC) #44
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/2841553002/360001
3 years, 7 months ago (2017-04-28 13:31:47 UTC) #48
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 14:17:43 UTC) #51
Message was sent while issue was closed.
Committed patchset #19 (id:360001) as
https://chromium.googlesource.com/chromium/src/+/8b9e9fcb9eb5c2408d8488f2f619...

Powered by Google App Engine
This is Rietveld 408576698