Send device DMToken in cert provisioning requests if affiliated
If the Chrome OS user is affiliated, include the device DMToken in the device_dm_token field of ClientCertificateProvisioningRequest when creating certificate provisioning requests. Background on implementation: CloudPolicyClient already has knowledge of the device DMToken since https://chromium-review.googlesource.com/c/chromium/src/+/907568/ . For non-affiliated users or for CloudPolicyClient instances that are not specific to a Chrome OS user / device-local account, the device DMToken is empty. This CL reuses that field and implicitly fills the device_dm_token for certificate provisioning requests. Bug: 1143283 Change-Id: Icf93c7d62d96c9e428ac58adfc98e49cd4468de3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567156 Commit-Queue: Pavol Marko <pmarko@chromium.org> Reviewed-by:Michael Ershov <miersh@google.com> Cr-Commit-Position: refs/heads/master@{#833024}
Showing
Please register or sign in to comment