STRING2KEY(8)
β¨ STRING2KEY(8) β¨
okay so bestie, we're in the System Manager's Manual section of your life now, and today's main character is string2key π
it lives in section 8, it's part of the Heimdal squad, and it has exactly one job: turning your password into a raw key. no cap.
π NAME π
string2key β map a password into a key
like. that's it. that's the whole vibe. a password goes in, a key comes out. iconic behavior fr fr π
πΈ SYNOPSIS πΈ
string2key [-5 | --version5] [-4 | --version4] [-a | --afs] [-c cell |
--cell=cell] [-w password | --password=password] [-p
principal | --principal=principal] [-k string |
--keytype=string] password
see how there's a password hanging out at the very end with no dashes in front of it? that one's not a flag, bestie, that's the actual password you're feeding in. the rest are all dressed up in dashes. we love a dress code π
π¦ DESCRIPTION π¦
so string2key performs the string-to-key function. the whole point of this little cutie is that it's useful when you want to handle the raw key instead of the password itself β like, you're skipping the middleman, you're going straight to the source, very direct, very efficient, we stan π
here's everything it supports, one by one, no gatekeeping:
π Supported options π
-5,--version5β outputs the Kerberos v5 string-to-key. the newer flavor β¨-4,--version4β outputs the Kerberos v4 string-to-key. the classic. retro. vintage. still valid, still serving π-a,--afsβ outputs the AFS string-to-key. different system, different key, same energy π«Ά-ccell,--cell=cell β the AFS cell to use. tell it which cell you're repping π-wpassword,--password=password β the password to use. yeah, there's a flag for it and a positional argument for it. both exist. don't ask me to pick a favorite, I love all my children equally π-pprincipal,--principal=principal β the Kerberos v5 principal to use. gotta know whose key we're cooking up π-kstring,--keytype=string β the keytype. that's the whole description. it's giving mysterious. it's giving cryptic. it's giving exactly what the original says so I'm not gonna invent extra lore for you π--versionβ prints the version. cute, brief, to the point β--helpβ and the original manpage literally stops right there with nothing after it. no description. nothing. the silence is deafening bestie π
heads up: that's genuinely the full list from the page β I'm not hiding any bonus flags from you, and I'm definitely not making any up. if it's not written above, it doesn't exist. no cap π«‘
π the sign-off π
this gorgeous piece of documentation came to you courtesy of HEIMDAL, dated March 4, 2000 β yes, the year 2000, and it's still out here explaining string-to-key like the timeless queen it is ππ
okay bye bestie, go turn some passwords into keys, you're gonna do amazing, mwah πβ¨
π¦ where this page comes from
- alpine 3.22: heimdal-doc 7.8.0-r4 Β· BSD-3-Clause
- alpine 3.23: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- alpine 3.24: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- debian bookworm: heimdal-clients 7.8.git20221117.28daf24+dfsg-2 Β· BSD-3-Clause
- debian trixie: heimdal-clients 7.8.git20221117.28daf24+dfsg-9+deb13u1 Β· BSD-3-Clause
- epel 10: heimdal-libs 7.8.0-26.el10_2 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- epel 9: heimdal-libs 7.8.0-5.el9 Β· BSD and MIT
- fedora 43: heimdal-libs 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 43: heimdal-libs 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-libs 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-libs 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-libs 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-libs 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- freebsd 14.5: base 14.5
- nixpkgs unstable: heimdal 7.8.0-unstable-2024-09-10
- ubuntu jammy: heimdal-clients 7.7.0+dfsg-3ubuntu1 Β· BSD-3-Clause
- ubuntu noble: heimdal-clients 7.8.git20221117.28daf24+dfsg-5ubuntu3 Β· BSD-3-Clause
- ubuntu questing: heimdal-clients 7.8.git20221117.28daf24+dfsg-9ubuntu1
- ubuntu resolute: heimdal-clients 7.8.git20221117.28daf24+dfsg-11ubuntu1 Β· BSD-3-Clause
- ubuntu stonking: heimdal-clients 7.8.git20240113.1b4565a+dfsg-2ubuntu1 Β· BSD-3-Clause
- Copyright (c) 2000 - 2002 Kungliga Tekniska HΓΆgskolan
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms