-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
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
crypto/rsa: GenerateKey hangs on requests for keys which are 11 bits or smaller #6849
Labels
Comments
the program actually hangs in crypto/rand.Prime. http://play.golang.org/p/odcaZvHpfm actually, because we listed all odd prime numbers less than 2^5, it won't ever generate a prime number less than 6 bits. which translates to a minimum of 12-bit of (two-prime) RSA key. Thus, this issue is working as intended, but I think that we should say something in the docs. |
https://golang.org/cl/35870043 Labels changed: added documentation. Status changed to Started. |
This issue was closed by revision 4f2cfdc. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by alex.gaynor:
The text was updated successfully, but these errors were encountered: