From: Luke <secureboot@gmail.com>
To: xen-devel@lists.xensource.com
Subject: vtpm_managerd and default passwords
Date: Thu, 26 Jul 2007 10:56:30 -0400 [thread overview]
Message-ID: <46A8B61E.2000001@gmail.com> (raw)
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"
open("ascii_file","w").write(a)
when I use that as the password, I still get TPM_AUTHFAIL.
This is using the createkey utility found at:
http://domino.research.ibm.com/comm/research_projects.nsf/pages/gsal.TCG.html/$FILE/tpm-3.2.0.tar.gz
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.
next reply other threads:[~2007-07-26 14:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-26 14:56 Luke [this message]
2007-07-26 20:53 ` vtpm_managerd and default passwords Cihula, Joseph
2007-07-31 2:30 ` Luke St.Clair
2007-07-31 17:41 ` Luke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46A8B61E.2000001@gmail.com \
--to=secureboot@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.