tss2_authorizepolicy(1)
πΈ NAME πΈ
tss2_authorizepolicy(1) β okay bestie, this is the page for this command, straight outta the General Commands Manual. β¨
β¨ SYNOPSIS β¨
tss2_authorizepolicy [OPTIONS]
π SEE ALSO π
fapi-config(5)β use this to adjust Fapi parameters like the used cryptographic profile and TCTI, or directories for the Fapi metadata storages. πfapi-profile(5)β use this to determine the cryptographic algorithms and parameters for all keys and operations of a specific TPM interaction, like the name hash algorithm, the asymmetric signature algorithm, scheme and parameters, and PCR bank selection. π¦
π DESCRIPTION π
tss2_authorizepolicy(1) β this command signs a given policy with a given key such that the policy can be referenced from other policies that contain corresponding PolicyAuthorize elements. No cap, it's literally doing the signature with the TPM signing schemes as specified in the cryptographic profile (cf., fapi-profile(5)). π₯
π OPTIONS π
These are the available options:
-P,--policyPath=STRINGβ path of the new policy.
A policyPath is composed of two elements, separated by /. A policyPath starts with /policy. The second path element identifies the policy or policy template using a meaningful name. π
-p,--keyPath=STRINGβ path of the signing key. π-r,--policyRef=FILENAMEor-(for stdin) β a byte buffer to be included in the signature. Optional parameter. π
π COMMON OPTIONS π
This collection of options are common to all tss2 programs and provide information that many users may expect. π«Ά
-h,--help [man|no-man]β display the tool's manpage. By default, it attempts to invoke the manpager for the tool, however, on failure will output a short tool summary. This is the same behavior if themanoption argument is specified, however if explicitmanis requested, the tool will provide errors from man on stderr. If theno-manoption is specified, or the manpager fails, the short options will be output to stdout.
to successfully use the manpages feature requires the manpages to be installed or onMANPATH. Seeman(1)for more details. π§
-v,--versionβ display version information for this tool, supportedtctisand exit. β
π¦ EXAMPLE π¦
tss2_authorizepolicy --keyPath=HS/SRK/myPolicySignKey --policyPath=/policy/pcr-policy --policyRef=policyRef.file
β RETURNS β
0 on success or 1 on failure. Periodt. π
π 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).
mwah π this iconic page is from tpm2-tools, APRIL 2019 β periodt, bestie. ππ
π¦ 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