Master currently sends a YAML format of quoted and signature to stdout:
https://github.com/intel/tpm2-tools/blob/master/tools/tpm2_quote.c#L121
I think that ended up on 3.X
From: tpm2 [mailto:tpm2-bounces@lists.01.org] On Behalf Of Adrian Shaw
Sent: Saturday, December 23, 2017 8:19 AM
To: tpm2(a)lists.01.org
Subject: [tpm2] tpm2_quote output structure
Hi all,
I’ve seen that this project has progressed a lot since the initial 1.0.0 release. The
tpm2_quote tool output file (using the -o flag) combines both the blob and the signature.
It’s not ideal, since a developer like me would want to separate it out afterwards for
manual verification. Without in-depth knowledge of the TSS objects and endianess I’ve
found this a bit difficult.
The master branch seems to show some preliminary support for separating the signature from
the attestation data. I’d like to be able to support older versions of the TPM tools,
hence I’d like to see how I could separate the data from the signature. I’ve been looking
at the code and have made some custom tests but have been unsuccessful so far.
What is the format of the combined data and signature? Is there a magic value I can look
for to separate them?
Many thanks,
Adrian