Skip to content

Commit

Permalink
Update few changes
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm committed Sep 12, 2024
1 parent e6036ae commit efa9262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation_workflow/rpm/validation_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def validate_signature(self) -> None:
key_list = ["Header V4 RSA/SHA512 Signature, key ID 9310d3fc", "Header SHA256 digest", "Header SHA1 digest",
"Payload SHA256 digest", "V4 RSA/SHA512 Signature, key ID 9310d3fc", "MD5 digest"]
present_key = []
for line in stdout.rstrip('\n').split('\n'):
for line in stdout.rstrip('\n').split('\n')[1:]:
key = line.split(':')[0].strip()
if key != os.path.join(self.tmp_dir.path, self.filename):
assert "OK" == line.split(':')[1].strip()
Expand Down

0 comments on commit efa9262

Please sign in to comment.