Skip to content

attested-tls should use the new sync verifier method rather than the async one with block_in_place#35

Merged
ameba23 merged 4 commits into
mainfrom
peg/attested-tls-use-sync-verifier
May 13, 2026
Merged

attested-tls should use the new sync verifier method rather than the async one with block_in_place#35
ameba23 merged 4 commits into
mainfrom
peg/attested-tls-use-sync-verifier

Conversation

@ameba23
Copy link
Copy Markdown
Collaborator

@ameba23 ameba23 commented Apr 24, 2026

This switches attested-tls certificate verification to use the synchronous attestation verifier rather than using tokio::block_in_place to run the async version.

It includes a test which demonstrates that when certification verification fails due to missing collateral in the PCCS, we can wait a moment and re-try, as the PCCS will immediately fetch the missing collateral when this happens. The unmerged 'mock-pck' crate is needed for that, so this PR targets #29

Edit: This is actually now already done in #20 but i think its still worth merging this to have a test covering it.

@ameba23 ameba23 marked this pull request as draft April 24, 2026 08:19
@ameba23 ameba23 marked this pull request as ready for review April 24, 2026 08:59
@ameba23 ameba23 requested a review from 0x416e746f6e May 6, 2026 06:51
Base automatically changed from peg/mock-pck to main May 8, 2026 09:08
Copy link
Copy Markdown
Member

@0x416e746f6e 0x416e746f6e left a comment

Choose a reason for hiding this comment

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

🚢

Comment thread crates/attested-tls/Cargo.toml
Co-authored-by: Anton <anton@northernforest.nl>
@ameba23 ameba23 merged commit e740024 into main May 13, 2026
2 checks passed
@ameba23 ameba23 deleted the peg/attested-tls-use-sync-verifier branch May 13, 2026 15:30
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.

2 participants