TPM_VERIFYQUOTE(8)
π NAME π
tpm_verifyquote β bestie, this is the one that checks a TPM quote's signature and tells you if it's actually real β¨
π SYNOPSIS π
tpm_verifyquote [-hv] PUBKEY-FILE HASH-FILE NONCE-FILE [QUOTE-FILE]
π¦ DESCRIPTION π¦
Okay so picture this: a TPM quote happened, a signature came out of it, and now somebody has to be the responsible friend who double-checks it. That's this program. πΈ
It verifies the signature that a TPM quote produced, and it'll find that quote in the file QUOTE-FILE β or, if you didn't hand it a QUOTE-FILE at all, it just reads the quote straight from standard input instead. No biggie. π
Then there's the supporting cast, and every single one of them matters:
PUBKEY-FILEβ this holds the public key that gets used to validate the signature. πHASH-FILEβ this holds the signed data, and here's the thing: that data was generated using the same key and the same Platform Configuration Registers that were used to generate the quote. Gotta match, fr fr.NONCE-FILEβ this one holds the nonce that was used to generate the quote. One-time use, very main character, very exclusive. β
And like, the part you cannot sleep on β the genuinely critical bit β is that the signed data includes the PCR composite hash, which is what lets you validate that the PCRs actually contain their expected values. So if that composite hash lines up, your PCRs are who they say they are. If it doesn'tβ¦ π you're gonna want to know that.
π Do not skip theHASH-FILEand do not skip theNONCE-FILE. Those aren't garnish, they're the whole point.
Now, the flags β there are exactly two, and they're the chill ones:
-hβ displays command usage info. Basically "how do I use this again?" π-vβ displays command version info. Basically "which version of this are we even running?" β¨
π SEE ALSO π
and that's the whole page, bestie, you ate it up π«Ά This lil icon of a manpage is from the Verify TPM Quote manual, version/date Oct 2010 β old enough to be vintage, still valid enough to verify your quotes. Periodt. π π π¦
π¦ where this page comes from
- debian bookworm: tpm-quote-tools 1.0.4-1+b2 Β· BSD-3-Clause
- debian trixie: tpm-quote-tools 1.0.4-1+b3 Β· BSD-3-Clause
- nixos 26.05: tpm-quote-tools 1.0.4
- nixpkgs unstable: tpm-quote-tools 1.0.4
- ubuntu jammy: tpm-quote-tools 1.0.4-1build2 Β· BSD-3-Clause
- ubuntu noble: tpm-quote-tools 1.0.4-1build4 Β· BSD-3-Clause
- ubuntu questing: tpm-quote-tools 1.0.4-1build4
- ubuntu resolute: tpm-quote-tools 1.0.4-1build5 Β· BSD-3-Clause
- ubuntu stonking: tpm-quote-tools 1.0.4-2build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms