RSA-10241024-bit Already broken Recorded traffic 1 place 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`.
-
agessh/agessh_test.go:35
test path
key, err := rsa.GenerateKey(rand.Reader, 1024)