[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user