WebAssembly / WebAssembly/WASI
Should wasi-tls be imported in the wasi:cli world?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 5.8k
- Forks
- 333
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 3
Description
Today we do not import wasi:tls in the worlds that we encourage runtimes to support, e.g. wasi:cli/run and wasi:http/proxy.
Should wasi:cli/run remain strictly to features of POSIX or is the intention to provide features that most CLI programs need (including SSL/TLS)? Today sockets are supported but making requests for insecure sockets is (or at least should be) rare.
Some options:
- Add wasi:tls to
importsand thus therunworld behind a feature gate, e.g.cli-with-tls. - Introduce another world in
wasi:cli, e.g.run-with-tlsorcli-secure - Add a world to the wasi:tls proposal that is essentially the above,
wasi:tls/run - Introduce a different batteries included proposal. I often write programs that import both
wasi:cli/imports+wasi:http/outgoing-handlerand would depend on wasi:tls once it reaches phase 3 and is well supported by the ecosystem, .e.gcli-net-tls.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the wasi:cli/run and wasi:http/proxy worlds and how they currently relate to wasi:tls. Review the listed alternatives, including feature-gated imports and additional worlds, and determine which approach best defines TLS support for common CLI programs. Done means reaching a clear decision on the world and feature design.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100