Skip to content

Make it possible to extract measurements from an attested certificate without verifying#10

Open
ameba23 wants to merge 2 commits intopeg/attested-tls-cratefrom
peg/attested-tls-expose-cert-verifier
Open

Make it possible to extract measurements from an attested certificate without verifying#10
ameba23 wants to merge 2 commits intopeg/attested-tls-cratefrom
peg/attested-tls-expose-cert-verifier

Conversation

@ameba23
Copy link
Collaborator

@ameba23 ameba23 commented Mar 19, 2026

During an attested-TLS session there are some cases where we would want to know the measurements from the attestation after the attestation has been verified during the initial handshake.

For example, the Buildernet workflow includes measurements from the session in HTTP request and response headers, so that the HTTP client / server has a further opportunity to verify them.

This PR makes it possible to extract the measurements from a certificate without fully verifying it (since the verification should have already taken place.

It does this by publicly exposing the method to extract the attestation from the certificate, and adding a method to get measurements from an attestation without verifying, for both Azure vTPM and DCAP.

@ameba23 ameba23 changed the base branch from peg/add-attestation-crate to peg/attested-tls-crate March 19, 2026 14:00
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