POLICYSECRET(1)

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

πŸ’– NAME πŸ’–

policysecret β€” ok so bestie, this is the one that Runs TPM2_PolicySecret. That's it. That's the whole name. Short, sweet, iconic. ✨


🌸 DESCRIPTION 🌸

First things first, no cap, the manpage literally opens with this:

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

Like... okay girl we hear you πŸ’€ that's just what it says, and I'm not gonna lie to you about it.

policysecret β€” it Runs TPM2_PolicySecret. 🫢

Here's the whole roster of what it takes, fr fr:

  • -ha β€” authorizing entity handle
  • -hs β€” policy session handle
  • -in β€” nonceTPM file (default none)
  • -cp β€” cpHash file (default none)
  • -pref β€” policyRef file (default none)
  • -exp β€” expiration (default none)
  • -pwde β€” authorizing entity password (default empty)
    • [-tk ticket file name] [-to timeout file name] β€” written exactly like this in the source, brackets and all, no notes added πŸ’…
  • -se[0-2] β€” session handle / attributes (default PWAP)
    • 01 continue 20 command decrypt 40 response encrypt

And then β€” plot twist β€” it does the whole thing AGAIN. 😭 Same content, second verse, same as the first. Because the manpage said so and I am but a humble narrator:

--version is not a valid option

Yep. That's the line. It's giving "the docs are the docs" energy and honestly? Respect. πŸŽ€

policysecret β€” Runs TPM2_PolicySecret. (Round two, bestie, same energy.)

  • -ha β€” authorizing entity handle
  • -hs β€” policy session handle
  • -in β€” nonceTPM file (default none)
  • -cp β€” cpHash file (default none)
  • -pref β€” policyRef file (default none)
  • -exp β€” expiration (default none)
  • -pwde β€” authorizing entity password (default empty)
    • [-tk ticket file name] [-to timeout file name] β€” again, verbatim, brackets intact πŸ¦‹
  • -se[0-2] β€” session handle / attributes (default PWAP)
    • 01 continue 20 command decrypt 40 response encrypt
Not me flagging this as a warning-aside: those two not a valid option lines are in here because they're in the original. I did not invent them, I did not "fix" them, and I will not be taking questions. πŸ™ˆ

🌈 SEE ALSO 🌈

The full documentation for policysecret is maintained as a Texinfo manual. If the info and policysecret programs are properly installed at your site, this command:

info policysecret

should give you access to the complete manual. πŸ‘‘


Ok that's the whole page, bestie!! 🫢 This was the policysecret page from July 2017, sitting in section 1 (User Commands), and its footer name is policysecret. Go forth and slay. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from