public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: "Michał Zegan" <webczat_200@poczta.onet.pl>
Cc: edk2-devel@lists.01.org,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"Stefan Berger" <stefanb@linux.vnet.ibm.com>
Subject: Re: using tpm on ovmf
Date: Mon, 17 Dec 2018 11:20:25 +0100	[thread overview]
Message-ID: <0ae3fc13-1be2-df00-8358-307da9987054@redhat.com> (raw)
In-Reply-To: <06224fdc-bf72-9c2e-d325-3e8181c3b542@poczta.onet.pl>

Hi Michał,

(adding Marc-André and Stefan)

On 12/16/18 23:59, Michał Zegan wrote:
> Hello,
> I have ovmf with TPM2_ENABLE and tpm seems to be supported. However, is
> it possible to configure it from the ui?

No, it isn't.

TPM configuration is platform specific. The example driver in

  SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf

which contains visual forms, for the setup UI to display, is just that,
an example, that a platform might incorporate and/or customize. The INF
file states, "NOTE: This module is only for reference only, each
platform should have its own setup page."

Please see one of the past discussions in the thread at:

http://mid.mail-archive.com/20180223132311.26555-7-marcandre.lureau@redhat.com

That patch was dropped (as I requested), and instead, the end result is
commit 6cf1880fb5b6 ("OvmfPkg: add customized Tcg2ConfigPei clone",
2018-03-09); the commit message should hopefully describe the
configuration method well enough.


Regarding PPI (physical presence interface) operations, those are
supported through the firmware UI. That is, if you queue a number of TPM
ops while the OS runs, and you reboot from within the OS, then the
firmware gives you a UI to confirm those TPM ops.

Thanks,
Laszlo


      reply	other threads:[~2018-12-17 10:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-16 22:59 using tpm on ovmf Michał Zegan
2018-12-17 10:20 ` Laszlo Ersek [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-list 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=0ae3fc13-1be2-df00-8358-307da9987054@redhat.com \
    --to=devel@edk2.groups.io \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox