fix(server::integrity): vault now differentias between expected/unexpected states for commands more granularly
This commit is contained in:
@@ -194,7 +194,7 @@ pub async fn verify_entity<E: Integrable>(
|
|||||||
Ok(false) => Err(Error::MacMismatch {
|
Ok(false) => Err(Error::MacMismatch {
|
||||||
entity_kind: E::KIND,
|
entity_kind: E::KIND,
|
||||||
}),
|
}),
|
||||||
Err(SendError::HandlerError(vault::Error::NotBootstrapped)) => {
|
Err(SendError::HandlerError(vault::Error::Sealed)) => {
|
||||||
Ok(AttestationStatus::Unavailable)
|
Ok(AttestationStatus::Unavailable)
|
||||||
}
|
}
|
||||||
Err(_) => Err(Error::VaultSend),
|
Err(_) => Err(Error::VaultSend),
|
||||||
|
|||||||
Reference in New Issue
Block a user