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

FAPI: support exists_ok for create_nv #580

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

whoooworkaround
Copy link

If exists_ok is True don't fail if the NV area already exists. Also return True if the area was created and False otherwise, in the same manner as create_key.

Fixes #574

If exists_ok is True don't fail if the NV area already exists.
Also return True if the area was created and False otherwise, in the same manner as create_key.

Fixes tpm2-software#574

Signed-off-by: Erik Larsson <who+github@cnackers.org>
@whooo whooo merged commit 4d0257f into tpm2-software:master Jun 7, 2024
73 checks passed
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

Successfully merging this pull request may close these issues.

nv_create return code
2 participants