[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
+7
View File
@@ -174,6 +174,13 @@ impl EdgeLink {
Ok(v["config_sha256"].as_str().unwrap_or_default().to_owned())
}
/// Re-read the device CA bundle and allow list (works during a trial too).
pub async fn reload_devices(&self) -> Result<(), EdgeLinkError> {
self.call("POST", "/v1/device-certs/reload", None)
.await
.map(|_| ())
}
pub async fn reload_revocations(&self) -> Result<(), EdgeLinkError> {
self.call("POST", "/v1/share-revocations/reload", None)
.await