tss2_writeauthorizenv(1)

πŸ‘‘ tss2_writeauthorizenv(1) β€” the General Commands Manual glow-up ✨

okay bestie, so this is a page from the General Commands Manual, and it's literally about tss2_writeauthorizenv(1). no cap. let's get into it πŸ’…


✨ NAME ✨

tss2_writeauthorizenv(1) β€” (yes, the original just leaves it at that, and honestly? iconic minimalism πŸŽ€)


🌸 SYNOPSIS 🌸

tss2_writeauthorizenv [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

so tss2_writeauthorizenv(1) is that girl. what she does is write the digest value of a policy to an NV index β€” so that this whole policy can then be used in other policies that contain a corresponding PolicyAuthorizeNv element. it's giving policy pipeline main character energy, fr fr πŸ”₯


πŸ’– OPTIONS πŸ’–

these are the available options, bestie:

  • -p, --nvPath=STRING β€” the path of the NV index πŸ—‚οΈ
  • -P, --policyPath=STRING β€” the path of the new policy ✨

🌈 COMMON OPTIONS 🌈

this collection of options are common to all tss2 programs, and they hand you info that a lot of users just expect to be there. we love consistency 🫢

  • -h, --help [man|no-man] β€” display the tool's manpage. by default it tries to invoke the manpager for the tool, but if that fails it'll output a short tool summary instead. same behavior applies if the man option argument is specified β€” however, if man is explicitly requested, the tool will provide errors from man on stderr. and if the no-man option is specified, or the manpager fails, the short options get output to stdout. 😭
to successfully use the manpages feature, the manpages need to be installed or on MANPATH. see man(1) for more details πŸ’€
  • -v, --version β€” display version information for this tool, supported tctis, and then exit πŸ‘‘

πŸŽ€ EXAMPLE πŸŽ€

tss2_writeauthorizenv --nvPath=/nv/Owner/myNV --policyPath=/policy/pcr-policy

ate, no crumbs πŸ“


⭐ RETURNS ⭐

0 on success, or 1 on failure. that's the whole vibe check.


πŸ’€ BUGS πŸ’€

Github Issues πŸ™ˆ (yes, that's where they live)


πŸ’œ HELP πŸ’œ

See the Mailing List 🧚


🌸 License 🌸

This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). slay and share alike, bestie πŸ’–


okay so that's the whole thing!! this lil page comes to you from tpm2-tools, dated APRIL 2019 β€” and honestly it's still serving. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from