Skip to content

Add unit tests covering GCP measurement computation and a CI script to run them#1

Open
ameba23 wants to merge 3 commits intoflashbots:mainfrom
ameba23:peg/add-unit-tests
Open

Add unit tests covering GCP measurement computation and a CI script to run them#1
ameba23 wants to merge 3 commits intoflashbots:mainfrom
ameba23:peg/add-unit-tests

Conversation

@ameba23
Copy link
Copy Markdown
Contributor

@ameba23 ameba23 commented May 4, 2026

This adds test coverage for measurement computation for GCP. It checks hashes of a known OS image against observed measurement values from a deployment of that image, using a static hash of GCP firmware associated with the observed MRTD to avoid doing a network fetch during the test.

It also adds a CI script to run tests and a nix flake to add required dependencies for building with the azure feature enabled.

I expect CI has to be enabled to run from this fork in order to test it. I haven't run it locally so there is a fairly good chance that CI wont pass as-is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant