cli: allow exec server to listen on a port and require token authentication (#188434)

* cli: allow exec server to listen on a port and require token authentication

For remote ssh on Windows where pipe forwarding doesn't work

* fix linux build
This commit is contained in:
Connor Peet
2023-07-21 09:32:20 -07:00
committed by GitHub
parent fb031d4957
commit b5038f81d1
9 changed files with 121 additions and 40 deletions

View File

@@ -509,6 +509,8 @@ pub enum CodeError {
ServerAuthRequired,
#[error("challenge not yet issued")]
AuthChallengeNotIssued,
#[error("challenge token is invalid")]
AuthChallengeBadToken,
#[error("unauthorized client refused")]
AuthMismatch,
#[error("keyring communication timed out after 5s")]