Replies: 3 comments 1 reply
-
Control channel commands are defined here: https://github.com/stefanberger/swtpm/blob/master/man/man3/swtpm_ioctls.pod The values for the control channel commands are defined here: https://github.com/stefanberger/swtpm/blob/v0.7.2/include/swtpm/tpm_ioctl.h#L284-L303 When they are actual ioctls then theses ones here are used: https://github.com/stefanberger/swtpm/blob/v0.7.2/include/swtpm/tpm_ioctl.h#L253-L272 The TPM commands are defined in TCG specs for example here ('Commands'): https://trustedcomputinggroup.org/resource/tpm-library-specification/ |
Beta Was this translation helpful? Give feedback.
-
As for aarch64: I am afraid I cannot help much there. The interactions between QEMU and swtpm looked good to me from what I can remember. The command line I used is described here: #493 (comment) |
Beta Was this translation helpful? Give feedback.
-
Many thanks for your inputs. With the command line and fedora images that you had used, I could see tpm getting probed
Are there are sample applications for linux which uses swtpm. At this point, I am trying to determine if the interaction between an application (using /dev/tpm0) <---> linux <---> qemu <---> swtpm works fine or no. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am running swtpm in one terminal and qemu in another terminal
And my qemu command line is as below. Can you let me know what I am missing ?
Beta Was this translation helpful? Give feedback.
All reactions