From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] tpm2-tools: drop dependency on tpm2-abrmd
Date: Mon, 28 Jan 2019 22:11:24 +0100 [thread overview]
Message-ID: <20190128211124.GJ7130@scaer> (raw)
In-Reply-To: <20190125150304.16661-1-peter@korsgaard.com>
Peter, All,
On 2019-01-25 16:03 +0100, Peter Korsgaard spake thusly:
> tpm2-tools is commonly used with the resource manager, tpm2-abrmd - But it
> CAN be used without, E.G. by setting the TPM2TOOLS_TCTI_NAME environment
> variable to communicate directly with the kernel driver:
>
> export TPM2TOOLS_TCTI_NAME=device
>
> Either directly with the TPM device (/dev/tpmN) or through the in-kernel
> resource manager provided by Linux kernel since 4.12 (/dev/tpmrmN)
>
> For some use cases (E.G. initramfs) it makes sense to use tpm2-tools
> without abrmd, so remove the tpm2-abrmd select, and instead a note in the
> help text that it may be needed.
>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thank you. :-)
Regards,
Yann E. MORIN.
> ---
> Changes since v2:
> - Drop the imply and instead add a comment as suggested by Yann and Arnout
>
> package/tpm2-tools/Config.in | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/package/tpm2-tools/Config.in b/package/tpm2-tools/Config.in
> index cc87e2a1bf..d8660a8f71 100644
> --- a/package/tpm2-tools/Config.in
> +++ b/package/tpm2-tools/Config.in
> @@ -8,7 +8,6 @@ config BR2_PACKAGE_TPM2_TOOLS
> select BR2_PACKAGE_LIBCURL
> select BR2_PACKAGE_LIBGLIB2
> select BR2_PACKAGE_OPENSSL
> - select BR2_PACKAGE_TPM2_ABRMD # run-time
> select BR2_PACKAGE_TPM2_TSS
> help
> TPM (Trusted Platform Module) 2.0 CLI tools based on system
> @@ -17,6 +16,11 @@ config BR2_PACKAGE_TPM2_TOOLS
> and manage non-volatile storage through a TPM2.0 HW
> implementation.
>
> + Notice: An in-kernel resource manager is provided by the
> + Linux kernel since 4.12. Depending on use cases and kernel
> + version, the user space resource manager provided by
> + tpm2-abrmd may be needed.
> +
> https://github.com/tpm2-software/tpm2-tools
>
> comment "tpm2-tools needs a toolchain w/ dynamic library, wchar, threads"
> --
> 2.11.0
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2019-01-28 21:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-25 15:03 [Buildroot] [PATCH v3] tpm2-tools: drop dependency on tpm2-abrmd Peter Korsgaard
2019-01-28 21:11 ` Yann E. MORIN [this message]
2019-01-28 21:20 ` Peter Korsgaard
2019-01-29 22:07 ` Peter Korsgaard
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=20190128211124.GJ7130@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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