Skip to content

crypto: remove in Go 1.27 GODEBUGs introduced in Go 1.23 and earlier #75316

@FiloSottile

Description

@FiloSottile

We have never decommissioned GODEBUGs before, so I am improvising the process a bit. The docs just say

GODEBUG settings added for compatibility will be maintained for a minimum of two years (four Go releases).

I propose that we pre-announce in the Go 1.26 release notes the removal in Go 1.27 of the following GODEBUGs:

Of these, only x509negativeserial feels like it might break folks without a workaround.

tlskyber was introduced in Go 1.23 and removed in Go 1.24, which broke folks and was going to be reintroduced #72111, but it looks like CL 662655 never landed, so I'm not sure what we should do now.

x509usepolicies was introduced in Go 1.22, but switched only in Go 1.24, so it has to wait for Go 1.28.

tlsmaxrsasize was introduced in Go 1.22, but it's more of a knob than a compatibility GODEBUG, so I think it's here to stay.

/cc @golang/security

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Accepted

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions