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
27647cc309
commit
f6562ae59c
1 changed files with 3 additions and 3 deletions
|
@ -204,6 +204,6 @@ def get_local_image_digest(image: str) -> str:
|
|||
)
|
||||
return lines[0].replace("sha256:", "")
|
||||
except subprocess.CalledProcessError as e:
|
||||
return None
|
||||
else:
|
||||
return result.stdout.strip().decode().strip("sha256:")
|
||||
raise errors.ImageNotPresentException(
|
||||
f"The image {image} does not exist locally"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue