Collections:
Other Resources:
OpenSSL "genpkey -pkeyopt rsa_keygen_pubexp:2" Runs Forever
What will happen if I use 2 as the public exponent to generate an RSA private key?
✍: FYIcenter.com
OpenSSL will run forever, if you use 2 as the public exponent to generate an RSA private key,
because OpenSSL can no find any private exponent to meet the RSA requirements.
See the test below:
C:\Users\fyicenter>\local\openssl\openssl OpenSSL> genpkey -algorithm rsa -out rsa_test.key -pkeyopt rsa_keygen_bits:256 -pkeyopt rsa_keygen_pubexp:2 ....+++++++++++++++++++++++++++*....+++++++++++++++++++++++++++*.....+++++++++++ ++++++++++++++++*...+++++++++++++++++++++++++++*..+++++++++++++++++++++++++++*.. ..........+++++++++++++++++++++++++++*....+++++++++++++++++++++++++++*...+++++++ .... (running forever)
What this test tells us:
⇒ OpenSSL "genpkey -des" - DES Encrypt RSA Keys
⇐ OpenSSL "genpkey -pkeyopt rsa_keygen_pubexp:1" - Bad RSA Key
2017-09-08, ∼3580🔥, 0💬
Popular Posts:
How to specify DN value defaults when using the "prompt=yes" mode of the OpenSSL "req -new" command?...
Certificate summary - Owner: *.bet365.com, New Media, bet365 Group Limited, L=Stoke-on-Trent, ST=Sta...
Certificate Summary: Subject: GeoTrust Universal CA Issuer: GeoTrust Universal CA Expiration: 2029-0...
Where to find answers to frequently asked questions on Portecle Certificate Tool? Here is a list of ...
Certificate summary - Owner: www.marriott.com, Headquarters, "Marriott International, Inc", L=Bethes...