fix(errors)!: forbid interpolated details in wire-facing internal errors #101

Open
CleverWild wants to merge 101 commits from error-handling-hardening into main
Showing only changes of commit 205227a3df - Show all commits

View File

@@ -194,7 +194,7 @@ pub async fn verify_entity<E: Integrable>(
Ok(false) => Err(Error::MacMismatch {
entity_kind: E::KIND,
}),
Err(SendError::HandlerError(vault::Error::NotBootstrapped)) => {
Err(SendError::HandlerError(vault::Error::Sealed)) => {
Ok(AttestationStatus::Unavailable)
}
Err(_) => Err(Error::VaultSend),