tss2_pcrread(1)
π tss2_pcrread(1) π
okay so welcome to the General Commands Manual side of the internet, bestie β today we're talking about tss2_pcrread(1) and it's honestly giving βsmall command, big PCR energyβ π
β¨
π NAME π
tss2_pcrread(1) β (yes, that's the name entry, it's lowkey just the command name and a dash, but we move π«Ά)
β¨ SYNOPSIS β¨
tss2_pcrread [OPTIONS]
π¦ SEE ALSO π¦
fapi-config(5)β use this to adjust Fapi parameters like the used cryptographic profile and TCTI, or directories for the Fapi metadata storages. iykyk πfapi-profile(5)β use this 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. so iconic π
πΈ DESCRIPTION πΈ
tss2_pcrread(1) β this command provides a PCRs value and corresponding event log. The PCR bank to be used per PCR is defined in the cryptographic profile (cf., fapi-profile(5)). no cap, that's the whole vibe check π
π OPTIONS π
These are the available options:
-o,--pcrValue=FILENAMEor-(for stdout) β returns PCR digest. Optional parameter. π-x,--pcrIndex=INTEGERβ identifies the PCR to read. π―-f,--forceβ force overwriting the output files. yes ma'am, overwrite energy π₯-l,--pcrLog=FILENAMEor-(for stdout) β returns the PCR log for that PCR. Optional parameter. πͺ΅β¨
PCR event logs are a list (arbitrary length JSON array) of log entries with the following content. bestie, here's the tea β:
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.
π«Ά COMMON OPTIONS π«Ά
This collection of options are common to all tss2 programs and provide information that many users may expect. group-chat faves, fr fr π¬
-h,--help [man|no-man]β display the tools 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 the βmanβ option argument is specified, however if explicit βmanβ is requested, the tool will provide errors from man on stderr. If the βno-manβ option if specified, or the manpager fails, the short options will be output to stdout. π manpage lore
To successfully use the manpages feature requires the manpages to be installed or on MANPATH, See man(1) for more details.
-v,--versionβ display version information for this tool, supported tctis and exit. slay, version check π
π EXAMPLE π
tss2_pcrread --pcrIndex=16 --pcrValue=pcrValue.file --pcrLog=pcrLog.file
β RETURNS β
0 on success or 1 on failure. simple as that, bestie π
π BUGS π
Github Issues. π«‘
π£ HELP π£
See the Mailing List. π
π License π
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). π
mwah π β this page is brought to you by tpm2-tools, stamped APRIL 2019. bye bestie, go read those PCRs responsibly πβ¨
π¦ 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