Skip to content

QUIC pluggable crypto to use the protocol as plaintext (for use when cryptography is already handled at another layer, e.g. Wireguard)

Notifications You must be signed in to change notification settings

jeromegn/quinn-plaintext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quinn-plaintext

Use QUIC without encryption.

Normally, data integrity checks are performed by the cryptography layer. As of 0.2.0, there is checksum added to the tag storage to prevent corrupted data to make it through.

This is not recommended unless there's already encryption w/ the underlying layer (e.g. Wireguard)

Usage

Basic examples are available under examples/

Server

let server = quinn::Endpoint::server(quinn_plaintext::server_config(), "[::]:0".parse()?)?;
// ...

Client

let mut client = quinn::Endpoint::client("[::]:0".parse()?)?;
client.set_default_client_config(quinn_plaintext::client_config());
// ...

About

QUIC pluggable crypto to use the protocol as plaintext (for use when cryptography is already handled at another layer, e.g. Wireguard)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages