How to use GPG(GnuPG)

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/how-to-use-gpggnupg/
PINTEREST
PINTEREST
INSTAGRAM

GnuPG or GPG is Gnu version of Open PG standard 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.

Create Private Keys

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

List Existing PGP Keys

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.

LEARN MORE  Arping Command Tutorial With Examples For Linux

Sign PGP Key

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.

List Secret Keys

To see private keys and  related info like fingerprint. We will use --list-secret-keys  option for this.

Verify Signed PGP File

The main usage aim of PGP is verifying file wheter they are signed accordingly. We can use --verify option by providing the file name.

LEARN MORE  Linux Tmux Tutorial With Command Examples

Export Keys

Some time we may need to use existing key in different systems. We have to export these keys into a file. To export existing keyring and use in other systems. We will export existing keys into file name deneme

 

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/how-to-use-gpggnupg/
PINTEREST
PINTEREST
INSTAGRAM