WIP: Verify local image

This commit is contained in:
Alex Pyrgiotis 2025-02-04 19:42:42 +02:00 committed by Alexis Métaireau
parent b42833df47
commit 5accaef357
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -302,7 +302,7 @@ def store_signatures(signatures: list[Dict], image_hash: str, pubkey: str) -> No
)
pubkey_signatures = SIGNATURES_PATH / get_file_hash(pubkey)
pubkey_signatures.mkdir(exist_ok=True)
pubkey_signatures.mkdir(parents=True, exist_ok=True)
with open(pubkey_signatures / f"{image_hash}.json", "w") as f:
log.info(