[control] Tests first: Domi CA flows through the API (offline-signed intermediate, domi host chains, device approval by code, one-time install, revocation, no root key) and UI sign-in that refuses a forged Remote-User (red)

This commit is contained in:
2026-11-07 23:11:05 +01:00
parent a5190acc3b
commit 211b851c3e
17 changed files with 3005 additions and 10 deletions
+3
View File
@@ -179,6 +179,8 @@ pub struct JsonResp {
pub headers: Vec<(String, String)>,
pub json: serde_json::Value,
pub text: String,
/// The raw body (for binary answers).
pub body: Vec<u8>,
}
impl JsonResp {
@@ -197,6 +199,7 @@ fn json_resp(r: Resp) -> JsonResp {
headers: r.headers,
json: serde_json::from_str(&text).unwrap_or(serde_json::Value::Null),
text,
body: r.body,
}
}