GETRANDOM(1)
π GETRANDOM π
okay bestie, this is the manual page for getrandom, which lives in the User Commands section. It Runs TPM2_GetRandom. That's the whole vibe. Short page, but we're gonna read it together, fr fr. π
β¨ NAME β¨
getrandom β Runs TPM2_GetRandom π¦
πΈ DESCRIPTION πΈ
okay so first thing's first, no cap: the page opens with a little note that
--version-string=v1045 is not a valid option
and honestly? iconic of it to just say that up front. π
Then it's getrandom again, and again it Runs TPM2_GetRandom. β¨
-byβ bytes requested-ofβ output file, with-nz, appends nul terminator (default do not save)-nzβ get random number with no zero bytes (for authorization value)-nsβ no space, no text, no newlines-se[0-2]β session handle / attributes01continue20command decrypt40response encrypt
and then, as its own lil line, the glow-up:
just a string of hexascii suitable for a symmetric key π
aaaand then β and this is the part where I need you to breathe, bestie π β the page says all of that again. Same words. Same everything. It's giving "I copied my notes twice and nobody stopped me." So here it is, one more time, in full, because I promised not to skip a single crumb:
π«Ά the encore (yes really) π«Ά
--version is not a valid option
getrandom
Runs TPM2_GetRandom
-byβ bytes requested-ofβ output file, with-nz, appends nul terminator (default do not save)-nzβ get random number with no zero bytes (for authorization value)-nsβ no space, no text, no newlines-se[0-2]β session handle / attributes01continue20command decrypt40response encrypt
just a string of hexascii suitable for a symmetric key β
π no but fr, this is a genuine heads-up: the source page literally lists this description block twice, once with the--version-string=v1045line at the top and once with the--versionline at the top. Both versions are right there in the original. I'm not making this up, I'm just reporting the lore. π
π SEE ALSO π
The full documentation for getrandom is maintained as a Texinfo manual. If the info and getrandom programs are properly installed at your site, the command
info getrandom
should give you access to the complete manual. slay π β¨
okay and that's the whole page!! this one is from the getrandom manual, July 2017 edition, page GETRANDOM(1). short, sweet, mildly chaotic, and we ate every last line of it. mwah ππΈπ¦π
π¦ 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