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

TargetData should work on sha256 or sha512 #796

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Conversation

loosebazooka
Copy link
Member

@loosebazooka loosebazooka commented Aug 22, 2024

Only of them is required by spec, so if one's missing we should continue to work and determine the target file correctly based on the available hash.

fixes #794

@loosebazooka loosebazooka requested review from jku and patflynn August 22, 2024 20:53
patflynn
patflynn previously approved these changes Aug 22, 2024
Only of them is required by spec, so if one's missing we should
continue to work and determine the target file correctly based
on the available hash.

Signed-off-by: Appu Goundan <[email protected]>
@loosebazooka loosebazooka merged commit 1268925 into main Aug 22, 2024
21 checks passed
@loosebazooka loosebazooka deleted the tuf-optional-hashes branch August 22, 2024 22:54
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

Successfully merging this pull request may close these issues.

SHA-256 (only) not supported as a hash (root-signing-staging compat)
2 participants