<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/tpm2-tools, branch 2019.02-op-build</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2019-01-28T21:19:51+00:00</updated>
<entry>
<title>tpm2-tools: drop dependency on tpm2-abrmd</title>
<updated>2019-01-28T21:19:51+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2019-01-25T15:03:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=7b8feba51df4955193c4d58902bb1002c92b430b'/>
<id>urn:sha1:7b8feba51df4955193c4d58902bb1002c92b430b</id>
<content type='text'>
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 &lt;peter@korsgaard.com&gt;
Acked-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tools: always disable hardening options</title>
<updated>2019-01-16T13:24:45+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2019-01-15T10:15:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=2bf187c2b135ff9af748257c591b3f9851f4c9cf'/>
<id>urn:sha1:2bf187c2b135ff9af748257c591b3f9851f4c9cf</id>
<content type='text'>
Building with --enable-hardening (the default), forces -fstack-protector-all
/ FORTIFY_SOURCE=2.  These options are now controlled Buildroot wide with
the BR2_SSP_* / BR2_FORTIFY_SOURCE_* options.  Disable hardening so the
ssp/fortify settings in the toolchain wrapper / CFLAGS is used instead.

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tss: depend on shared libraries</title>
<updated>2018-11-20T22:20:02+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.com.br</email>
</author>
<published>2018-11-20T10:14:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=945353895f721aa3227b2c4b04244d8e4565b196'/>
<id>urn:sha1:945353895f721aa3227b2c4b04244d8e4565b196</id>
<content type='text'>
The code includes dlfcn.h even if --enable-static and --disable-shared
are passed to configure. There is an "#ifndef NO_DL ... #endif" wrapper
but NO_DL is never defined and adding "-DNO_DL" to CFLAGS causes other
compilation errors.

Fixes:
  http://autobuild.buildroot.net/results/cfc3bfef5e93329bf944a57947086d9ddc4fece3

Signed-off-by: Carlos Santos &lt;casantos@datacom.com.br&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tools: bump to version 3.1.3</title>
<updated>2018-11-16T19:21:09+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.com.br</email>
</author>
<published>2018-11-16T02:52:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=e4076e407ac61d8d8df4dec154d62ba186ec003f'/>
<id>urn:sha1:e4076e407ac61d8d8df4dec154d62ba186ec003f</id>
<content type='text'>
- Drop C++ requirement, which came from tpm2-tss.
- Drop musl restriction.
- Drop the patch to build with LibreSSL, which is not required anymore.
- Update the patch for the "variable may be used uninitialized" error to
  match tpm2-tss 2.1.0, which defines TPM2_ALG_ERROR, not TPM_ALG_ERROR.

Signed-off-by: Carlos Santos &lt;casantos@datacom.com.br&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>tpm2-abrmd: disable for musl</title>
<updated>2018-04-03T13:44:16+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.ind.br</email>
</author>
<published>2018-04-02T16:53:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=9aa99ad004968484c1968ca1b57a78397d1e037f'/>
<id>urn:sha1:9aa99ad004968484c1968ca1b57a78397d1e037f</id>
<content type='text'>
The current version requires macros and funtions not availabe on musl
(TEMP_FAILURE_RETRY, srand48_r, etc). We could try to circumvent the
problem by means of local patches but for the moment let's disable the
package for musl toolchains and watch the issue reported upstream at

  https://github.com/tpm2-software/tpm2-abrmd/issues/237

Propagate the change to tpm2-tools, which has a run-time dependency on
tpm2-abrmd.

Fixes:
  http://autobuild.buildroot.net/results/d2fa916613d835f856d14747dc03ef9847ad6396
  http://autobuild.buildroot.net/results/e82ff1f7f8a4a930fbabd38353da2149cc54fd9d
  http://autobuild.buildroot.net/results/7aaf6a7cc384b2e52109c0c31792c0d3888bcefd
  http://autobuild.buildroot.net/results/a56e55fb4791a90c00906698676656969484383d
  http://autobuild.buildroot.net/results/7aa020d115a0a3308fee1f3528554e40076ff28d

Signed-off-by: Carlos Santos &lt;casantos@datacom.ind.br&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tools: fix compilation error due to uninitialized variable</title>
<updated>2018-03-25T13:43:10+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.ind.br</email>
</author>
<published>2018-03-25T03:59:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=e4e714021043836ac803591fc3c39db957827725'/>
<id>urn:sha1:e4e714021043836ac803591fc3c39db957827725</id>
<content type='text'>
Backport a patch alreary submitted upstream, at

  https://github.com/tpm2-software/tpm2-tools/pull/954

Fixes:
  http://autobuild.buildroot.net/results/ae1e151576b365380ab711a1b8ffcd92ad0050e2
  http://autobuild.buildroot.net/results/ee80c2fe54c89589532efd47eb93bd27637c690f

Signed-off-by: Carlos Santos &lt;casantos@datacom.ind.br&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tools: allow building without stack smashing protection (SSP)</title>
<updated>2018-03-22T23:02:11+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.ind.br</email>
</author>
<published>2018-03-22T20:27:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=428dfe71f337a5de4540d57a244442d64b2d8e75'/>
<id>urn:sha1:428dfe71f337a5de4540d57a244442d64b2d8e75</id>
<content type='text'>
Disable SSP if the toolchain does not support it. This must be done
explicitly because configure enables hardening by default but doesn't
contain a link test, so it doesn't detect when libssp is missing.

Signed-off-by: Carlos Santos &lt;casantos@datacom.ind.br&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tools: propagate dependencies of selected packages</title>
<updated>2018-03-22T23:00:40+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.ind.br</email>
</author>
<published>2018-03-22T20:27:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4be409f401c0b1daba6ca84e79d3185c7cf10bbc'/>
<id>urn:sha1:4be409f401c0b1daba6ca84e79d3185c7cf10bbc</id>
<content type='text'>
- C++ (tpm2-tss)
- MMU (dbus, libglib)
- threads (libglib)
- wchar (libglib -&gt; gettext)

Fixes (libglib):
  http://autobuild.buildroot.net/results/786859fccc477de1519d85d8a180626bb8ebe062
  http://autobuild.buildroot.net/results/df6518f331c16b477c6e934914d0e56dc102c228

[Peter: add C++ dependency to config option]
Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Carlos Santos &lt;casantos@datacom.ind.br&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>tpm2-tools: new package</title>
<updated>2018-03-18T22:16:58+00:00</updated>
<author>
<name>Carlos Santos</name>
<email>casantos@datacom.ind.br</email>
</author>
<published>2018-03-15T12:56:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=3a10ff51278b917c85e2f8d74559e035cbd7d55f'/>
<id>urn:sha1:3a10ff51278b917c85e2f8d74559e035cbd7d55f</id>
<content type='text'>
TPM (Trusted Platform Module) 2.0 CLI tools based on system API of
TPM2-TSS. These tools can be used to manage keys, perform
encryption/decryption/signing/etc crypto operations, and manage
non-volatile storage through a TPM2.0 HW implementation.

Signed-off-by: Carlos Santos &lt;casantos@datacom.ind.br&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
</feed>
