commit | 345dd8b73f0a68fb4c08ab5cb2a7ee175d531526 | [log] [tgz] |
---|---|---|
author | Alice Wang <aliceywang@google.com> | Tue Feb 20 15:32:46 2024 +0000 |
committer | Alice Wang <aliceywang@google.com> | Mon Mar 18 12:22:11 2024 +0000 |
tree | 9736ca204e8ebfa415a7500a9383fdc6044e04a6 | |
parent | c659013189ea3d911b46be4fce9c5c44b5764191 [diff] |
[e2e] Add VM attestation test interacting with RKPD This CL adds an e2e test that interacts with RKPD and the real RKP server. It checks the two major stages of pVM attestation: - AVF key provisioning triggered with RKPD. The CSRs generated by the RKP VM are sent to the real RKP server for attestation. - VM attestation. RKP VM validates the VM requesting attestation and returns a certificate chain covering the public key of a key pair owned by the VM. The test checks the final attestation certificate chain and asks the VM to sign a message with the attestation key, to ensure that the VM holds the correct key pair. It runs on an RKPD variation that has permissions to run a VM. The test target AvfRkpdVmAttestationTestApp is forked from RkpdAppIntegrationTests with additional setup to check VM attestation. It will run on a real device in avf-presubmit in the future as VM attestation is not supported on cuttlefish. The test has been added to avf busytown config in cl/614975596. Bug: 325610326 Test: atest AvfRkpdVmAttestationTestApp Change-Id: Ia6f52d60327be706c6c0c439ed59255358379b13
Android Virtualization Framework (AVF) provides secure and private execution environments for executing code. AVF is ideal for security-oriented use cases that require stronger isolation assurances over those offered by Android’s app sandbox.
Visit our public doc site to learn more about what AVF is, what it is for, and how it is structured. This repository contains source code for userspace components of AVF.
If you want a quick start, see the getting started guideline and follow the steps there.
For in-depth explanations about individual topics and components, visit the following links.
AVF components:
AVF APIs:
How-Tos: