Skip to content

Flashbox: Use attested TLS proxy 2.0.2 and update documentation and release pipeline for new measurement flow - #189

Draft
ameba23 wants to merge 6 commits into
peg/measure-portablefrom
peg/flashbox-use-attested-tls-proxy-2.0.0
Draft

Flashbox: Use attested TLS proxy 2.0.2 and update documentation and release pipeline for new measurement flow#189
ameba23 wants to merge 6 commits into
peg/measure-portablefrom
peg/flashbox-use-attested-tls-proxy-2.0.0

Conversation

@ameba23

@ameba23 ameba23 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This makes Flashbox use the latest release of attested-tls-proxy which accepts 'portable' measurement policies where OS image hashes rather than TDX measurement values are specified.

It updates the documentation explaining how to build these hashes and check them against an attestation from a flashbox deployment.

It also updates the release pipeline to include these 'portable' measurements rather than TDX measurement values.

Note this targets #185 - so i am trying out stacked PRs for the first time here.

I have tested it with a basic Flashbox-L1 deployment and was able to successfully validate against portable hashes. But i have not made a test release of flashbots-images to check the changes to the release pipeline.

Edit: Updated to attested-tls-proxy 2.0.2 which updates dcap-qvl to mitigate INTEL-SA-01421. Tested on a flashbox-l1 GCP deployment.

@ameba23
ameba23 requested review from a team as code owners August 3, 2026 11:07
> Note: at the time of the writing, those measurements were acquired by building from commit ef5dd2727ba4569d530c67822dc96778f54a295a, if you're viewing this from main branch please ensure to build from the same commit to get the same measurements.
Check that the contents of this file is identical to the same file in the [release assets of the flashbots-image release](https://github.com/flashbots/flashbots-images/releases) you are building.

> Note: at the time of the writing, compiling flashbox-l1 image is not reproducible if building under ARM mac with Rosetta. Please use x86_64 Linux for now.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still the case?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexhulbert , is the fix for this already merged?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe #175 fixed it?

echo " curl -si http://127.0.0.1:8080 | grep -q X-Flashbots-Measurement && echo '✅ VM matches YOUR build' || echo '❌ mismatch'"
echo " git clone https://github.com/flashbots/attested-tls-proxy"
echo " cd attested-tls-proxy"
printf '%s\n' " cargo run -- attested-get --allow-self-signed --measurements-file ../build/portable_measurements.json <your-instance-ip>:8745/pubkey && printf '\\n✅ VM matches YOUR build\\n'"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had issues with escaping the newlines, so using printf rather than echo.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pablin-10 could you check and assist @ameba23 with this issue please?

@pablin-10 pablin-10 Aug 14, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This did the trick:

404e93f

Tested here:
https://github.com/flashbots/flashbots-images/releases/tag/untagged-5f9a1c1936f63a5f30dc

I've cherry-picked over here

@ameba23
ameba23 force-pushed the peg/flashbox-use-attested-tls-proxy-2.0.0 branch from 5db5b08 to 9cf6af9 Compare August 3, 2026 11:36
@ameba23 ameba23 changed the title Flashbox: Use attested TLS proxy 2.0.1 and update documentation and release pipeline for new measurement flow Flashbox: Use attested TLS proxy 2.0.2 and update documentation and release pipeline for new measurement flow Aug 13, 2026
@ameba23

ameba23 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

@pablin-10 found an blocking issue: Easy-TEE/attest#20

I am converting this back to draft until this is fixed

@ameba23
ameba23 marked this pull request as draft August 14, 2026 07:55
@pablin-10
pablin-10 marked this pull request as ready for review August 14, 2026 13:13
@pablin-10
pablin-10 marked this pull request as draft August 14, 2026 13:13

@pablin-10 pablin-10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and working, missing a fix on attest only, and I think we can merge.

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.

3 participants