commit | 5d6c5100e735c416a59346fd336ba82be6298b56 | [log] [tgz] |
---|---|---|
author | Bram Bonné <brambonne@google.com> | Wed Feb 24 15:09:18 2021 +0100 |
committer | Bram Bonné <brambonne@google.com> | Mon Mar 08 14:56:44 2021 +0100 |
tree | 7b640a77d69afe95197a1867faba54fdb08a880e | |
parent | 9c0faad65229e9599d42aefa8c95295fde3dd8af [diff] |
Check that caller has correct permissions when attesting device IDs + ran rustfmt to satisfy upload hooks. Bug: 181114803 Test: atest keystore2_test Test: atest KeyAttestationTest Test: Disable all userspace permission checks, generate key setting AttestationUtils.ID_TYPE_SERIAL, ensure it fails with message "Caller does not have the permission to attest device identifiers" Change-Id: Ia458e2b3d850c6a48424de8baceec162cd83e60d