How to fix error of Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead in Ubuntu Linux 22.04 LTS or Linux Mint 21

In Ubuntu 22.04 LTS or Linux Mint 21, there has been a change in the way keys to repos are stored. When installing software like Spotify from the internet via instructions there, the commands used cause an error when running apt-get update. The following error appears: Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d … Continue reading How to fix error of Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead in Ubuntu Linux 22.04 LTS or Linux Mint 21

How to extend expiry date of Gnu Privacy Guard Keys (GPG/PGP) keys

When PGP/GPG keys expire, you have option to generate a sub key (if you think your key has been compromised), or you can extend the validity of the current key by extending it's expiry period. You can extend the key's expiry period since the keys are not compromised. To continue, Open a terminal window and … Continue reading How to extend expiry date of Gnu Privacy Guard Keys (GPG/PGP) keys

How to use GNU Privacy Guard / GnuPG / GPG / PGP to encrypt email and data

Okay... on this blog post, we explained the finer details of GNU Privacy Guard or GPG or GnuPG or PGP. Activities that are required to be performed were explained in detail with the commands to perform them. However, you would still not be able to connect the dots, without this grand overview of GNU Privacy … Continue reading How to use GNU Privacy Guard / GnuPG / GPG / PGP to encrypt email and data

How to revoke a GnuPG / GPG key in Linux

If your Gnu Privacy Guard or GPG or GnuPG key has been compromised or something has gone wrong, you can revoke your key. Make sure that you generated a revocation certificate and stored in a safe place to do so. To revoke a key, open a terminal in Linux, and enter the following command: $ … Continue reading How to revoke a GnuPG / GPG key in Linux

How to add GnuPG / GPG key ID to the Evolution email client in Linux and use it

We saw how to create a GPG, GnuPG or PGP key pair in earlier posts. Now we need to tell Evolution that we have a PGP key pair that can be used to sign email messages and also encrypt them. To sign, all you need is create a GPG, GnuPG or PGP key pairthe private … Continue reading How to add GnuPG / GPG key ID to the Evolution email client in Linux and use it

How to receive other people’s GnuPG / PGP public key from a key server into your key ring

You will be able to sign emails using your private key by default. This means that people know that it is your email ID that is the originator of the email. However, if you want to send people encrypted messages, you need to have their public keys in your key ring. You need to get … Continue reading How to receive other people’s GnuPG / PGP public key from a key server into your key ring

How to send GPG public key to a PGP key server

After keys have been generated, we need to ensure that we spread our public key far and wide. It can be attached to every email we send to others, but the problem is, it becomes a big pain to do every time. The easiest way to spread the public key far and wide is to … Continue reading How to send GPG public key to a PGP key server

How to generate a revocation certificate for your GnuPG / GPG key

Whenever you create a key pair using GNU Privacy Guard, you need to make sure you also generate a revocation certificate for your key. Sometimes, keys are lost, misplaced, deleted, passwords forgotten and so on. To ensure that you revoke the keys you created, you need a revocation certificate. Simply deleting a key file or … Continue reading How to generate a revocation certificate for your GnuPG / GPG key

How to export your private key to an ASCII / text file in GnuPG

Once you have generated your key pair, you need to make sure you back it up safely, to prevent the loss of the keys if the computer crashes or is re-installed. We normally export the private key to an ASCII / text file for safe-keeping off the computer on a USB drive. Basically, as a … Continue reading How to export your private key to an ASCII / text file in GnuPG

How to export your public key to an ASCII / text file in GnuPG

Once you have generated your key pair, you need to make sure you back it up safely, to prevent the loss of the keys if the computer crashes or is re-installed. The reasons the public key is exported to a text file: 1. To make sure the key is stored off the computer somewhere safely. … Continue reading How to export your public key to an ASCII / text file in GnuPG