Contents
How do I verify a PGP public key?
The process is relatively simple:
- You download the public key of the software author.
- Check the public key’s fingerprint to ensure that it’s the correct key.
- Import the correct public key to your GPG public keyring.
- Download the PGP signature file of the software.
- Use public key to verify PGP signature.
How do I publish a PGP public key?
Share your public keys
- Select GnuPG keys from the left side panel.
- From the list, select the Personal PGP key you want to publish.
- Select Remote ▸ Sync and Publish Keys….
- Press the Key Servers button to see the list of key servers on which you can publish your public key.
How to verify PGP signature of downloaded software?
On the VeraCrypt download page, you can also find the PGP public key and PGP signature download link. Click the links to download these two files. You can run the following command to download PGP public key of VeraCrypt.
What happens if GPG tells you your pgp signature is bad?
If GPG tells you it’s a bad signature, then the software installer was tampered with or corrupted. Note that if the software author tells you his/her public key ID on the website, then you can import the public key with the following command, so you don’t have to manually download the PGP public key and import it to your keyring.
How can I check the public key of a software?
You download the public key of the software author. Check the public key’s fingerprint to ensure that it’s the correct key. Import the correct public key to your GPG public keyring.
How can I see the fingerprint of a key?
Display the fingerprint of the key using the command below. The second line of the output is the key’s fingerprint. If you are using a very old version of GPG ( gpg –version) like 1.4.20, then use the following command to display the fingerprint.