mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 12:41:50 +02:00
fixup! Download and verify cosign signatures
This commit is contained in:
parent
4073a62fd4
commit
30ec1f10e9
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ def store_signatures(signatures: list[Dict], image_digest: str, pubkey: str) ->
|
||||||
|
|
||||||
if f"sha256:{image_digest}" != digests[0]:
|
if f"sha256:{image_digest}" != digests[0]:
|
||||||
raise errors.SignatureMismatch(
|
raise errors.SignatureMismatch(
|
||||||
f"Signatures do not match the given image digest ({image_digest}, {digests[0]})"
|
f"Signatures do not match the given image digest (sha256:{image_digest}, {digests[0]})"
|
||||||
)
|
)
|
||||||
|
|
||||||
pubkey_signatures = SIGNATURES_PATH / get_file_digest(pubkey)
|
pubkey_signatures = SIGNATURES_PATH / get_file_digest(pubkey)
|
||||||
|
|
Loading…
Reference in a new issue