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

Adding file checksum field in SPDX documents #1226

Closed
lumjjb opened this issue Sep 23, 2022 · 2 comments
Closed

Adding file checksum field in SPDX documents #1226

lumjjb opened this issue Sep 23, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@lumjjb
Copy link

lumjjb commented Sep 23, 2022

What would you like to be added:

According the SPDX spec, the hashes of files should be attached through the "8.4 File checksum field", https://github.com/spdx/tools-golang/blob/main/spdx/v2_2/file.go#L21-L23, right now

Why is this needed:

This is needed to help provide identifiers to files which can be used for analysis of SPDX documents.

Additional context:

@lumjjb lumjjb added the enhancement New feature or request label Sep 23, 2022
@lumjjb
Copy link
Author

lumjjb commented Sep 23, 2022

hmm interesting, i see code in this (https://github.com/anchore/syft/blob/main/syft/formats/spdx22json/to_format_model.go#L157) but is not showing in the output. let me investigate..

@lumjjb
Copy link
Author

lumjjb commented Sep 23, 2022

user problem , needed to flip on the file catalogers, picking up TEXT file checksums...

@lumjjb lumjjb closed this as completed Sep 23, 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
Projects
None yet
Development

No branches or pull requests

1 participant