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

These examples are not working with tpm 2.0 simluator #9

Open
kvijay1918 opened this issue Sep 28, 2023 · 0 comments
Open

These examples are not working with tpm 2.0 simluator #9

kvijay1918 opened this issue Sep 28, 2023 · 0 comments

Comments

@kvijay1918
Copy link

I m using a Simulator from IBM,
https://francislampayan.medium.com/how-to-setup-tpm-simulator-in-ubuntu-20-04-25ec673b88dc

I have configured this simulator in my Vm which is ubuntu 20.04 and am able to run tpm2 commands of tpm2-tools there successfully.

I have tried your examples. i.e. sign_with_rsa

It is expecting a file /dev/tpm0. But simulator won't create this file. Hence resulting into error. I tried removing readwritecloser pointer from your code, but at the end call, it is being used. So I can't remove this.

Help me to fix this.

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