Skip to content

Add attested-tls crate#6

Open
ameba23 wants to merge 27 commits intopeg/add-attestation-cratefrom
peg/attested-tls-crate
Open

Add attested-tls crate#6
ameba23 wants to merge 27 commits intopeg/add-attestation-cratefrom
peg/attested-tls-crate

Conversation

@ameba23
Copy link
Collaborator

@ameba23 ameba23 commented Mar 13, 2026

This adds a the attested TLS crate which provides an attested certificate resolver, providing and handling renewal of TLS certificates with embedded attestations, and an attested certificate verifier, which can verify these attestations during the TLS handshake.

Note: This PR targets peg/add-attestation-crate as i needed stuff from that branch.

Attestation input data is computed as

SHA512(
  Der-encoded public key 
  || not before date as seconds big endian u64
  || not after date as seconds big endian u64
  || hostname
)

Features

  • Both self-signed certificates and private certificate authorities are supported
  • Verifier caches trusted certificates and skips subsequent attestation verification for them
  • Attested client authentication supported

Things to be aware of

@ameba23 ameba23 marked this pull request as draft March 13, 2026 07:41
@ameba23 ameba23 changed the base branch from main to peg/add-attestation-crate March 16, 2026 07:04
@ameba23 ameba23 marked this pull request as ready for review March 16, 2026 10:29
@ameba23 ameba23 requested a review from 0x416e746f6e March 16, 2026 10:29
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