From cff3ac28707d74f9f50c6e38a28be8eadb8b6177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Wed, 26 Feb 2025 19:17:56 +0100 Subject: [PATCH] fixup! Download and verify cosign signatures --- dangerzone/container_utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dangerzone/container_utils.py b/dangerzone/container_utils.py index 99fd2f5..255a11d 100644 --- a/dangerzone/container_utils.py +++ b/dangerzone/container_utils.py @@ -195,8 +195,9 @@ def get_local_image_digest(image: str) -> str: """ Returns a image hash from a local image name """ - # Get the image hash from the podman images command, as - # podman inspect returns a the digest of the architecture-bound image + # Get the image hash from the "podman images" command. + # It's not possible to use "podman inspect" here as it + # returns the digest of the architecture-bound image cmd = [get_runtime_name(), "images", image, "--format", "{{.Digest}}"] log.debug(" ".join(cmd)) try: