News for hackers. Stuff that matters.
Re:Fourteen Years of Go by ericbarrett on Saturday November 11, 2023 @02:35PM (#38233698)
I disagree that TLS is a good example of a breaking change, since this is a specific library dealing with a developing and dynamic area of security. If this weren’t “broken” (you have to set one flag to get the old behavior) it would compromise PKI cert integrity by allowing deprecated fields. The fact that other languages are lagging here reflects badly on them.

As discussed in the link, CommonName has been deprecated in x.509 serverAuth certificates for decades, and all major browsers dropped support for the field (even as a fallback) years ago.

Re:Fourteen Years of Go by davewritescode on Saturday November 11, 2023 @09:03PM (#38236551)
You can’t get the old behavior back with a flag as of 1.17 and if you could I wouldn’t be complaining.

Also, the reason CN is deprecated has nothing to do with security but the maximum length of the field in the spec. Chrome ignores it but every cert I’ve seen recently still includes it for legacy compatibility.

It’s not a huge dealbreaker but it forced me to go make 3rd parties regenerate their certs before I could upgrade my version of go.