Hello Mathieu,

I tested the first releases of both packages available in the github repos:
- https://github.com/01org/TPM2.0-TSS/releases/tag/1.0-alpha_0
- https://github.com/01org/tpm2.0-tools/releases/tag/v1.0.1

>From the tests I did, you need to create an init file for the TSS
resourcemgr, similar to trousers tcsd daemon (see
https://sources.debian.net/src/trousers/0.3.13-4/debian/trousers.init/)

Otherwise all the tpm2 tools will fail to run with:

     Resource Mgr, resMgr, failed initialization: 0x1.  Exiting...

Speaking about TSS, there's a tool called tpmtest
(https://github.com/01org/TPM2.0-TSS/tree/master/test/tpmtest). And it
seems that's the only way to get access to tests like TPM SELFTEST. We
used to have a dedicated command to run selftests with tpm-tools (1.2)
called just tpm_selftest (see http://packages.ubuntu.com/xenial/amd64
/tpm-tools/filelist). I don't see it part of the new binaries. May be a
new package for just this file or an addition to the -dev one (not sure
of the best practice tbh) could help future TPM2 developers.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1561834

Title:
  [FFE] [needs-packaging] tpm2-tss and tpm2-tools

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1561834/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to