Quote:
Originally Posted by ajeetraina
but am confused where is the private key while it only shows the public one.
|
What shows only the private key? Did you try:
gpg --list-secret-key keyid
Quote:
Originally Posted by ajeetraina
Is Secret key a private key?If so why are they same?
|
Yes, they are the same. Why shouldn't they be?
Public key crypto is based on key pairs. You have a secret key which is used for signing and decryption. You keep this key secret, on your computer. The other key in the pair is a public key, used by others for encrypting to you and verifying your signatures. You can mail this key to people, link it from a web page, or put it on public keyservers.
You need to do some research and understand this tool or you will do something bad to yourself
The proper doc links are at
http://gnupg.org/documentation/index.en.html
The doc referenced in the post above is not up-to-date. Maximum pubkey sizes in current versions are 4K.