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, ∼3667🔥, 0💬
Popular Posts:
Certificate summary - Owner: twitter.com, Twitter Security, "Twitter, Inc.", STREET="795 Folsom St, ...
How to convert a certificate file in DER (Distinguished Encoding Rules) format to PEM (Privacy Enhan...
What is the process of verifying the signed document with RSA keys using OpenSSL commands? I receive...
Certificate Summary: Subject: GlobalSign ECC OV SSL CA 2018 Issuer: GlobalSign Expiration: 2028-11-2...
How can I use Mozilla "certutil -V" command? What are command options supported by "certutil -V"? Th...