Skip to content

FileChecksum doesn't support hash types as per spec #161

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

Closed
qrdl opened this issue Aug 31, 2022 · 2 comments
Closed

FileChecksum doesn't support hash types as per spec #161

qrdl opened this issue Aug 31, 2022 · 2 comments

Comments

@qrdl
Copy link

qrdl commented Aug 31, 2022

Contrary to SPDX 2.2 spec 4.4.4 (Other algorithms that can be provided optionally include SHA224, SHA256, SHA384, SHA512, MD2, MD4, MD5, MD6) only SHA1, SHA256 and MD5 are actually supported by the parser: https://github.com/spdx/tools-golang/blob/main/tvloader/parser2v2/parse_file.go#L74 , all other algorithms cause parsing error

@qrdl
Copy link
Author

qrdl commented Aug 31, 2022

Dupe of #96

@lumjjb
Copy link
Collaborator

lumjjb commented Aug 31, 2022

Hi @qrdl ! Thanks for raising the issue. Can you comment on #96 and we will use that issue to track. Can you mention what hashes are a priority for you?

Closing since duplicate.

@lumjjb lumjjb closed this as completed Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants