Create a GPG Key

GnuPG (GPG) problably is installed already in your linux disctro

Install with your packages manager

Generate a GPG Key Pair

Run the following command in your terminal:

Follow the instructions:

* RSA (default)

* Choose 4096 bits for maximum security

* Press Enter to set the key to never expire, or specify a duration (e.g., 2y for 2 years)

* Enter your real name, email address

* Create a strong, memorable passphrase (password)

After you complete these steps, GPG generates the key pair and stores it in your keyring.

The final output in the terminal confirms the creation, for example:

Verify and Export Your Key

List your keys to confirm creation:

The output will be something like:

Your key ID (e.g., 3AA5C34371567BD2)

----------

Home

Linux

Notes

MicroLog

----------

© DarknessCode