cli: add stdio control server

* signing: implement signing service on the web

* wip

* cli: implement stdio service

This is used to implement the exec server for WSL. Guarded behind a signed handshake.

* update distro

* rm debug

* address pr comments
This commit is contained in:
Connor Peet
2023-05-19 08:19:52 -07:00
committed by GitHub
parent c125687c4d
commit 679bb967c3
19 changed files with 559 additions and 405 deletions

View File

@@ -479,9 +479,18 @@ pub enum CodeError {
PrerequisitesFailed { name: &'static str, bullets: String },
#[error("failed to spawn process: {0:?}")]
ProcessSpawnFailed(std::io::Error),
#[error("failed to handshake spawned process: {0:?}")]
ProcessSpawnHandshakeFailed(std::io::Error),
#[error("download appears corrupted, please retry ({0})")]
CorruptDownload(&'static str),
#[error("port forwarding is not available in this context")]
PortForwardingNotAvailable,
#[error("'auth' call required")]
ServerAuthRequired,
#[error("challenge not yet issued")]
AuthChallengeNotIssued,
#[error("unauthorized client refused")]
AuthMismatch,
}
makeAnyError!(