HASH(1)
π HASH(1) β like, the hash page, bestie π
okay so this is HASH(1) from the User Commands corner of your manual, and we're gonna get you fluent in it, fr fr. π¦
β¨ NAME β¨
hash β runs TPM2_Hash π
πΈ DESCRIPTION πΈ
First things first, bestie, and I need you to hear me on this one: --version-string=v1045 is not a valid option. Not it. Not the vibe. Do not pass go. π
hash
Runs TPM2_Hash. That's the whole assignment. That's the moment. π
-hi hierarchy (e, o, p, n) (default null)
eendorsementoownerpplatformnnull
then, all together now:
[-halg (sha1, sha256, sha384) (default sha256)] -if input file to be hashed -ic data string to be hashed [-oh hash file name (default do not save)] [-tk ticket file name (default do not save)]
so to be super clear about that lineup, since the way it's written is giving β¨squishedβ¨:
[-halg (sha1, sha256, sha384) (default sha256)]β pick your hash algo, default issha256-ifβ input file to be hashed-icβ data string to be hashed[-oh hash file name (default do not save)]β where to save the hash, default is do not save[-tk ticket file name (default do not save)]β where to save the ticket, default is do not save
and now⦠the plot twist. 𫣠Because:
--version is not a valid option. bestie. it's giving "did not read the manual." π
so here we go again, same energy, same everything:
hash
Runs TPM2_Hash. π«Ά
-hi hierarchy (e, o, p, n) (default null)
eendorsementoownerpplatformnnull
and the rest, exactly as written:
[-halg (sha1, sha256, sha384) (default sha256)] -if input file to be hashed -ic data string to be hashed [-oh hash file name (default do not save)] [-tk ticket file name (default do not save)]
π‘ reminder bestie:-hihierarchy ise,o,p,nand it defaults tonull.-halgtakessha1,sha256orsha384and defaults tosha256.-ohand-tkboth default to not saving. no cap. π
π₯ SEE ALSO π₯
the full documentation for hash is maintained as a Texinfo manual. if the info and hash programs are properly installed at your site, the command
info hash
should give you access to the complete manual. go read it, it's iconic, iykyk πβ¨
signed off with love β hash, July 2017, and yeah it's still filed under HASH(1) in the User Commands section πππ
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