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
5a4ddb17c9
commit
1e9e468e37
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ def get_remote_signatures(image: str, digest: str) -> List[Dict]:
|
|||
return signatures
|
||||
|
||||
|
||||
def prepare_airgapped_archive(image_name, destination):
|
||||
def prepare_airgapped_archive(image_name: str, destination: str):
|
||||
if "@sha256:" not in image_name:
|
||||
raise errors.AirgappedImageDownloadError(
|
||||
"The image name must include a digest, e.g. ghcr.io/freedomofpress/dangerzone/dangerzone@sha256:123456"
|
||||
|
|
Loading…
Reference in a new issue