How to Verify a GPG Signature

Acquire the Public Key., Acquire a copy of the file in question., Acquire a copy of the signature-file in question., Open a command-line interface., Verify the signature.

5 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Acquire the Public Key.

    Import the Public Key into GPG.
  2. Step 2: Acquire a copy of the file in question.

    Save it in a Folder. , Save it in the same Folder. , Change the working directory to the Folder where your file and signature-file are saved. , Type the following command into a command-line interface: gpg
    --verify E.g., if you have acquired (1) the Public Key 0x416F061063FEE659, (2) the Tor Browser Bundle file (tor-browser.tar.gz), and (3) the signature-file posted alongside the Tor Browser Bundle file (tor-browser.tar.gz.asc), You would type the following: gpg
    --verify tor-browser.tar.gz.asc tor-browser.tar.gz
  3. Step 3: Acquire a copy of the signature-file in question.

  4. Step 4: Open a command-line interface.

  5. Step 5: Verify the signature.

Detailed Guide

Import the Public Key into GPG.

Save it in a Folder. , Save it in the same Folder. , Change the working directory to the Folder where your file and signature-file are saved. , Type the following command into a command-line interface: gpg
--verify E.g., if you have acquired (1) the Public Key 0x416F061063FEE659, (2) the Tor Browser Bundle file (tor-browser.tar.gz), and (3) the signature-file posted alongside the Tor Browser Bundle file (tor-browser.tar.gz.asc), You would type the following: gpg
--verify tor-browser.tar.gz.asc tor-browser.tar.gz

About the Author

S

Stephen Tucker

Dedicated to helping readers learn new skills in cooking and beyond.

45 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: