tss2_changeauth(1)
π NAME
tss2_changeauth(1) β bestie, this is the command that changes the authorization data (aka the password/secrets) of an entity, and that entity is referred to by its path. That's it, that's the whole vibe. β¨
π¦ SYNOPSIS
tss2_changeauth [OPTIONS]
π SEE ALSO
fapi-config(5)β lowkey the one you want when you need to adjust Fapi parameters, like the cryptographic profile it's using, the TCTI, or the directories for the Fapi metadata storages. πfapi-profile(5)β this one pins down the cryptographic algorithms and parameters for all keys and operations of a specific TPM interaction. We're talking the name hash algorithm, the asymmetric signature algorithm, scheme and parameters, and PCR bank selection. Fr fr, go read it. π
π DESCRIPTION
tss2_changeauth(1) β that's the icon herself. (The OG page doesn't really elaborate here, so neither will I β the options below are doing all the talking. π«Ά)
β¨ OPTIONS β¨
These are the options you actually get to play with, bestie:
-a,--authValue=STRINGβ the new UTF-8 password. It's optional, so if you just don't bother with it, the tool will ask you for a password interactively instead. Want no password at all? Then use this option with the empty string (""). And heads up: the max password size is determined by the digest size of the name hash algorithm you chose in the cryptographic profile (cf.,fapi-profile(5)). So like, if you pick SHA256 as your hash algorithm, you get passwords up to a max size of 32 characters. No cap. π₯-p,--entityPath=STRINGβ the path that identifies the entity you want to modify. Point her at the right thing, please. π―
π COMMON OPTIONS
This lil collection right here is common to all tss2 programs β they provide info that many users just kinda expect to be there. π§
-h,--help [man|no-man]β displays the tool's manpage. By default it tries to invoke the manpager for the tool, but if that fails it'll output a short tool summary instead. Same behavior if you specify themanoption argument β but if you explicitly requestman, the tool will give you errors from man onstderr. If you specify theno-manoption, or the manpager just flops, the short options get output tostdout. π«
To successfully use the manpages feature, the manpages need to be installed or onMANPATHβ seeman(1)for more details, bestie. Don't skip the fine print. π
-v,--versionβ displays version information for this tool, the supported tctis, and then exits. Slay. β
πΈ EXAMPLES
Change a password for an entity HS/SRK/myRSACryptKey to M1
tss2_changeauth --entityPath=HS/SRK/myRSACryptKey --authValue=M1
Change a password for an entity HS/SRK/myRSACryptKey and ask the user to enter the password
tss2_changeauth --entityPath=HS/SRK/myRSACryptKey
π RETURNS
0 on success or 1 on failure. That's the whole vibe check β binary, iconic, no in-between. π
π BUGS
Github Issues π
π«Ά HELP
See the Mailing List π
π License
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
okay so that's the whole page, bestie β she ate and left no crumbs π. This masterpiece is brought to you by tpm2-tools, dated APRIL 2019, and honestly? Iconic behavior. mwah πβ¨
π¦ where this page comes from
- arch rolling: tpm2-tools 5.8-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms