Sunday, September 27, 2015

whats my RSA keysize

If you have a RSA key generate, you can use openssl to  query the key-size. Great  tip if you have a few  key files sitting around and not sure which size the keys are.

e.g ( determining a RSA  private-key-size )




note: if you have a passphrase set, you will need to supply it in order to read the priv-key

e.g ( determining a RSA pub-keysize )

Since the public key is not a "private" key grep on the modulus field. You don't need the private-key file in order to read a public keyfile.





 note: use  the -pubin  for a public key



Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \

No comments:

Post a Comment