Revert "feat: add reverse ssh sandbox targets"

This reverts commit d85f68a176.
This commit is contained in:
vhaudiquet committed 2026-11-29 21:34:09 +01:00
1 parent d85f68a176
commit 4d9530cc34
20 files changed
+38 -893

No files matched your search

+1 -5
View File
@@ -318,7 +318,7 @@ impl WorkerSandbox {
private_key: key,
host_fingerprint: target.host_fingerprint.clone(),
},
allow_private: state.config.allow_private_targets || target.kind == "tunnel",
allow_private: state.config.allow_private_targets,
})
};
self.state
@@ -515,9 +515,6 @@ impl WorkerState {
user_name: self.target.user_name.clone(),
private_key_ciphertext: String::new(),
host_fingerprint: self.target.host_fingerprint.clone(),
// The worker does not use the kind; it is already past the
// target check. A valid value keeps the row honest.
kind: "direct".into(),
}
}
}
@@ -880,7 +877,6 @@ mod smoke {
user_name: "vhaudiquet".into(),
private_key_ciphertext: secrets.seal_str(&key).expect("seal"),
host_fingerprint: None,
kind: "direct".into(),
};
let state = Arc::new(AppState {
config,