mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 04:31:49 +02:00
fixup! Download and verify cosign signatures
This commit is contained in:
parent
a82ba2897b
commit
2aeb53a3b4
1 changed files with 2 additions and 0 deletions
|
@ -367,6 +367,8 @@ def store_signatures(signatures: list[Dict], image_digest: str, pubkey: str) ->
|
||||||
|
|
||||||
It can be converted to the one expected by cosign verify --bundle with
|
It can be converted to the one expected by cosign verify --bundle with
|
||||||
the `signature_to_bundle()` function.
|
the `signature_to_bundle()` function.
|
||||||
|
|
||||||
|
This function must be used only if the provided signatures have been verified.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def _get_digest(sig: Dict) -> str:
|
def _get_digest(sig: Dict) -> str:
|
||||||
|
|
Loading…
Reference in a new issue