tpm2-tools icon indicating copy to clipboard operation
tpm2-tools copied to clipboard

`tpm2_getcap` | Option '`-i`' undocumented

Open Ricky-Tigg opened this issue 2 years ago • 1 comments

v.: 5.5 | Hello. Option '-i' undocumented.

$ tpm2_getcap -h
Usage: tpm2_getcap [<options>] <arguments>
Where <options> are:
    [ -l | --list] [ --ignore-moredata]

However a reference to its existence is attested.

$ sudo tpm2_getcap vendor
ERROR: Unsupported capability with moreData True,try with option -i, got: 0x100

ERROR: Unable to run tpm2_getcap

Missing space and improper syntax in "True,try". Correct form: "True; try".

$ sudo tpm2_getcap -i vendor
tpm2_getcap: invalid option -- 'i'

Ricky-Tigg avatar Jul 05 '23 16:07 Ricky-Tigg

It is only available as a long-option to avoid confusing '-i' as input used elsewhere in all other tools. Yes it needs a fix.

idesai avatar Jul 06 '23 17:07 idesai