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 themanoption argument is specified β however, ifmanis explicitly requested, the tool will provide errors frommanon stderr. and if theno-manoption 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 onMANPATH. seeman(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
- 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