Master currently sends a YAML format of quoted and signature to stdout:
I think that ended up on 3.X
From: tpm2 [mailto:firstname.lastname@example.org] On Behalf Of Adrian Shaw
Sent: Saturday, December 23, 2017 8:19 AM
Subject: [tpm2] tpm2_quote output structure
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?