YUBIHSM-AUTH(1)
β¨ yubihsm-auth β¨ β aka the YUBIHSM-AUTH(1) page, User Commands energy π
okay so bestie, before anything: this is the manual for yubihsm-auth, version 2.8.0. If you're here you're probably poking at a YubiHSM2 and you need to do auth-y things to it. It's giving "cryptographic key management but make it a group chat". Let's go π«Ά
π NAME π
yubihsm-auth β literally the manual page for yubihsm-auth 2.8.0 π
πΈ SYNOPSIS πΈ
yubihsm-auth [OPTION]...
that's it. that's the whole synopsis. options only, no positional drama. slay π
π DESCRIPTION π
so here's the full roster of everything yubihsm-auth will listen to, and the way that these flags work is you hand it one (or a few) and it goes and does the thing. no cap, every single one is here:
-h,--helpβ prints the help and then dips out. exit stage left π-V,--versionβ prints the version and then also dips out. iconic behaviour π-a,--action=ENUMβ the action you want to perform. possible values are"calculate","change-mgmkey","delete","list","put","reset","retries","version","get-challenge","get-pubkey"β β that's the whole menu, don't be adding extras-k,--mgmkey=STRINGβ the management key. you need this one toputanddeletecredentials, so like, don't forget it. sometimes this key is also called the 'Admin Access Code' (iykyk). default is00000000000000000000000000000000-K,--new-mgmkey=STRINGβ new management key. default is''(empty, bestie, literally nothing) π-p,--credpwd=STRINGβ the credential password, which is what gets used to access the credential when you log into the YubiHSM2. sometimes people call this the 'User Access Code'. default is''-l,--label=STRINGβ credential label. default is''-r,--reader=STRINGβ only use a matching reader. filter that vibe check. default is''-t,--touch=ENUMβ whether touch is required. possible values are"off"and"on", and the default isoffπ-c,--context=STRINGβ the session keys calculation context. default is''-v,--verbose[=INT]β print more information. default is0. note the[=INT]β you can optionally hand it a number, it's flexible like that π
π Mode: derivation
derive keys from a password using PBKDF2, which is very main character of it β¨
-d,--derivation-password=STRINGβ derivation password for encryption and MAC keys. default is''
π Mode: explicit
explicit encryption and MAC keys, no derivation steps, we go direct π§
-e,--enckey=STRINGβ encryption key. default is''-m,--mackey=STRINGβ MAC key. default is''
π¦ Mode: asymmetric
explicit ec-p256 private key time, get you a curve that can do both π
-s,--privkey=STRINGβ private key. default is''
bestie reminder: thosedefault=values with''in them are genuinely empty strings β the page says so, not me. and the management key thing is real:putanddeleteneed it. don't skip it and then come cry in the group chat π
okay that's the whole page, every flag accounted for, no crumbs left. this was yubihsm-auth version 2.8.0, dated July 2026, and yeah it's the YUBIHSM-AUTH(1) manual page. go be great with your keys, mwah πΈππ«Ά
π¦ where this page comes from
- arch rolling: yubihsm-auth 2.8.0-2 Β· Apache-2.0
- ubuntu stonking: yubihsm-auth 2.8.0-1build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms