ATTEST-TOOL(1)
π ATTEST-TOOL(1) π
okay bestie, welcome to the User Commands corner of the manual β this is attest-tool, and no cap, it's the little utility that does attestation-related TPM operations. π¦
β¨ NAME β¨
attest-tool β perform attestation-related TPM operations π
πΈ DESCRIPTION πΈ
Usage of attest-tool:
here's the vibe check on the flags, and yes you need all of them, don't skip:
-keystring β the path to your key file, and it defaults to"ak.json"if you don't say otherwise π-noncestring β a hex string you wanna use as the nonce when quoting π-random-nonceβ say sike to your own nonce and generate a random one instead β¨-sha256β use SHA256 for quote operations, periodt π
π COMMANDS π
attest-tool is a simple utility to exercise attestation-related operations on your system. lowkey iconic of it.
attest-tool infoattest-tool make-akattest-tool quoteattest-tool list-eksattest-tool list-pcrsattest-tool measurement-logattest-tool dumpattest-tool self-test
π§ TEST π§
the main character use-case of attest-tool is testing whether attestation even works on the local system, fr fr.
once attest-tool has been built, you can run it in self-test mode like this:
attest-tool self-test
after a few seconds it should print out a 'PASS' message, or a 'FAIL' message with a description of what went wrong. π that FAIL better not be you.
β οΈ on Linux,attest-tooleither needs to be run as root, or granted access to the TPM (/dev/tpmrm0) device & event log (/sys/kernel/security/tpm0/binary_bios_measurements). no shortcuts bestie, the TPM does not play. π
and that's the whole page, you ate it π«Ά β this was attest-tool version 0.6.1-5, dated August 2026. bye bestie, go run that self-test πβ¨π
π¦ where this page comes from
- ubuntu stonking: attest-tool 0.6.1-5 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms