READPUBLIC(1)

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

πŸ¦‹ READPUBLIC(1) πŸ¦‹

okay bestie, so this is the manual for readpublic β€” it's a User Command, and yes the page is literally called READPUBLIC(1). grab a boba, we're doing this πŸ’…


✨ NAME ✨

readpublic β€” Runs TPM2_ReadPublic. that's it. that's the whole job. iconic honestly 🫢


🌸 DESCRIPTION 🌸

okay so first thing first, the page opens with a little vibe check that did not pass:

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

yeah. that's just... sitting there at the top. noted. πŸ’€

then, the actual deal:

readpublic

Runs TPM2_ReadPublic. no cap.

  • -ho object handle β€” this is your object handle, bestie, you gotta give it one.
  • [-opu public key file name (default do not save)] β€” optional! this is where the public key file goes. default behaviour is do not save it, so if you want it saved, you gotta say so 🌸
  • [-opem public key PEM format file name (default do not save)] β€” also optional! same energy, but for the public key in PEM format. and again, default is do not save. so many files, so little time ✨
  • -se[0-2] session handle / attributes (default PWAP) β€” the session handle and attributes situation. default is PWAP.

the attribute values are, and I'm quoting the page exactly:

01 continue 20 command decrypt 40 response encrypt 80 audit

so: 01 = continue, 20 = command decrypt, 40 = response encrypt, 80 = audit. memorise it, slay πŸŽ€

and THEN β€” and I cannot stress this enough β€” the page just... says all of that again. because apparently the first --version attempt also flopped:

--version is not a valid option

πŸ™ˆ so here's round two, identical twin energy:

readpublic

Runs TPM2_ReadPublic.

  • -ho object handle
  • [-opu public key file name (default do not save)] β€” default is do not save.
  • [-opem public key PEM format file name (default do not save)] β€” default is do not save.
  • -se[0-2] session handle / attributes (default PWAP)
01 continue 20 command decrypt 40 response encrypt 80 audit

same four attribute codes. same defaults. the manpage said "run it back" and ran it back πŸ’…

lowkey important: this page literally contains two "is not a valid option" errors printed as part of the description text β€” --version-string=v1045 and --version. I'm not editorialising, I'm just telling you what's on the page, fr fr. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

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

info readpublic

should give you access to the complete manual. that's your main character moment for deeper lore, bestie 🌈


and that's the whole page!! mwah πŸ’– stay hydrated, read your manpages, and remember: the vibe is immaculate but the flags are exact.

readpublic β€” July 2017 β€” READPUBLIC(1) πŸ¦‹βœ¨πŸŽ€

πŸ“¦ where this page comes from