Add explicit environment propagation
This commit is contained in:
@@ -46,6 +46,14 @@ pub struct NativeClientHello {
|
||||
pub supported_user_key_algorithms: Vec<String>,
|
||||
pub cached_host_key_fingerprint: Option<String>,
|
||||
pub attach_ticket_envelope: Option<Vec<u8>>,
|
||||
#[serde(default)]
|
||||
pub requested_env: Vec<EnvVar>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||
pub struct EnvVar {
|
||||
pub name: String,
|
||||
pub value: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||
@@ -1234,6 +1242,7 @@ mod tests {
|
||||
supported_user_key_algorithms: vec!["ssh-ed25519".to_string()],
|
||||
cached_host_key_fingerprint: None,
|
||||
attach_ticket_envelope: None,
|
||||
requested_env: Vec::new(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user