Skip to content

Upstream the QUIC packet protection to rustls-rustcrypto (and get a release) #11

Description

@lann

Two pieces of this repository exist only because upstream gaps forced them (recorded in rust/tls/README.md and rust/quinn/README.md); both are candidates to contribute upstream and then retire here.

  • rustls-rustcrypto QUIC support: upstream ships quic: None on every suite and a todo!() quic.rs. Our rust/quinn/src/packet.rs (RFC 9001 packet + header protection over RustCrypto, pinned to the Appendix A vectors) is most of the needed PR. Upstreaming moves the QUIC wiring into the provider's own suite definitions and deletes our suite-rebuilding shim (suites.rs).
  • quinn-proto provider-agnostic rustls feature: rustls is a legacy alias for rustls-ring, so enabling quinn's rustls glue hard-wires ring into the tree. A rustls-no-provider-style feature (rustls dep without ring/aws-lc-rs) would let rust/quinn/src/session.rs (vendored, adapted) retire.
  • rustls-rustcrypto release: no usable crates.io release since 0.0.2-alpha (2024); we carry a pinned git dependency. Nudge for a release; drop the git pin when one exists.
  • While the vendored session glue exists, track upstream crypto/rustls.rs changes on quinn-proto upgrades (the adaptation is mechanical but not automatic).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions