Skip to content

feat: Implement rustls APIs for QUIC in rustls-graviola#156

Draft
matheus23 wants to merge 5 commits intoctz:mainfrom
matheus23:matheus23/quic
Draft

feat: Implement rustls APIs for QUIC in rustls-graviola#156
matheus23 wants to merge 5 commits intoctz:mainfrom
matheus23:matheus23/quic

Conversation

@matheus23
Copy link
Copy Markdown

@matheus23 matheus23 commented Mar 13, 2026

This takes the jbp-quic branch and adapts it to noq (and rebased it on main).
The only reason for switching to noq is that it supports depending on it with the rustls feature flag without bringing in neither ring nor aws-lc-rs.

Other than that this also implements rustls::quic::PacketKey::{encrypt,decrypt}_in_place_for_path so it supports multipath (I originally did this work to test out using graviola as the crypto provider for iroh).

This is still a draft, as it probably deserves another round of cleanups. quic-client and quic-server duplicate a bit of code (the HmacKey implementation mostly).

From looking through the code it seems like these are the remaining TODOs:

  • Go through dev-dependencies in rustls-graviola to check if they still make sense / order them into the rest
  • Implement/figure out what's up with ChaCha implementations for QUIC
  • Deduplicate code between the quic-client and quic-server examples

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