bytecodealliance / bytecodealliance/rustix

sockopt: kTLS options missing

Open
#1,468 0 comments 0 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.