Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SBOM for binary checksum when available #36

Open
wilsonehusin opened this issue Mar 22, 2022 · 0 comments
Open

Use SBOM for binary checksum when available #36

wilsonehusin opened this issue Mar 22, 2022 · 0 comments
Labels
enhancement New feature or request ux Ensures a good time when using the product workflow/verification Binary / archive verification workflow
Milestone

Comments

@wilsonehusin
Copy link
Member

wilsonehusin commented Mar 22, 2022

(Credit to @puerco for this idea)

As part of lockfile creation, we currently assert checksum for archive being downloaded (e.g. tarball) and on success, calculate the checksum of binary.

In the event that SBOM is available, we should consider using SBOM-declared checksum for assertion of binary.

{
 "SPDXID": "SPDXRef-44d63059769f8e23",
 "licenseConcluded": "NOASSERTION",
 "checksums": [
  {
   "algorithm": "SHA256",
   "checksumValue": "490dc2bc75e4c67f3fb096d9a854e49439f6327c43602081aa55114650fceb10"
  }
 ],
 "fileName": "bindl",
 "fileTypes": [
  "APPLICATION",
  "BINARY"
 ]
}
@wilsonehusin wilsonehusin added enhancement New feature or request ux Ensures a good time when using the product workflow/verification Binary / archive verification workflow labels Mar 22, 2022
@wilsonehusin wilsonehusin added this to the v0.1.0 milestone Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ux Ensures a good time when using the product workflow/verification Binary / archive verification workflow
Projects
None yet
Development

No branches or pull requests

1 participant