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 systemcrypto by default #1352

Open
qmuntal opened this issue Oct 4, 2024 · 0 comments
Open

Use systemcrypto by default #1352

qmuntal opened this issue Oct 4, 2024 · 0 comments
Milestone

Comments

@qmuntal
Copy link
Contributor

qmuntal commented Oct 4, 2024

Extract from https://github.com/microsoft/go-lab/blob/main/docs/adr/0007-comply-microsoft-policy-by-default-with-go-toolchain.md:

We will update the toolchain to use the system crypto by default, removing the related experiments and implement the nosystemcrypto tag.

Additionally, we will implement the following migration plan for current GOEXPERIMENT users:

  1. In Go 1.24, the default behavior will be to use the system crypto.
  2. In Go 1.24, the GOEXPERIMENT=systemcrypto, GOEXPERIMENT=opensslcrypto, and GOEXPERIMENT=cngcrypto options will be deprecated.
    • When a deprecated GOEXPERIMENT value is used, go build will print a warning message to stderr, although the functionality will remain intact.
    • The new behavior will be announced via our blog, and each release note up to Go 1.25 will include a reminder about the upcoming changes.
  3. In Go 1.25, the deprecated GOEXPERIMENT values will be removed, and a dedicated error message will be displayed.
  4. In Go 1.26, the dedicated error message will be removed.
@qmuntal qmuntal added this to the go1.24 milestone Oct 4, 2024
@qmuntal qmuntal self-assigned this Oct 4, 2024
@qmuntal qmuntal removed their assignment Oct 8, 2024
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

No branches or pull requests

1 participant