Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access /dev/tpm0 concurrently in kernel version 4.9.170 #835

Open
Berveglieri opened this issue May 31, 2023 · 0 comments
Open

access /dev/tpm0 concurrently in kernel version 4.9.170 #835

Berveglieri opened this issue May 31, 2023 · 0 comments

Comments

@Berveglieri
Copy link

Hello everyone,

I have a device with tpm model SLB 9670 from Infineon and I would like to access it concurrently.
When our application is running it locks the tpm device /dev/tpm0 but we have other process that needs to access the tpm for data encryption and other operations.
I have a sunxi device with SOC chipset Allwinner T7.
This device has ubuntu 20.04 and kernel version 4.9.170.
I have compiled the following components in the device:
tpm2-tools version 5.4
tpm2-tss version 4.0.0
tpm2-abrmd version 3.0.0

the broker works and starts just fine, the udev rules have the right permissions and our user belongs to the tss group.
But there is no tpmrm0 and we can't access tpm2 from different applications because if the broker starts it locks the /dev/tpm0 and our application just can't access it.
Does the broker exposes /dev/tpmrm0? if not what is the right procedure to be able to make our application access the tpm through the broker?
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant