How to use GPG(GnuPG)
GnuPG or GPG is Gnu version of Open PG standart implementation. It is very popular especially at personal use for mails etc. Here I will look basic usage of gpg2 in linux cli. gpg2 is the second major version of gpg.
|Here we will create public and private keys for keyring. Required information asked while certificate generation process. Real name and Email address is given by user and then to encrypt these public and private keys and password is created|
|It can be autocompleted by using tab as you can see in first command. In the second command we list existing public keys in keyring.|
|To sign the data with the specific key not default. Here the –default-key parameter is looked in keyring in fingerprint, name, email etc. If you want signature apart from data use -b option.|
|To see private keys and related info like fingerprint|
|But how to verify a signed pgp file?|
|To export existing keyring and use in other systems.|