quinn icon indicating copy to clipboard operation
quinn copied to clipboard

Configuration ergonomics for client auth cert?

Open Imberflur opened this issue 1 year ago • 4 comments

I noticed when providing a client authentication certificate via https://docs.rs/rustls/0.23.13/rustls/struct.ConfigBuilder.html#method.with_client_auth_cert, that I end up needing to repeat some of the configuration that is done internally in QuicClientConfig::inner (since I need to use the TryFrom impl to construct a QuicClientConfig).

The configuration for the server side of this is similar.

It seems like it would be nice if there was a way to avoid repeating this configuration (and keeping up to date with it if it needs to change) (assuming this is possible without introducing footguns in the API).

Imberflur avatar Sep 10 '24 20:09 Imberflur