Trusted Platform Module
约 1 分钟阅读
- tpm2-softwareGitHub Orgtpm2-software
- tpm2-tool
- tpm2-tss - tss->TPM2 Software Stack
- stefanberger/swtpmGitHubstefanberger/swtpm
TPM emulator
- swtpm - software tpm
- Trusted Platform ModuleLinkwiki.archlinux.org/title/Trusted_Platform_Moduletpm2-software · tpm2-tool · tpm2-tss - tss->TPM2 Software Stack · stefanberger/swtpm · TPM emulator · swtpm - software tpm笔记:Trusted Platform Module
- latchset/clevisGitHublatchset/clevis Automated Encryption Framework
- QEMU TPM Device
# 内核支持
cat /boot/config-lts | grep CONFIG_TCG_TPM
# 检测是否有 tpm 设备
dmesg | grep -i tpm
ls /sys/kernel/security/tpm*
# linux 5.6+
cat /sys/class/tpm/tpm*/tpm_version_major
[ -c /dev/tpmrm0 ] && echo "TPM 2.0" # since v4.12-rc1
[ -c /dev/tpm0 ] && echo "TPM 1.2 or 2.0"
modprobe tpm
# modprobe -a tpm_{atmel,infineon,nsc,tis,crb}QEMU
mkdir /tmp/emulated_tpm
swtpm socket --tpmstate dir=/tmp/emulated_tpm --ctrl type=unixio,path=/tmp/emulated_tpm/swtpm-sock --log level=20 --tpm2
qemu-system-x86_64 -hda ~/qemu-images/ubuntu-20.04-amd64.img -boot d -m 2048 -enable-kvm \
-chardev socket,id=chrtpm,path=/tmp/emulated_tpm/swtpm-sock \
-tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0关联信息
反向链接、本文链接的其他页面和外部资料。
References
GitHub3 条
- latchset/clevisgithub.com/latchset/clevis
- stefanberger/swtpmgithub.com/stefanberger/swtpm
- tpm2-softwaregithub.com/tpm2-software
其他外链3 条
- qemu-project.gitlab.io/qemu/specs/tpm.htmlqemu-project.gitlab.io/qemu/specs/tpm.html
- tpm2-software.github.io/2020/10/19/TPM2-Device-Emulation-With-QEMU.htmltpm2-software.github.io/2020/10/19/TPM2-Device-Emulation-With-QEMU.html
- wiki.archlinux.org/title/Trusted_Platform_Modulewiki.archlinux.org/title/Trusted_Platform_Module