WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xense-devel

[Xense-devel] Re: [Xen-users] vtpm_manager can't run twice in a row

To: Luke <secureboot@xxxxxxxxx>
Subject: [Xense-devel] Re: [Xen-users] vtpm_manager can't run twice in a row
From: Kouichi Yasaki <yasaki.kouichi@xxxxxxxxxxxxxx>
Date: Fri, 21 Sep 2007 09:08:50 +0900
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, xense-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 20 Sep 2007 17:10:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46F2B885.2060000@xxxxxxxxx>
List-help: <mailto:xense-devel-request@lists.xensource.com?subject=help>
List-id: "A discussion list for those developing security enhancements for Xen." <xense-devel.lists.xensource.com>
List-post: <mailto:xense-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xense-devel>, <mailto:xense-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xense-devel>, <mailto:xense-devel-request@lists.xensource.com?subject=unsubscribe>
References: <46F167B6.4080704@xxxxxxxxx> <46F2B885.2060000@xxxxxxxxx>
Sender: xense-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
I also encountered the same error before. In my case, TCSP_UnBind function
have a bug in parameter check. I have reported a patch that fixed my case
by following URL.

How about this patch?

http://lists.xensource.com/archives/html/xen-devel/2007-09/msg00354.html

Kouichi YASAKI

Luke wrote:
Luke wrote:
I can get vtpm_manager to run if I delete /var/vtpm/VTPM.  However, when
I kill it with control-c, and try to run it again, I get:

INFO[VTPM]: Starting VTPM.
INFO[TCS]: Constructing new TCS:
INFO[TCS]: Calling TCS_OpenContext:
INFO[VTSP]: OIAP.
INFO[VTSP]: Loading Key into TPM.
INFO[VTSP]: Unbinding 256 bytes of data.
ERROR in VTSP_Unbind at vtsp.c:720 code: TPM_BAD_PARAMETER.
ERROR in envelope_decrypt at securestorage.c:156 code: TPM_BAD_PARAMETER.
ERROR[VTPM]: Failed to envelope decrypt data
.ERROR in VTPM_LoadManagerData at securestorage.c:459 code:
TPM_BAD_PARAMETER.
ERROR[VTPM]: Failed to load service data with error = TPM_BAD_PARAMETER
ERROR[VTPM]: Failed to read existing manager file


What's causing this, and how do I fix it?  I need my guest to get the
same VTPM every time it starts, so that keys (signing and SRK) persist
across instances.

Just to add a bit of information - this happens after I let
vtpm_managerd take ownership of the tpm.

Is it just that no one uses this program?  Or is this an error specific
to me?

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users




_______________________________________________
Xense-devel mailing list
Xense-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xense-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xense-devel] Re: [Xen-users] vtpm_manager can't run twice in a row, Kouichi Yasaki <=