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

Getting session auth_data #616

Open
gerasiovM opened this issue Dec 25, 2024 · 1 comment
Open

Getting session auth_data #616

gerasiovM opened this issue Dec 25, 2024 · 1 comment

Comments

@gerasiovM
Copy link

I am currently learning how to work with the ESAPI and the TPM and I am trying to recreate the "tpm2_createak" tool using python. I've encountered a problem where the tool uses "tpm2_get_session_auth_value" which works by returning session->input->auth_data, but such functionality is not present in tpm2-pytss. How would I set about getting that auth value?

@whooo
Copy link
Contributor

whooo commented Dec 25, 2024

I can't find the tpm2_get_session_auth_value function when browsing the tpm2-tools source, but I assume it's set by a command line option, so you can just keep the auth value you pass somewhere in your code and reuse it when needed

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

2 participants