summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Dave McCloskey <dlm@google.com> 2024-04-23 14:36:40 -0700
committer Dave McCloskey <dlm@google.com> 2024-05-10 14:35:28 -0700
commitb2c0c227f92a05d1612417fbbc448f0f30886627 (patch)
treec40f2699e7527097bee851ac9319e2757db0ccba /libs/androidfw/StringPool.cpp
parent11b1ccafe75b0140ff8c8204bdd74acdb81b1cfa (diff)
Add a dumpsys implementation for attestation_verification service.
Example output: $ adb shell dumpsys attestation_verification AttestationVerificationManagerService Event Log: Verification #2 [2024-04-25 22:09:52] Result: FAILURE(2) Certificate Chain Valid (inc. Trust Anchor): FAILURE Verification #1 [2024-04-25 22:08:37] Result: FAILURE(2) Certificate Chain Valid (inc. Trust Anchor): FAILURE Seeing a result from dumpsys that doesn't fail will need to wait until there is a user-signed build to test on a locked device. However, here's an example output from a unit test: 04-25 15:23:23.954 408 467 D AVFTest : Verification #1 [2024-04-25 22:23:23] 04-25 15:23:23.954 408 467 D AVFTest : Result: FAILURE(2) 04-25 15:23:23.954 408 467 D AVFTest : Certificate Chain Valid (inc. Trust Anchor): OK 04-25 15:23:23.954 408 467 D AVFTest : Local Binding: OK 04-25 15:23:23.954 408 467 D AVFTest : Binding Type: 3 04-25 15:23:23.954 408 467 D AVFTest : System Ownership: FAILURE 04-25 15:23:23.954 408 467 D AVFTest : KeyStore Attestation Parameters 04-25 15:23:23.954 408 467 D AVFTest : OS Version >= 10: OK 04-25 15:23:23.954 408 467 D AVFTest : OS Patch Level in Range: OK 04-25 15:23:23.954 408 467 D AVFTest : Attestation Version >= 3: OK 04-25 15:23:23.954 408 467 D AVFTest : Keymaster Version >= 4: OK 04-25 15:23:23.954 408 467 D AVFTest : Keymaster HW-Backed: OK 04-25 15:23:23.954 408 467 D AVFTest : Key is HW Backed: OK 04-25 15:23:23.954 408 467 D AVFTest : Boot State is VERIFIED: OK 04-25 15:23:23.954 408 467 D AVFTest : Verified Boot is LOCKED: OK 04-25 15:23:23.954 408 467 D AVFTest : Key Boot Level in Range: OK 04-25 15:23:23.954 408 467 D AVFTest : Key Vendor Patch Level in Range: OK Bug: 335498868 Test: atest AttestationVerificationTest Change-Id: Iea0b19b3c3a25c5800ebd6fad85c0829a2cfa2b1 Flag: android.security.dump_attestation_verifications
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions