tpm2-tools on ubuntu 16.04 not working

Asked by Luv Rai

Hi Team,

On my machine with TPM2.0 hardware enabled, I have installed tpm2-tools on ubuntu 16.04 using apt-get install tpm2-tools (freely available tpm2-tools in xenial distro)

But i am not able to perform any tpm operations. Posted question on ubuntu forum but no one replied
https://askubuntu.com/questions/1175086/tpm2-tools-on-ubuntu-16-04

Here's the error which i am getting

$ tpm2_getrandom -s 20 -o random.out
Resource Mgr, resMgr, failed initialization: 0x1. Exiting...
tpm2-tools details

$ sudo apt-cache show tpm2-tools
Package: tpm2-tools
Priority: optional
Section: universe/utils
Installed-Size: 964
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Version: 1.0.0+20160226.64b3334-0ubuntu2
Depends: libc6 (>= 2.14), libcurl3 (>= 7.16.2), libssl1.0.0 (>= 1.0.0), libtss2-0, libtss2-utils
Filename: pool/universe/t/tpm2-tools/tpm2-tools_1.0.0+20160226.64b3334-0ubuntu2_amd64.deb
Size: 90006
MD5sum: 2a5dd741bab5ba886508b87559d1151d
SHA1: 65c4f508b8643d808eb28e481dc660a68a0aba3d
SHA256: a8127c59b2ac7520f8f8993e9849f9dcc46486bced2f4b54c7fef56ac8e3b59e
Description-en: TPM 2.0 utilities
 This package contains a set of tools to use with TPM 2.0 chips,
 for common tasks and features provided by the hardware; such as
 for doing basic key management, attestation, encryption and signing.
Description-md5: 7dab290b7414623bbe70b4f8bc047903
Homepage: https://github.com/01org/tpm2.0-tools
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

It'd be a great help if some one can point me in the right direction.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu tpm2-tools Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.