Closed FiloSottile closed 6 years ago
If an RSA key is too short for PSS, the handshake fails with an unhelpful crypto/rsa: encoding error.
crypto/rsa: encoding error
Pick a minimum bitlen (or find it in the spec) and return a helpful error message.
Is it really TLS tris problem? Shouldn't it be fixed in crypto?
You have a point! https://github.com/golang/go/issues/23736
If an RSA key is too short for PSS, the handshake fails with an unhelpful
crypto/rsa: encoding error
.Pick a minimum bitlen (or find it in the spec) and return a helpful error message.