Skip to content

Commit 98a5c02

Browse files
committed
Fix misuse of gpg_verify
It was trying to verify a detached signature without providing the detached data.
1 parent 5fceef2 commit 98a5c02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pulp_container/app/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def validate(self):
698698
manifest_file.name, env_vars={"REFERENCE": "test", "SIG_PATH": sig_path}
699699
)
700700

701-
gpg_verify(self.public_key, signed["signature_path"])
701+
gpg_verify(self.public_key, signed["signature_path"], detached_data=manifest_file.name)
702702

703703

704704
class ContainerRepository(

0 commit comments

Comments
 (0)