NVREADLOCK(1)

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

πŸ’– NAME πŸ’–

nvreadlock β€” Runs TPM2_NV_ReadLock

okay so bestie, welcome to the nvreadlock(1) page, living in the User Commands section of your manual, and it is exactly one job: it runs TPM2_NV_ReadLock. that's the whole vibe. πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

no cap, the description section here is giving "raw output, no filter," so let's just look at it together and I'll walk you through every crumb. πŸ“

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

nvreadlock

Runs TPM2_NV_ReadLock

       [-hia hierarchy authorization (o, p)(default index
       authorization)] -ha NV index handle -pwdn password for NV index
       (default empty)

-se[0-2] session handle / attributes (default PWAP)

       01 continue

not me reading this like a text from my bestie β€” let's decode the parts one by one, fr fr:

  • nvreadlock β€” the command itself, and it Runs TPM2_NV_ReadLock. that's it. that's the job. main character energy. πŸ‘‘
  • -hia β€” hierarchy authorization. it takes (o, p), and the default is index authorization. 🌸
  • -ha β€” the NV index handle. you gotta tell it which handle, bestie.
  • -pwdn β€” password for NV index, and the default is empty. 🫢
  • -se[0-2] β€” session handle / attributes, and the default is PWAP.
  • 01 continue β€” literally that, 01 continue. πŸ’€

and then β€” because the universe loves a plot twist β€” the page says it again, with one tiny difference:

--version is not a valid option

nvreadlock

Runs TPM2_NV_ReadLock

       [-hia hierarchy authorization (o, p)(default index
       authorization)] -ha NV index handle -pwdn password for NV index
       (default empty)

-se[0-2] session handle / attributes (default PWAP)

       01 continue

so yeah: --version-string=v1045 is not a valid option shows up in the first pass, and --version is not a valid option shows up in the second. both of those lines are straight-up telling you those flags are not valid options, no notes, periodt. πŸ™ˆ

heads up bestie β€” those two "not a valid option" lines are literally in the page, so don't come for me, I'm just the messenger πŸ’–

🌈 SEE ALSO 🌈

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

info nvreadlock

should give you access to the complete manual. go get your full lore, babe πŸ“šβœ¨


okay and that's a wrap! this whole thing came from the nvreadlock page, dated July 2017, sitting pretty under NVREADLOCK(1). bye bestie, slay your TPM reads πŸ’œπŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from