Skip to content

Use swtpm virtual TPM in token test.

Change the TPM token test to create and use an emulated TPM. In Travis, swtpm, tpm2-tools/tss and tpm_vtpm_proxy kernel module need to be installed.

sudo add-apt-repository ppa:stefanberger/swtpm-focal
sudo apt-get update -y  
sudo apt-get install linux-modules-extra-$(uname -r) swtpm libtss2-dev tpm2-tools

Merge request reports