tpm2-software / tpm2-tools

The source repository for the Trusted Platform Module (TPM2.0) tools
https://tpm2-software.github.io
708 stars 377 forks source link

tpm2_pcrlist -L and -g can be combined #507

Closed williamcroberts closed 6 years ago

williamcroberts commented 6 years ago

Since -L allows for some type of filter syntax, drop -g and allow an empty pcr spec to mean all PCRs.

williamcroberts commented 6 years ago

While at it, define the mini-language. It looks incomplete....

williamcroberts commented 6 years ago

Actually the language is specified to the underlying tss API very closely. Currently, up to 5 hash selections can be made in a given call.

Doing this more generally could result in even more trips to the tpm to figure out how to setup the pcr selection structure.

I won't change this.