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

math/big: document unsuitability for cryptography #58499

Closed
FiloSottile opened this issue Feb 13, 2023 · 3 comments
Closed

math/big: document unsuitability for cryptography #58499

FiloSottile opened this issue Feb 13, 2023 · 3 comments
Labels
Documentation Issues describing a change to documentation. FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@FiloSottile
Copy link
Contributor

We mentioned in the Go 1.20 release notes that following our own migration off math/big for cryptography (#52182), the package makes an especially bad choice for cryptographic use. The package docs should mention that too.

@gopherbot gopherbot added the Documentation Issues describing a change to documentation. label Feb 13, 2023
@FiloSottile
Copy link
Contributor Author

This was fixed by https://go.dev/cl/455135. @gopherbot please backport to Go 1.20 as it's an important documentation update that applies to the Go 1.20 release.

@gopherbot
Copy link
Contributor

Backport issue(s) opened: #58500 (for 1.20).

Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/467835 mentions this issue: [release-branch.go1.20] math/big: add warning about using Int for cryptography

@dmitshur dmitshur added this to the Go1.21 milestone Feb 15, 2023
@dmitshur dmitshur added the NeedsFix The path to resolution is known, but the work has not been done. label Feb 15, 2023
@golang golang locked and limited conversation to collaborators Feb 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Issues describing a change to documentation. FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants