NVREADPUBLIC(1)

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

✨ NAME ✨

nvreadpublic β€” bestie, this one Runs TPM2_NV_ReadPublic. That's the whole vibe. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so first things first, we gotta address the elephant in the room:

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

not me getting that out of the way immediately 😭 like. it's not valid. don't do it. moving on!

πŸŽ€ nvreadpublic

Runs TPM2_NV_ReadPublic. iconic behaviour, honestly.

  • -ha NV index handle β€” this is where you hand over the NV index handle. literally just give it the handle bestie, it's giving "pass the aux" 🫢
  • [-nalg expected name hash algorithm (sha1, sha256, sha384) (default sha256)] β€” you can optionally tell it which name hash algorithm you're expecting. your choices are sha1, sha256, or sha384, and if you say nothing it lowkey defaults to sha256. slay πŸ’–
  • -se[0-2] session handle / attributes (default PWAP) β€” session handle and attributes, and the default here is PWAP. the attribute values you can pass are:
    • 01 continue
    • 20 command decrypt
    • 40 response encrypt
    • 80 audit

no cap, that's the whole list. πŸ”₯


πŸ’œ and like… again?? πŸ’œ

okay so the page does the thing where it says the exact same stuff a second time, and I'm not about to gatekeep, so here it is in full:

--version is not a valid option

not valid either!! πŸ™ˆ consider yourself warned twice, which is honestly a serve of thoroughness.

🌸 nvreadpublic

Runs TPM2_NV_ReadPublic β€” yes, again. consistent queen. πŸ‘‘

  • -ha NV index handle β€” NV index handle. that's the assignment. πŸŽ€
  • [-nalg expected name hash algorithm (sha1, sha256, sha384) (default sha256)] β€” expected name hash algorithm, one of sha1, sha256, sha384, defaults to sha256. same as before, still correct, still cute. ✨
  • -se[0-2] session handle / attributes (default PWAP) β€” session handle / attributes, default PWAP, and the attribute values are:
    • 01 continue
    • 20 command decrypt
    • 40 response encrypt
    • 80 audit

and that's it. we ate. πŸ“


🌈 SEE ALSO 🌈

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

info nvreadpublic

should give you access to the complete manual. go read the real thing bestie, it's the main character fr fr πŸ“šπŸ’–


okay so this little page? brought to you as nvreadpublic, dated July 2017 β€” yeah she's a vintage icon and she still serves. byeeee πŸŽ€βœ¨πŸ‘‘

πŸ“¦ where this page comes from