Research·Verification

How to Verify the Bitcoin Core You Are Running

Running a downloaded binary means trusting whoever served it. Closing that gap takes two commands: check the signatures on the hash list, then check your file against the list. The commands are the easy part. Deciding whose signatures count, and on what basis, is the question nobody answers for you.

Level
Advanced
Reading
8 min
Published
2026-11-29
Reviewed
2026-11-29

“Don’t trust, verify” is usually applied to the blockchain and almost never to the software doing the verifying. That is the wrong way round: a node that checks every rule perfectly is worthless if the binary enforcing those rules was modified on its way to you. The check is quick. What it actually establishes is narrower than people assume, and the narrowness matters.

What are you actually trying to establish?

Three separate claims get collapsed into one, and they have completely different answers.

That the file you have is the file the project published. This is what signature verification answers, and it answers it well.

That the published file corresponds to the published source code. This is what reproducible builds answer, and the answer is probabilistic rather than absolute — it rests on independent builders not all being compromised identically.

That the source code does what it claims. Nothing in this article addresses this. It is a review problem, it is unbounded, and it is where the hard risk lives. What you are actually trusting works through the whole stack; this piece is about closing one layer of it properly rather than pretending the layer is the stack.

Keeping the three apart matters because people who have performed the first check often believe they have performed the third.

How does the signature check work?

In two steps that prove two different things, and the order matters.

A Bitcoin Core release publishes a file listing the SHA-256 hash of every binary, and alongside it a file of detached signatures over that list. The release process document in the repository describes how both are produced.

The first step verifies the signatures against public keys you already hold. If they check out, you know the hash list is the one the signers signed. The second step computes the hash of the file you downloaded and compares it against that list. If it matches, your file is the one those signers attested to.

Neither step alone is sufficient, and this is the most common mistake. A hash that matches a list you have not authenticated proves only that your download was not corrupted in transit — whoever served you a modified binary would serve you a matching hash list to go with it. A valid signature on a list you never compared your file against proves nothing about your file.

One further detail: multiple maintainers sign, so what you are checking is a set of signatures rather than one. How many you require is your decision, and requiring more than one is the point of there being more than one.

Where do the keys come from, and why is that the hard part?

From somewhere, and the honest answer is that this step is trust rather than verification.

If you fetch the signing keys from the same website that served you the binary, you have established nothing — an attacker who controls the site controls both. This is the circularity at the centre of all software verification and it has no clean solution.

What actually carries the weight is continuity and breadth. The same keys have signed previous releases over a span of years. Their fingerprints appear in the repository, in the release notes of old versions, in distribution packages, in archived mailing lists, and in third-party documentation written by people with no connection to each other. An attacker wanting you to accept a false key has to have controlled all of those, retroactively.

So the model is trust-on-first-use strengthened by history, and the practical consequence is a habit rather than a procedure: keep the keys you verified last time, and treat a key change as an event requiring explanation rather than as a routine update. A fresh key appearing with a new release is exactly what a compromise looks like, and also what a legitimate maintainer rotation looks like, so noticing is the defence.

What do reproducible builds add?

They connect the binary to the source, which signatures alone do not.

A signature says a particular person vouched for a particular file. It does not say the file was compiled from the published source without additions. A maintainer whose machine was compromised would sign a tampered binary in perfect good faith.

Bitcoin Core’s answer is to make the build deterministic: the same source, built in a controlled environment, must produce byte-identical output on anybody’s machine. The repository documents the process, which uses Guix to pin the entire toolchain. Independent builders run it and publish their resulting hashes as attestations in a separate repository, and anybody can read how many builders attested to a given release and whether they all produced the same bytes.

That is a genuine improvement and a bounded one. It establishes correspondence between source and binary, assuming the attesting builders are not all compromised in the same way. It says nothing about the source, and it does not protect against a flaw introduced in the source by somebody with commit access and insufficient review — how a change gets into Bitcoin Core is where that risk is handled, by people rather than by tooling.

The most thorough option available to an individual is to run the build yourself and compare your output against the published attestations. It takes hours and considerable disk, and it removes the need to trust any builder at all.

What does none of this prove?

None of what follows is minor.

That the source is correct. Reviewed code has shipped exploitable bugs repeatedly, in Bitcoin Core as everywhere else, and the review capacity for consensus-critical code is a small number of people.

That your compiler is honest. A sufficiently old result establishes that a compromised compiler can insert behaviour into compiled binaries including compiled compilers, surviving a rebuild from clean source. Deterministic builds with a pinned toolchain substantially reduce the practical risk and do not refute the argument.

That your operating system is honest. The binary you verified is loaded, linked and executed by software you did not verify, on a kernel you did not verify.

That your hardware is honest. Nothing in software addresses this, and nothing available to an individual does either.

The reasonable conclusion is not despair. It is that verification is a sequence of layers, each of which can be closed to a different degree, and that closing the cheap ones is worth doing precisely because the expensive ones cannot be.

What should you do?

Best value per minute spent first:

Verify hashes and signatures on every upgrade. It takes under a minute once the keys are in place, and it is the only layer here that an ordinary user can close completely.

Keep your keyring and notice changes. The continuity is the security. A key you have used for five releases is worth far more than a key you fetched today, and a new one appearing deserves five minutes of checking against independent sources.

Read the attestation count for releases you care about. Open the attestation repository, find the release, and see how many independent builders produced identical output. This is public and nobody looks at it.

Build it yourself if you have a specific reason. Running a business on it, operating at scale, or having a concrete threat model justifies the hours. For an individual holder it is usually not the best use of the same hours, which would be better spent testing a backup.

What remains uncertain

How many people actually verify. Download counts are public and verification is unobservable, so the proportion is unknown and anecdotally low. A defence that exists and is unused provides the security of a defence that does not exist.

Whether the attesting builder set is independent enough. The attestations come from a modest number of people, some of whom know each other and may share infrastructure or distribution-level dependencies. Nobody has characterised the correlation.

How key rotation should be handled. The continuity model works well in the steady state and badly at exactly the moment it matters, since a legitimate rotation and a compromise look identical to a user. No satisfactory convention exists.

Whether verification can be made default. Package managers that verify automatically shift the trust to the distribution maintainer, which is better than nothing and is not the same guarantee. The gap between what is possible and what is usual has not narrowed much in a decade.

Check it yourself

The whole procedure, once the keys are present, is two commands.

gpg --verify SHA256SUMS.asc SHA256SUMS
sha256sum --ignore-missing --check SHA256SUMS

The first tells you which signatures over the hash list are good and which keys you do not have. The second tells you whether the file in your directory matches the list. Read both outputs rather than the exit code: the first will happily report an untrusted or unknown key alongside a valid-looking signature, and that distinction is what the section above was about.

Then open the attestation repository for the release you just installed and count the independent builders who produced the same bytes. That number is published, nobody checks it, and it is the clearest available measure of how much the second of this article’s three claims is actually worth.

Sources

Nearby