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 unique hash engine for each file hasher #326

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

spencerschrock
Copy link
Contributor

Summary

Previously, the factory could cause workers to share a hash engine, leading to hashes that were wrong or duplicated. This ultimately created invalid manifests, affecting signature creation and verification.

Discovered and tested during #324, which I'll keep separate.

Release Note

NONE

Documentation

@spencerschrock spencerschrock requested review from a team as code owners November 20, 2024 18:30
Previously, the factory could cause workers to share a hash engine,
leading to hashes that were wrong or duplicated. This ultimately created
invalid manifests, affecting signature creation and verification.

Signed-off-by: Spencer Schrock <[email protected]>
Copy link
Collaborator

@mihaimaruseac mihaimaruseac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mihaimaruseac mihaimaruseac merged commit 86b6aa5 into sigstore:main Nov 20, 2024
21 checks passed
@mihaimaruseac mihaimaruseac added this to the V1 release milestone Nov 20, 2024
@spencerschrock spencerschrock deleted the shared-hasher branch November 20, 2024 18:59
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.

2 participants