commit | 4ef75224bbac42c4e375a0574f59163a47e540d4 | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Wed Oct 26 17:40:50 2022 +0100 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Thu Oct 27 13:52:37 2022 +0100 |
tree | 86f29d96af323c6633204990e7a4596437a86cdc | |
parent | 6ec2ae2debf3c6a0ad7ce906dad1a5d2e4d1607a [diff] |
pvmfw: Use pvmfw_embedded_key from Rust pvmfw will need the key to validate AVB-signed images so wrap it in a rlib to import it into Rust code while making sure Soong is aware of the dependency and handles file paths. As this will be used in the context of AVB, create the module and re-export the PUBLIC_KEY from there. Use a debug! statement in main() to ensure that the key is kept in the final binary by the toolchain. Bug: 255575669 Test: m pvmfw_bin # verify that it contains testkey_rsa4096_pub.bin Change-Id: I840a32a39f113d6becd50bea42b8552e551fee5f
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.