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, ∼3097🔥, 0💬
Popular Posts:
Certificate summary - Owner: Google Internet Authority, Google Inc, US Issuer: Equifax Secure Certif...
Certificate Summary: Subject: *.facebook.com Issuer: VeriSign, Inc., VeriSign International Server C...
Certificate summary - Owner: www.secureserver.net, "Special Domain Services, LLC.", L=Scottsdale, ST...
Yesterday I began seeing a box pop up when I try to send email. It says: The server you are connecte...
Certificate Summary: Subject: SRCA Issuer: SRCA Expiration: 2029-05-20 06:56:00 UTC Key Identifier: ...