Skip to content

Support portable measurement policies on bare metal - #83

Open
ameba23 wants to merge 2 commits into
mainfrom
peg/support-portable-measurement-on-bare-metal
Open

Support portable measurement policies on bare metal#83
ameba23 wants to merge 2 commits into
mainfrom
peg/support-portable-measurement-on-bare-metal

Conversation

@ameba23

@ameba23 ameba23 commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Following Easy-TEE/attest#22 we want to allow portable measurement policies on bare metal.

Previously the attestation crate had a guard to disallow them as it was not fully implemented.

This PR updates the attest crates and removes that guard. It also makes a change to the measurement policy record structure, as it must now explicitly specify an attestation type to remove ambiguity, as we can no longer assume portable measurements = GcpTdx.

Note for security: Unlike on GCP, we currently have no way to lookup the MRTD value to firmware on bare metal. So currently on bare metal, this will only match RTMR1 and 2, and accept any value for MRTD and RTMR0. So if the firmware is known, it is safer to use a 'standard' measurement policy and give the known MRTD value. If i understand correctly, Easy-TEE/attest#23 will address this.

@ameba23
ameba23 requested a review from alexhulbert August 21, 2026 09:11
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