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, 2575🔥, 0💬
Popular Posts:
Key Summary: Type: RSA 2048-Bit Public Key Identifier: 8A:74:7F:AF:85:CD:EE:95: CD:3D:9C:D0:E2:46:14:...
Certificate summary - Owner: Microsoft Internet Authority Issuer: GTE CyberTrust Global Root, "GTE C...
Renewing a certificate with the same key provides maximum compatibility with past uses of the accomp...
How to download the server certificate from Facebook.com Web site? I want to have a new certificate ...
Certificate summary - Owner: www.kohls.com, Kohl's Corporation, L=Menomonee Falls, ST=Wisconsin, US ...