subscription: properly forward verification error
when verifying the server response used for offline mirror keys. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
d55816e9dd
commit
a6e03dfe42
@ -82,7 +82,7 @@ impl SignedResponse {
|
||||
|
||||
match key.verify(&canonical, &self.signature) {
|
||||
Ok(()) => Ok(self.blobs),
|
||||
Err(_) => todo!(),
|
||||
Err(err) => bail!("Failed to verify response signature - {err}"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user