RSA-10241024-bit Already broken Recorded traffic 3 places See details
RSA in the Go standard library
`rsa.GenerateKey()`, `rsa.SignPKCS1v15()`, `rsa.EncryptOAEP()` or an import of `crypto/rsa`.
This is already unsafe today, with no quantum computer involved. A modulus of 1024 bits or less is below the NIST SP 800-57 floor and is within reach of classical factorisation. Shor is not the nearest problem here.
What to do. ML-KEM-768 for encryption, ML-DSA-65 for signatures. Go 1.24 ships ML-KEM as `crypto/mlkem`.
-
cmd/ceremony/key_test.go:49
test path
rsaPriv, err := rsa.GenerateKey(rand.Reader, 1024) -
cmd/ceremony/rsa_test.go:47
test path
priv, err := rsa.GenerateKey(rand.Reader, 1024) -
wfe2/wfe_test.go:4075
test path
testKey, _ := rsa.GenerateKey(rand.Reader, 1024)