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 standard library sha256 implementation for Go 1.21 #2309

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

Jorropo
Copy link
Contributor

@Jorropo Jorropo commented May 24, 2023

See rational and benchmarks in multiformats/go-multihash#173.

Fixes: #2308

Copy link
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

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

Dep update is fine, but this is not enough to drop minio. We use it in the crypto package and in the noise package as well.

Copy link
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

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

Change looks fine to me. Thank you @Jorropo!

I'll hold off my approval since this is not yet tested on CI (and can't be tested, since quic-go currently makes it possible to even compile go-libp2p with Go 1.21).

@marten-seemann marten-seemann added the status/blocked Unable to be worked further until needs are met label May 24, 2023
@marten-seemann marten-seemann mentioned this pull request Aug 14, 2023
21 tasks
@marten-seemann
Copy link
Contributor

@Jorropo Can you please rebase and update go-multihash to v0.2.3? I'd like to include this in the v0.30 release later today, but I can't push to your branch.

@Jorropo Jorropo changed the title chore: update go-multihash, drop minio sha256 for go1.21 chore: drop minio sha256 for go1.21 Aug 16, 2023
@Jorropo
Copy link
Contributor Author

Jorropo commented Aug 16, 2023

@marten-seemann done

@Jorropo Jorropo removed the status/blocked Unable to be worked further until needs are met label Aug 16, 2023
@Jorropo
Copy link
Contributor Author

Jorropo commented Aug 16, 2023

Unrelated autorelay failure, rerunning the test suite.

Copy link
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

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

Danke!

@marten-seemann marten-seemann changed the title chore: drop minio sha256 for go1.21 use standard libray sha256 implementation for Go 1.21 Aug 17, 2023
@marten-seemann marten-seemann changed the title use standard libray sha256 implementation for Go 1.21 use standard library sha256 implementation for Go 1.21 Aug 17, 2023
@marten-seemann marten-seemann merged commit e935729 into libp2p:master Aug 17, 2023
11 checks passed
@Jorropo Jorropo deleted the update-go-multihash branch August 17, 2023 07:57
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.

drop minio package for SHA256 with Go 1.21
2 participants