All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luke <secureboot@gmail.com>
To: xen-devel@lists.xensource.com
Subject: Re: vtpm_managerd and default passwords
Date: Tue, 31 Jul 2007 13:41:10 -0400	[thread overview]
Message-ID: <46AF7436.9090009@gmail.com> (raw)
In-Reply-To: <C50BF7A1-1944-4A4D-BF62-5EAA45A9B3E4@cse.psu.edu>

Luke St.Clair wrote:
> 
> On Jul 26, 2007, at 4:53 PM, Cihula, Joseph wrote:
> 
>>
>>> From looking at the createkey utility source, it appears that it creates
>> a SHA-1 hash of the SRK auth provided on the command line.  The vTPM
>> Manager does not SHA the SRK auth.  So I think that you will need to add
>> another option to createkey that takes a provided auth as-is and then
>> try your file of all ff's.
>>
>>> 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?
>>
>> vTPM Manager is not intended to run alongside other TPM applications.
>> It does not use a TSS, and so it would not work well to try and use the
>> TPM simulataneously.  Similarly, it is not the expected use model that
>> once you have started using vTPM Manager that you will stop it, do some
>> things with the TPM, and then run it again.
>>
>> Can you describe how you would like to use the TPM and vTPM?
> 
> My goal is to be able to do all of the following, though no two need to
> occur simultaneously
> 
> 1) Run vtpm_managerd
> 2) create tpm keys in the dom0
> 3) create vtpm keys in the domu
> 
> Fixing the createkey worked like a charm in the dom0.
> 
> I still get TPM IOErrors in the domU though.
> 
> Can keys still be created using the VTPM?  Do they persist over multiple
> vtpm_managerd sessions?
> 
> If keys can be created, can anyone give an idea of how to do so?

The solution was quite simple - I simply hadn't taken ownership of the
virtual TPM from within the domU.

It is fixed now, and works quite well.  I've yet to check persistence
over sessions, but at least key creation/loading is working.

      reply	other threads:[~2007-07-31 17:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-26 14:56 vtpm_managerd and default passwords Luke
2007-07-26 20:53 ` Cihula, Joseph
2007-07-31  2:30   ` Luke St.Clair
2007-07-31 17:41     ` Luke [this message]

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=46AF7436.9090009@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.