mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-14 02:58:02 +00:00
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) {
|
match key.verify(&canonical, &self.signature) {
|
||||||
Ok(()) => Ok(self.blobs),
|
Ok(()) => Ok(self.blobs),
|
||||||
Err(_) => todo!(),
|
Err(err) => bail!("Failed to verify response signature - {err}"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user