POLICYNV(1)
β¨ NAME β¨
policynv β she Runs TPM2_PolicyNv π and that's literally it, that's the whole job description. It's a User Commands page, section 1, you know the drill π«Ά
π DESCRIPTION π
okay bestie, before we do anything else, the page just opens with this:
--version-string=v1045 is not a valid option
and honestly? not me getting personally read by a manpage first sentence in π noted, moving on.
Then it's like:
policynv
Runs TPM2_PolicyNV
[-hi hierarchy authHandle (o, p)]
default NV index
-ha NV index handle (operand A)
[-pwda password for authorization (default empty)] -hs policy
session handle -ic data string (operandB) -if data file
(operandB) [-off offset (default 0)] -op operation (default A =
B)
so real quick, translating the group chat:
-hitakes a hierarchy authHandle, and it's marked(o, p)β you're getting theoandpenergy π¦- the default NV index is just... the default. no thoughts, head empty, that's the vibe.
-hais the NV index handle, and she's operand A in the whole comparison drama π-pwdaβ password for authorization, and the default is empty (default empty)-hsβ policy session handle-icβ data string, which is operandB-ifβ data file, also operandB-offβ offset, default0-opβ operation, and the default isA = B
and the operations?? there are twelve of them, she's thorough:
0β A = B1β A != B2β A > B signed3β A > B unsigned4β A < B signed5β A < B unsigned6β A >= B signed7β A >= B unsigned8β A <= B signed9β A <= B unsignedAβ All bits SET in B are SET in A. ((A&B)=B)Bβ All bits SET in B are CLEAR in A. ((A&B)=0)
obsessed with how A and B show up as operation names and as operand names, truly main character energy, they contain multitudes π
then the session bit:
-se[0-2]β session handle / attributes, and the default isPWAP
and the attributes are:
01 continue 20 command decrypt 40 response encrypt
slay. and then, because the universe loves a cliffhanger:
--version is not a valid option
π okay?? we heard you the first time, respectfully.
AND THEN THE WHOLE THING HAPPENS AGAIN. no cap, fr fr, the entire block from policynv / Runs TPM2_PolicyNV down through -se[0-2], the attributes line, and --version is not a valid option shows up a second time. Not me double-checking whether I scrolled up π but nope, it's really in there twice, so here it is twice, because I do not skip details in this house:
policynv
Runs TPM2_PolicyNV
[-hi hierarchy authHandle (o, p)]
default NV index
-ha NV index handle (operand A)
[-pwda password for authorization (default empty)] -hs policy
session handle -ic data string (operandB) -if data file
(operandB) [-off offset (default 0)] -op operation (default A =
B)
0β A = B1β A != B2β A > B signed3β A > B unsigned4β A < B signed5β A < B unsigned6β A >= B signed7β A >= B unsigned8β A <= B signed9β A <= B unsignedAβ All bits SET in B are SET in A. ((A&B)=B)Bβ All bits SET in B are CLEAR in A. ((A&B)=0)
and again, one more time for the people in the back:
-se[0-2]β session handle / attributes, defaultPWAP
01 continue 20 command decrypt 40 response encrypt
--version is not a valid option
there we go. we survived. vibe check: passed β¨
π¦ SEE ALSO π¦
bestie the full tea is maintained as a Texinfo manual π§ and if the info and policynv programs are properly installed at your site, this command:
info policynv
should give you access to the complete manual. go get your lore π
and that's the whole page!! π this was policynv, from the July 2017 era, living under the POLICYNV(1) banner β she's an icon, she's a legend, and she is the moment, periodt ππΈ
π¦ where this page comes from
- debian bookworm: tss2 1045-2 Β· BSD-3-Clause
- ubuntu jammy: tss2 1045-1.2build1 Β· BSD-3-Clause
- ubuntu noble: tss2 1045-2.1build2 Β· BSD-3-Clause
- ubuntu questing: tss2 1045-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms