CTS to ensure images in VM's boot path use sha256

Android already has CTS to ensure this. Verified boot path in VM also
should use an algorithm at least as strong as sha256 & this should be
tested.

This patch covers this test. For this, we run avbtool info_image on the
images from virt apex & check the output. We do this again after
resigning the image. This ensures the CI covers the test for apex signed
using sign_virt_apex as well as by build infrastructure.

Bug: 263490360
Test: atest MicrodroidHostTests#testAllVbmetaUseSHA256
Change-Id: I92783d45f7841725ce20aa54f62767d2bbf6dd1d
1 file changed
tree: 6adfa2fff239ed86c7cff5fb223323b6a115eefe
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. avmd/
  5. compos/
  6. demo/
  7. docs/
  8. encryptedstore/
  9. javalib/
  10. launcher/
  11. libs/
  12. microdroid/
  13. microdroid_manager/
  14. pvmfw/
  15. rialto/
  16. tests/
  17. virtualizationservice/
  18. vm/
  19. vm_payload/
  20. vmbase/
  21. vmclient/
  22. zipfuse/
  23. .clang-format
  24. .gitignore
  25. Android.bp
  26. OWNERS
  27. PREUPLOAD.cfg
  28. README.md
  29. TEST_MAPPING
README.md

Virtualization

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.