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

feat(checksum): supports BLAKE2 and SHA-3 #4850

Merged
merged 2 commits into from
May 10, 2024

Conversation

sorairolake
Copy link
Contributor

@sorairolake sorairolake commented May 9, 2024

If applied, these commits will allow users to use BLAKE2 (BLAKE2b-512 and BLAKE2s-256) and SHA-3 (SHA3-{224,256,384,512}) as checksum algorithms.

This is because I think it would be useful if these algorithms could be used as an alternative to SHA-1 and SHA-2. These algorithms are standardized as RFC 7693 (BLAKE2) and FIPS PUB 202 (SHA-3).

@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 9, 2024
@caarlos0
Copy link
Member

caarlos0 commented May 9, 2024

this is amazing! Thank you!

Copy link

codecov bot commented May 9, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 83.81%. Comparing base (c68d830) to head (2e1367f).
Report is 248 commits behind head on main.

Files Patch % Lines
internal/artifact/artifact.go 75.00% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4850      +/-   ##
==========================================
+ Coverage   83.77%   83.81%   +0.03%     
==========================================
  Files         135      139       +4     
  Lines       13029    11230    -1799     
==========================================
- Hits        10915     9412    -1503     
+ Misses       1677     1355     -322     
- Partials      437      463      +26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caarlos0 caarlos0 merged commit 5d98c69 into goreleaser:main May 10, 2024
11 of 12 checks passed
@github-actions github-actions bot added this to the v1.26.0 milestone May 10, 2024
@sorairolake sorairolake deleted the feat/new-checksum-algo branch May 10, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants