Skip to content

Commit

Permalink
Test rpm metadata 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 7, 2024
1 parent 60b5ddf commit 4b98c2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/validation_workflow/rpm/validation_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ def validate_signature(self) -> None:
logging.info(stdout)
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 = []
x = 0
for line in stdout.split('\n'):
print(x)
x=x+1
key = line.split(':')[0].strip()
print(key)
if (key == os.path.join(self.tmp_dir.path, self.filename)):
Expand Down

0 comments on commit 4b98c2f

Please sign in to comment.