We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recently, the x/crypto library switched to SHA-512 for the default RSA certificate signature, which doesn't fit in 512 bits (https://cs.opensource.google/go/x/crypto/+/b4de73f9ece8163b492578e101e4ef8923ac2c5c). This causes several of the ssh tests to fail with the error "crypto/rsa: message too long for RSA public key size".
Updating generateRSAKey() in ssh/generate_test.go to use a 1024 bit key size fixes the problem.
generateRSAKey()
ssh/generate_test.go
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Recently, the x/crypto library switched to SHA-512 for the default RSA certificate signature, which doesn't fit in 512 bits (https://cs.opensource.google/go/x/crypto/+/b4de73f9ece8163b492578e101e4ef8923ac2c5c). This causes several of the ssh tests to fail with the error "crypto/rsa: message too long for RSA public key size".
Updating
generateRSAKey()
inssh/generate_test.go
to use a 1024 bit key size fixes the problem.The text was updated successfully, but these errors were encountered: