fixup! Download and verify cosign signatures

This commit is contained in:
Alexis Métaireau 2025-02-12 11:40:36 +01:00
parent 5a4ddb17c9
commit 1e9e468e37

View file

@ -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"