tss2_quote(1)
β¨ tss2_quote(1) β¨
okay so this is the tss2_quote(1) page from the General Commands Manual, and weβre gonna get you comfy with it because the vibes are immaculate and the TPM lore is real π
π©· NAME π©·
tss2_quote(1) - slay, thatβs the name line, and yes the dash is part of the moment π
πΈ SYNOPSIS πΈ
tss2_quote [OPTIONS]
this synopsis ate and left no crumbs β [OPTIONS] is literally the whole vibe, no cap β¨
π¦ SEE ALSO π¦
fapi-config(5)β to adjust Fapi parameters like the used cryptographic profile and TCTI or directories for the Fapi metadata storages. obsessed with the config lore πfapi-profile(5)β to determine the cryptographic algorithms and parameters for all keys and operations of a specific TPM interaction like the name hash algorithm, the asymmetric signature algorithm, scheme and parameters and PCR bank selection. iykyk, this is the profile blueprint π
π DESCRIPTION π
tss2_quote(1) - This command performs an attestation using the TPM. The PCR bank for each provided PCR index and signing scheme are set in the cryptographic profile (cf., fapi-profile(5)). the TPM has main character energy here, no cap π₯
β¨ OPTIONS β¨
These are the available options, bestie β itβs giving βpick your fave flagsβ π
-x,--pcrList=STRINGβ An array holding the PCR indices to quote against. the way thatSTRINGjust carries the PCR indices is so real π-Q,--qualifyingData=FILENAME or - (for stdin)β A nonce provided by the caller to ensure freshness of the signature. Optional parameter. lowkey the freshness check, and-means stdin π-l,--pcrLog=FILENAME or - (for stdout)β Returns the PCR log for the chosen PCR. Optional parameter. and-means stdout π
PCR event logs are a list (arbitrary length JSON array) of log entries with the following content, not me being obsessed with structured log entries:
recnum: Unique record numberpcr: PCR indexdigest: The digeststype: The type of event. At the moment the only possible value is:"LINUX_IMA"(legacy IMA)eventDigest: Digest of the event; e.g. the digest of the measured fileeventName: Name of the event; e.g. the name of the measured file.
-f,--forceβ Force overwriting the output file. highkey careful with this one, bestie β it really will overwrite π-p,--keyPath=STRINGβ Identifies the signing key. literally the signing keyβs address, periodt π-q,--quoteInfo=FILENAME or - (for stdout)β Returns a JSON-encoded structure holding the inputs to the quote operation. This includes the digest value and PCR values.-means stdout πΈ-o,--signature=FILENAME or - (for stdout)β Returns the signature over the quoted material. the signature slay π-means stdout β¨-c,--certificate=FILENAME or - (for stdout)β The certificate associated withkeyPathin PEM format. Optional parameter.-means stdout π
π COMMON OPTIONS π
This collection of options are common to all tss2 programs and provide information that many users may expect. vibe check: these are the communal besties of the tss2 world π«Ά
-h,--help [man|no-man]β Display the toolβs manpage. By default, it attempts to invoke the manpager for the tool, however, on failure will output a short tool summary. This is the same behavior if themanoption argument is specified, however if explicitmanis requested, the tool will provide errors from man onstderr. If theno-manoption is specified, or the manpager fails, the short options will be output tostdout. To successfully use the manpages feature requires the manpages to be installed or onMANPATH, Seeman(1)for more details. iykyk π-v,--versionβ Display version information for this tool, supported tctis and exit. quick little version vibe check and then bye π
β EXAMPLE β
this example is iconic, fr fr β copy it exactly and let it cook π³
tss2_quote --keyPath=HS/SRK/quotekey --pcrList="10,16" --qualifyingData=qualifyingData.file --signature=signature.file --pcrLog=pcrLog.file --certificate=certificate.file --quoteInfo=quoteInfo.info
π RETURNS π
0 on success or 1 on failure. fr fr, thatβs the whole return vibe β success is 0, failure is 1, periodt π
π BUGS π
Github Issues. ngl, if somethingβs cursed, thatβs where the bug lore lives π
π«Ά HELP π«Ά
See the Mailing List. the mailing list is there for you, bestie π
π License π
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). legal slay, we love a permissive license moment β¨
okay thatβs the whole manual, bestie π β source/version: tpm2-tools; date: APRIL 2019; page: tss2_quote(1). mwah π
π¦ where this page comes from
- arch rolling: tpm2-tools 5.8-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms