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 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

How to list GnuPG or GPG public keys

When you create or generate a new GPG or GnuPG key pair, it is stored in your key ring. Keys stored within the key ring can be listed using using the command as below in the Linux terminal. $ gpg --list-public-keys <enter> /home/user/.gnupg/pubring.gpg ------------------------------ pub 4096R/3949C65A 2014-11-28 [expires: 2015-11-28] uid John N. Doe <john.doe@emaildomain.com> sub … Continue reading How to list GnuPG or GPG public keys

How to create a GNU Privacy Guard (GPG) GnuPG key pair for yourself

Many of us would like to protect our data stored in files, emails, online and elsewhere. The point is, that with the kind of investigative eyes on user data worldwide, we need a robust mechanism that does not leak. One of those mechanisms is PGP - Pretty Good Privacy. Pretty Good Privacy or PGP as … Continue reading How to create a GNU Privacy Guard (GPG) GnuPG key pair for yourself