[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/2] vtpmmgr: execute deep quote in locality 0
On Mon, Apr 6, 2015 at 6:49 PM, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> wrote: On 04/05/2015 07:09 AM, Emil Condrea wrote: very good point, I missed that someone would include additional PCRs in the request. I think it is reasonable to specify in the documentation the changes and include only the new version. Flags are interpreted as a bitmask of: I will update the documentation: sha1(UUIDs) instead of UUIDs and so on. Signed-off-by: Emil Condrea <emilcondrea@xxxxxxxxx>[...] Indeed. Constant size for externData is a must.
will do.
I will include it in the next patch series.
I will use an additional pointer if pcr_out is NULL in order to include in externData the hash for VTPM_QUOTE_FLAGS_GROUP_INFO if requested.
Right now the hashes used for externData are written in pcr_out. Should we limit the pcr_out size to a certain value? If there will be a limit for pcr_out, the domU executing the quote will be able to read the PCRs for physical TPM using tag TPM_TAG_RQU_COMMAND and ord TPM_ORD_PcrRead using passthrough, right? If domU executing the deep quote requests 10 PCRs to be included in the quote it will receive in pcr_out just the hashes used for externalData and the PCR values should be obtained later. Now, the maximum hashes number for calculating the externData is 3 ( 4 after including VTPM_QUOTE_FLAGS_GROUP_PUBKEY). In the future if there will be much more hashes we can implement something like vtpmmgr_GetBootHash for domU clients, so the validation data can be obtained with additional requests to vtpmmgr. Is it a good idea? Also, I have an implementation for requesting a deep quote for trousers and tpm tools. Do you think it is worth to send patches to those repositories also, since TPM_ORD_DeepQuote is not included in the TPM 1.2 specification ? Thanks for the review! Emil Condrea Â
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |