All of lore.kernel.org
 help / color / mirror / Atom feed
* vTPM Deep Quote validation
@ 2015-03-08 11:41 Emil Condrea
  2015-03-09 14:40 ` Daniel De Graaf
  2015-03-09 14:51 ` Xu, Quan
  0 siblings, 2 replies; 7+ messages in thread
From: Emil Condrea @ 2015-03-08 11:41 UTC (permalink / raw)
  To: xen-devel@lists.xen.org; +Cc: Daniel De Graaf


[-- Attachment #1.1: Type: text/plain, Size: 1079 bytes --]

I am trying to validate a Deep Quote request made by domU but I feel that
something is missing. Right now when a domU requests TPM_ORD_DeepQuote:
1. vTPM:
- unpacks the params: nonce, vTPM PCR selection and physical PCR selection
- packs PCR_INFO_SHORT structure into buf that contains the selected vTPM
PCRs
- computes nonce as a SHA1 of: dquot_hdr, nonce, and previous packed buf
- packs: nonce, physical PCR selection
- receives physical pcr data and signature from manager and returns them to
DomU
2. vTPM Manager
- unpacks the params: nonce, PCR selection
- execute TPM_Quote with: externalData = nonce
- returns pcr data and signature to vTPM

If domU user wants to validate the signature it has to do the exact process
that the vtpm and manager did  but the virtual PCR values are not included
in response, just physical ones.

We can include the vTPM PCRS in response or the manager must perform
TPM_Quote using the nonce received from domU in order to be able to have a
successful validation on the client side.
What do you think? Is there something that I am missing ?

[-- Attachment #1.2: Type: text/html, Size: 1465 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-03-10 13:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-08 11:41 vTPM Deep Quote validation Emil Condrea
2015-03-09 14:40 ` Daniel De Graaf
2015-03-09 15:58   ` Emil Condrea
2015-03-09 17:26     ` Daniel De Graaf
2015-03-10 13:21       ` Emil Condrea
2015-03-09 14:51 ` Xu, Quan
2015-03-09 14:54   ` Emil Condrea

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.