You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initial implementation of Wasi-tls (Transport Layer Security) (#10249)
* Initial implementation of wasi-tls
This crate provides the Wasmtime host implementation for the [wasi-tls] API.
The [wasi-tls] world allows WebAssembly modules to perform SSL/TLS operations,
such as establishing secure connections to servers. TLS often relies on other wasi networking systems
to provide the stream so it will be common to enable the [wasi:cli] world as well with the networking features enabled.
The initial implemntation is using rustls.
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
* Remove configuration object for now
Signed-off-by: James Sturtevant <jstur@microsoft.com>
* Update cargo patch to use temp branch
Signed-off-by: James Sturtevant <jstur@microsoft.com>
* Rename tcp streams to wasistreams to be more generic
Signed-off-by: James Sturtevant <jstur@microsoft.com>
* gate the wasi-tls ctx behind a feature
Signed-off-by: James Sturtevant <jstur@microsoft.com>
* cleanup and clippy fixes
Signed-off-by: James Sturtevant <jstur@microsoft.com>
* Fix issue when another pollable cancels
Signed-off-by: James Sturtevant <jstur@microsoft.com>
* prtest:full
Signed-off-by: James Sturtevant <jstur@microsoft.com>
* Skip test on riscv64/s390x
Signed-off-by: James Sturtevant <jstur@microsoft.com>
* Drop debug info to support tests on pulley based platforms
Signed-off-by: James Sturtevant <jstur@microsoft.com>
* Update signature of `close-notify`
* Use draft version
Signed-off-by: James Sturtevant <jstur@microsoft.com>
* Remove patches
Signed-off-by: James Sturtevant <jstur@microsoft.com>
* Ungate tls on riscv64 and s390x
* Un-gate wais-http on riscv64/s390x as well
* Add wasmtime-wasi-tls to publish list
* Add wasmtime-wasi-tls to public API crate list
* Revert some changes to Cargo.lock
---------
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
Signed-off-by: James Sturtevant <jstur@microsoft.com>
Co-authored-by: badeend <github@davebakker.io>
Co-authored-by: Alex Crichton <alex@alexcrichton.com>
0 commit comments