bytecodealliance / bytecodealliance/rustix
sockopt: kTLS options missing
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 294
- Avg merge
- 4h 7m
- Merged PRs (30d)
- 2
Description
I'm trying to switch away from nix/libc to this crate & I found that rustix currently doesn't provide functions for enabling kTLS. The `nix` crate provides the following required for kTLS:
- [TcpUlp](https://docs.rs/nix/latest/nix/sys/socket/sockopt/struct.TcpUlp.html)
- [TcpTlsRx](https://docs.rs/nix/latest/nix/sys/socket/sockopt/struct.TcpTlsRx.html)
- [TcpTlsTx](https://docs.rs/nix/latest/nix/sys/socket/sockopt/struct.TcpTlsTx.html)
- [TlsCryptoInfo](https://docs.rs/nix/latest/nix/sys/socket/sockopt/enum.TlsCryptoInfo.html)
I'm willing to work on a PR if someone can tell me how/where to add the equivalent of TlsCryptoInfo.
Contributor guide
Assessment
This issue has not been assessed yet.