Every Tor Browser download on torproject.org has a small companion file ending in .asc. That's a detached PGP signature made with the Tor Browser developers' private key. If you check it, you know the file you have is the one the developers built and signed, not something swapped in by a compromised mirror, a fake download site, or anything sitting in the middle of your connection.
It takes about five minutes the first time and thirty seconds after that. You need GnuPG installed and two files in the same folder: the Tor Browser package and its .asc signature, both downloaded from the same page.
Getting GnuPG
Most Linux distributions ship gpg already. On macOS, install it with Homebrew (brew install gnupg) or use GPG Suite. On Windows, install Gpg4win from gpg4win.org; it includes the command-line gpg as well as Kleopatra, a graphical front end. If you'd rather click than type, our guide to GnuPG and Kleopatra covers the GUI route.
Step 1: fetch the signing key
The Tor Browser releases are signed by a key belonging to "Tor Browser Developers (signing key)". The Tor Project publishes it through Web Key Directory, which lets GnuPG fetch it straight from torproject.org:
gpg --auto-key-locate nodefault,wkd --locate-keys [email protected]
The output should include this fingerprint:
EF6E 286D DA85 EA2A 4BA7 DE68 4E2C 6E87 9329 8290
Compare it with the fingerprint on the Tor Project's own verification page at support.torproject.org. Check all of it, not just the last eight characters. Short key IDs have been forged before, and that's exactly the kind of shortcut an attacker would count on.
If WKD doesn't work on your network, the same page explains how to import the key from a file. Don't grab a key from a random keyserver search result: anyone can upload a key with any name on it.
Step 2: export it to a keyring file
This step is optional but tidy. It puts the key in a small dedicated keyring, which lets you use gpgv, a stricter verifier that only trusts the keys you give it:
gpg --output ./tor.keyring --export 0xEF6E286DDA85EA2A4BA7DE684E2C6E8793298290
Step 3: verify the file
Run gpgv with the keyring, the signature, and the download, in that order. On Linux it looks like this (adjust the file names to match the version you actually downloaded):
gpgv --keyring ./tor.keyring \
tor-browser-linux-x86_64-VERSION.tar.xz.asc \
tor-browser-linux-x86_64-VERSION.tar.xz
On macOS the package is a .dmg; on Windows it's the installer .exe. Same command, different names. On Windows, run it from PowerShell or Command Prompt in the folder where both files are, with the paths in quotes if they contain spaces.
If you skipped step 2, use plain gpg --verify instead:
gpg --verify tor-browser-linux-x86_64-VERSION.tar.xz.asc tor-browser-linux-x86_64-VERSION.tar.xz
Reading the result
What you want to see is a line containing:
Good signature from "Tor Browser Developers (signing key) <[email protected]>"
Along with the signing date and the key, which may be shown as a subkey ID rather than the primary fingerprint above. That's fine; the Tor Browser key uses signing subkeys, and GnuPG ties them to the primary key you imported.
With gpg --verify you'll also get this:
WARNING: This key is not certified with a trusted signature!
There is no indication that the signature belongs to the owner.
Everyone sees that. It's GnuPG's way of saying you haven't personally vouched for the key in its web of trust. You've done your vouching by checking the fingerprint against the Tor Project's site. Ignore it.
What you must not ignore is BAD signature. That means the file doesn't match its signature. Most often it's an incomplete download, so delete both files and try again. If it's still bad, don't install it. Also be suspicious if GnuPG says it can't find the public key, even after step 1; that can mean the signature was made by some other key entirely, which is what you'd expect from a repackaged fake.
Key expiry
The signing key has an expiry date, and the developers extend it periodically. If verification starts complaining that the key has expired, refresh it by running the step 1 command again. The fingerprint stays the same when the expiry is extended. If you're ever told the fingerprint has changed, look for an announcement on the Tor Project's blog before trusting the new one.
Is this really necessary?
Honestly, if you downloaded straight from torproject.org over HTTPS, the realistic risk is low. Tor Browser also checks the signatures of its own updates automatically, so you only need to do this for the initial install. Where it really pays off is when you got the file any other way: a mirror, GetTor, a USB stick from a friend, a link someone sent you. Fake Tor Browser builds with clipboard-swapping malware inside have circulated for years, and this check catches them every time. See fake Tor Browser downloads for what those look like.
Once you've done it once, the same skills carry over to Tails, VeraCrypt, KeePassXC and most other privacy software that publishes signatures. If the whole idea of signing keys is new to you, PGP for beginners explains the concepts.