Sponsor the authors of rustls to add support for the RFC 7250 standard.
The maintainers of rustls are (according to the README):
The Solana Labs client uses the rustls open-source library to establish secure peer-to-peer connections.
Considerable tech debt has been caused by lack of support for “raw public keys”, a TLS extension that simplifies authentication.
rustls only supports heavy web PKI/X.509 authentication, which is primarily designed for the web. The Solana Labs client has had to resort to hacks to get X.509 to work in peer-to-peer networks.
In Firedancer, 10255 lines of code are currently dedicated to supporting these X.509 mock certificates.
Support for RFC 7250 will improve network security and reduce code footprint by tens of thousands of lines of code across Solana peer-to-peer libraries.
See the following related forum posts: