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, ∼3190🔥, 0💬
Popular Posts:
Certificate Summary: Subject: Google Internet Authority G2 Issuer: GeoTrust Global CA Expiration: 20...
You can modify the properties of a certificate for a number of reasons: Adding or modifying a displa...
Certificate Summary: Subject: sni.dreamhost.com Issuer: sni.dreamhost.com Expiration: 2025-08-08 18:...
Certificates are typically issued to a particular computer, user, or service, for specific purposes,...
Certificate summary - Owner: *.americanexpress.com, Consumer, American Express Technologies, L=Phoen...