该 API 误用不会报错也不会改写 key,签发证书即等于泄露私钥。
cvecrypto代码审计
A Go bug put the private key inside the certificate, in clear text (CVE-2025-6224).
The culprit: h.Sum(key) doesn't hash key. It appends the hash of nothing to key.
https://t.co/glhBARWG9Q https://t.co/sDJQ7Vwivn