Open atc0005 opened 3 years ago
From https://go.dev/doc/go1.18#sha1:
Rejecting SHA-1 certificates
crypto/x509 will now reject certificates signed with the SHA-1 hash function. This doesn't apply to self-signed root certificates. Practical attacks against SHA-1 have been demonstrated since 2017 and publicly trusted Certificate Authorities have not issued SHA-1 certificates since 2015.
This can be temporarily reverted by setting the GODEBUG=x509sha1=1 environment variable. This option will be removed in Go 1.19.
Potential relevant spot in the code to extend:
Looks like this is picking up steam (activity today):
https://github.com/golang/go/issues/41682#issuecomment-2486588681
From the Go 1.17 release notes:
There are older certs that I have seen signed with the MD5 hash which were exposed with the
certsum
tool. If those certs are still supported, then we will likely need to support SHA-1 certs too.