xmpp-rs/tokio-xmpp
Emmanuel Gil Peyrot c24275c098 tokio-xmpp: Add support for kernel TLS
This drastically improve the debuggability of the network parts, by
moving the task of encrypting/decrypting TLS packets from userland to
the kernel.  This makes them appear in clear in strace as sendto() and
recvfrom().

I introduced a new tls-rust-ktls feature which depends on both rustls
and ktls, but isn’t enabled by default since it probably isn’t available
on every computer.  It requires the tls kernel module to be loaded,
which then can offload encryption/decryption to dedicated hardware if
available.

I have tested this change on Linux 6.11 on a rk3588.
2024-09-17 20:45:41 +00:00
..
examples tokio-xmpp: Run rustfmt on that one example 2024-09-16 23:32:49 +02:00
src tokio-xmpp: Add support for kernel TLS 2024-09-17 20:45:41 +00:00
.gitignore Prepare for merge: Move all tokio-xmpp files into tokio-xmpp/ 2019-10-18 14:16:01 +02:00
Cargo.toml tokio-xmpp: Add support for kernel TLS 2024-09-17 20:45:41 +00:00
ChangeLog tokio_xmpp: introduce xmlstream module 2024-08-29 16:42:57 +02:00
logo.svg Prepare for merge: Move all tokio-xmpp files into tokio-xmpp/ 2019-10-18 14:16:01 +02:00
README.md tokio-xmpp: remove obsolete TODOs 2020-03-16 00:11:52 +01:00

TODO

  • allow tls verify customization
  • more tests