[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] vtpm_managerd and default passwords

Looking through the code in tools/vtpm_manager/manager/vtpm_manager.c, I
see that when you start the vtpm_manager for the first time, that it
takes ownership of the TPM and sets the password to be 20 unprintable
ascii characters (0xff 20 times).

This seems to work fine, but later, I want to create a key with the TPM.
 I've made a file using python, using:

a = ""
for i in range(20):
        a = a + "\xff"

when I use that as the password, I still get TPM_AUTHFAIL.
This is using the createkey utility found at:

It's pretty straightforward, so I'm wondering if I'm not understanding
how the SRK password gets set in actuality.

Any ideas on what I might be doing wrong/how to fix this?

Specifically, should vtpm_managerd take an SRK password as a parameter?
 This seems much more sane.  Does this exist already, and I've just
missed it?

Apologies if this is more xen-user than xen-devel.

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.