Skip to content

klaudiusz-czapla/swtpm-deb

Repository files navigation

Introduction

Project describes the way how to install swtpm (TPM emulator 1.2/2) on Debian based Linux distros

How to

# TPM2.0
sudo bash install_swtpm20.sh
# TPM1.2
sudo bash install_swtpm12.sh

If you have on your machine native TPM hardware module it will be accessed by /dev/tpm0 and /dev/tpmrm0. In such case swtpm will be created as /dev/tpm1 and /dev/tpmrm1 respectively. To make sure what is the number of swtpm device please run the command

ls -la | grep tpm

In case you have hardware TPM device on board you may get result like this:

klaudiuszc@LinuxMint:~/Projects/swtpm$ ls -la /dev/ | grep tpm
crw-rw----   1 tss  root     10,   224 Feb  1 23:07 tpm0
crw-rw----   1 tss  root    253,     1 Feb  2 11:15 tpm1
crw-rw----   1 tss  tss     253, 65536 Feb  1 23:07 tpmrm0
crw-rw----   1 tss  tss     253, 65537 Feb  2 11:15 tpmrm1
crw-------   1 root root     10,   121 Feb  1 23:07 vtpmx

Links

About

Streamlines, automates swtpm .deb packages creation

Topics

Resources

Stars

Watchers

Forks

Contributors