Skip to content

Commit

Permalink
Add hash algo into checksum value
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Waugh <[email protected]>
  • Loading branch information
mprpic and twaugh authored Aug 13, 2024
1 parent a011e93 commit e22a6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbom/examples/rpm/from-koji.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def handle_srpm(filename, name):
{
"referenceCategory": "PACKAGE-MANAGER",
"referenceType": "purl",
"referenceLocator": f"pkg:rpm/redhat/{name}@{version}-{release}?arch={arch}&checksum={digest}",
"referenceLocator": f"pkg:rpm/redhat/{name}@{version}-{release}?arch={arch}&checksum=sha256:{digest}",
}
],
"checksums": [
Expand Down

0 comments on commit e22a6df

Please sign in to comment.