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

Include hashes for components #515

Closed
lfrancke opened this issue Oct 28, 2023 · 2 comments
Closed

Include hashes for components #515

lfrancke opened this issue Oct 28, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@lfrancke
Copy link
Contributor

No description provided.

@Shnatsel Shnatsel added the enhancement New feature or request label Nov 2, 2023
@Shnatsel
Copy link
Contributor

This issue is actually two issues:

  1. Record the hashes of the generated binaries, so that a SBOM can be reliably matched to a given binary
  2. Record the hashes of the source-level .crate files downloaded from package registries, to unambiguously attribute them to a specific registry version

The first one depends on #532, but the second can be implemented by parsing Cargo.lock now that cargo metadata has stabilized package identifiers as cargo pkgid format, so it is now possible to cross-reference cargo metadata output with Cargo.lock.

@Shnatsel
Copy link
Contributor

Implemented by #620

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants