microdroid: Sign images using pvmfw_embedded_key
Alias microdroid_sign_key to pvmfw_embedded_key to express in code the
dependency between them, which was until now only described by a (now
superfluous) comment. As pvmfw_embedded_key is itself an alias for
avb_testkey_rsa4096, no changes are expected from this commit.
Remove the rest of the comment (about different keys) as it seems to be
more confusing than informative.
Bug: 342549834
Test: TH
Change-Id: If7ee5bacfbb2db9dd4a2369290a559c848e3a325
diff --git a/microdroid/Android.bp b/microdroid/Android.bp
index ff17ed1..c6d6090 100644
--- a/microdroid/Android.bp
+++ b/microdroid/Android.bp
@@ -395,12 +395,9 @@
// python -c "import hashlib; print(hashlib.sha256(b'bootloader').hexdigest())"
bootloader_salt = "3b4a12881d11f33cff968a24d7c53723a8232cde9a8d91e29fdbd6a95ae6adf0"
-// Note that keys can be different for filesystem images even though we're using the same key
-// for microdroid. However, the key signing VBmeta should match with the pubkey embedded in
-// bootloader.
filegroup {
name: "microdroid_sign_key",
- srcs: [":avb_testkey_rsa4096"],
+ srcs: [":pvmfw_embedded_key"],
}
soong_config_module_type {