POLICYPCR(1)

πŸ“¦
version 1045 Β· 3 versions
, in debian bookworm, ubuntu jammy, ubuntu noble, ubuntu questing

πŸ‘‘ POLICYPCR πŸ‘‘

okay bestie, welcome to the policypcr page from the User Commands section of the manual πŸ’… this one's short and sweet and honestly kind of chaotic, so let's get into it ✨


🌸 NAME 🌸

policypcr β€” runs TPM2_PolicyPCR 🫢


πŸŽ€ DESCRIPTION πŸŽ€

so first thing the page hits you with is this, literally right at the top:

--version-string=v1045 is not a valid option

no cap, that's just what it says πŸ™ˆ

then it says:

policypcr

runs TPM2_PolicyPCR πŸ’–

here's the flag rundown, bestie:

  • -ha β€” policy session handle
  • -halg β€” (sha1, sha256) (default sha256)
  • -bm β€” pcr mask in hex

like, for example, -bm 10000 is PCR 16, and 000001 is PCR 0 πŸ¦‹

and then β€” okay not to be dramatic but β€” the page does the exact same thing all over again. like, second verse same as the first:

--version is not a valid option

policypcr

runs TPM2_PolicyPCR πŸ’…

and the flags again, in case you blinked:

  • -ha β€” policy session handle
  • -halg β€” (sha1, sha256) (default sha256)
  • -bm β€” pcr mask in hex

for real, -bm 10000 is PCR 16, and 000001 is PCR 0 ⭐

🫢 friendly heads up: the manual literally lists all of this twice, back to back. not me editing it, that's just the lore. i'm telling you everything it tells you, promise πŸ’œ

🌈 SEE ALSO 🌈

the full documentation for policypcr is maintained as a Texinfo manual πŸ“– if the info and policypcr programs are properly installed at your site, then this command:

info policypcr

should give you access to the complete manual ✨ like, that's your main character moment for getting the full tea πŸ‘‘


and that's the whole vibe πŸŽ€ this page is policypcr from July 2017, filed under User Commands β€” mwah, iconic, periodt πŸ’–πŸ¦‹πŸ’…

πŸ“¦ where this page comes from