Skip to content

AttestedVerifier should return matched ExpectedMeasurements on successful verification - #79

Open
ameba23 wants to merge 2 commits into
peg/dynamic-measurement-policiesfrom
peg/verifier-returns-expected-measurements
Open

AttestedVerifier should return matched ExpectedMeasurements on successful verification#79
ameba23 wants to merge 2 commits into
peg/dynamic-measurement-policiesfrom
peg/verifier-returns-expected-measurements

Conversation

@ameba23

@ameba23 ameba23 commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

This is needed for Buildernet in order to be able to put the matched portable image hashes in HTTP headers.

Rather than returning the actual observed measurements on successful attestation verification, we return which of our measurement policies was successfully matched. This means in the case of image hashes, they are returned.

This also adds helpers for converting ExpectedMeasurements to and from JSON header values.

@ameba23
ameba23 force-pushed the peg/verifier-returns-expected-measurements branch from 83fcdf8 to 2eb731a Compare August 13, 2026 06:49
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