generated from WebAssembly/wasi-proposal-template
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
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
imports
and thus therun
world behind a feature gate, e.g.cli-with-tls
. - Introduce another world in
wasi:cli
, e.g.run-with-tls
orcli-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-handler
and would depend on wasi:tls once it reaches phase 3 and is well supported by the ecosystem, .e.gcli-net-tls
.
Metadata
Metadata
Assignees
Labels
No labels