Skip to content

Add type-erased TLS metadata to rustls handshake data#2670

Open
iadev09 wants to merge 2 commits into
quinn-rs:mainfrom
iadev09:tls-version-cipher-metadata
Open

Add type-erased TLS metadata to rustls handshake data#2670
iadev09 wants to merge 2 commits into
quinn-rs:mainfrom
iadev09:tls-version-cipher-metadata

Conversation

@iadev09

@iadev09 iadev09 commented Jun 4, 2026

Copy link
Copy Markdown

Closes #2662.

This adds the negotiated TLS protocol version and cipher suite to rustls HandshakeData as type-erased values (Box<dyn Any>).

I also extended the existing alpn_success test to cover the new metadata.

Comment thread quinn-proto/src/crypto/rustls.rs Outdated
Comment thread quinn-proto/src/crypto/rustls.rs
@iadev09 iadev09 force-pushed the tls-version-cipher-metadata branch 2 times, most recently from 9bad3a2 to 5e9ed13 Compare June 5, 2026 15:32
Comment thread quinn-proto/src/crypto/rustls.rs Outdated
Comment thread quinn-proto/src/crypto/rustls.rs Outdated
@iadev09 iadev09 force-pushed the tls-version-cipher-metadata branch from 5e9ed13 to 912f785 Compare June 5, 2026 18:15
@djc

djc commented Jun 5, 2026

Copy link
Copy Markdown
Member

Please rebase instead of adding merge commits.

@iadev09 iadev09 force-pushed the tls-version-cipher-metadata branch from 3dca192 to 364beb7 Compare June 5, 2026 20:16
@iadev09

iadev09 commented Jun 5, 2026

Copy link
Copy Markdown
Author

Rebased.

@iadev09 iadev09 requested a review from djc June 9, 2026 03:34
@iadev09 iadev09 force-pushed the tls-version-cipher-metadata branch from 364beb7 to d85ab6f Compare June 9, 2026 05: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.

Expose negotiated TLS metadata for QUIC connections

2 participants