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 #578

Closed
wants to merge 1 commit into from

Conversation

whooo
Copy link
Contributor

@whooo whooo commented Jun 1, 2024

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

@whooo whooo added this to the next (master branch) milestone Jun 1, 2024
test/test_fapi.py Fixed Show fixed Hide fixed
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
Copy link
Contributor Author

whooo commented Jun 7, 2024

Merged via #580

@whooo whooo closed this Jun 7, 2024
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
1 participant