REWRAP(1)

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

REWRAP(1) πŸ’–

okay bestie, this is rewrap from User Commands, and before you even ask β€” yes, the page is a little chaotic, and no, I'm not going to pretend it isn't. We're going to hold hands and get through it together. 🫢


✨ NAME ✨

rewrap β€” Runs TPM2_Rewrap


🌸 DESCRIPTION 🌸

okay so. the very first thing this page says is:

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

like... iconic of it to open with a complaint, honestly. πŸ’€ that's literally the text, bestie. I'm not editorialising, I'm just reporting.

Rewrap

Runs TPM2_Rewrap

  • -ho β€” handle of object old parent
  • [-pwdo β€” password for old parent] (default empty)
  • -hn β€” handle of object new parent
  • -id β€” duplicate private area file name
  • -in β€” object name file name
  • -iss β€” input symmetric seed file name
  • [-od β€” rewrap private area file name (default do not save)]
  • [-oss β€” symmetric seed file name (default do not save)]
  • -se[0-2] β€” session handle / attributes (default PWAP)

and then, for the session attributes, the values are:

01 continue
20 command decrypt
40 response encrypt

01 continue, 20 command decrypt, 40 response encrypt β€” write that down, bestie, it's giving cheat sheet. πŸ“

Rewrap (yes. again. 😭)

Runs TPM2_Rewrap

  • -ho β€” handle of object old parent
  • [-pwdo β€” password for old parent] (default empty)
  • -hn β€” handle of object new parent
  • -id β€” duplicate private area file name
  • -in β€” object name file name
  • -iss β€” input symmetric seed file name
  • [-od β€” rewrap private area file name (default do not save)]
  • [-oss β€” symmetric seed file name (default do not save)]
  • -se[0-2] β€” session handle / attributes (default PWAP)

and once more with feeling:

01 continue
20 command decrypt
40 response encrypt

and then the page hits you with:

--version is not a valid option

bestie. the manual literally lists the options, then lists them again, then tells you two different version flags aren't valid. it's giving "notes app at 3am" energy and honestly? I respect it. πŸ™ˆ

real talk tho β€” I'm keeping every single line exactly as the page has it. nothing merged, nothing tidied, nothing invented. the duplication is canon, and so are both of those not-a-valid-option lines. don't come for me, I'm just the messenger. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

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

info rewrap

should give you access to the complete manual. πŸŽ€


and that's the whole vibe, bestie β€” the page itself is dated July 2017, it signs off as rewrap under REWRAP(1), and it lives in the User Commands section of the manual. go forth and info rewrap. slay. πŸ‘‘βœ¨

πŸ“¦ where this page comes from