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: Fix cleanup of policy sessions. #2785

Conversation

JuergenReppSIT
Copy link
Member

Policy sessions were not flushed if the policy session was successfully executed but the command where the policy was used for authorization was executed with an error.
Fixes: #2784

@JuergenReppSIT JuergenReppSIT requested a review from cplappert March 5, 2024 07:50
@JuergenReppSIT JuergenReppSIT force-pushed the fapi-fix-policy-session-cleanup branch from aad7a64 to f993b74 Compare March 5, 2024 16:12
Policy sessions were not flushed if the policy session
was successfully executed but the command where the policy
was used for authorization was executed with an error.
For the session cleanup in error cases it will be tested
whethe the policy session still exists in the TPM.
Fixes: tpm2-software#2784

Signed-off-by: Juergen Repp <juergen_repp@web.de>
@JuergenReppSIT JuergenReppSIT force-pushed the fapi-fix-policy-session-cleanup branch from f993b74 to a335393 Compare March 5, 2024 19:55
@JuergenReppSIT JuergenReppSIT merged commit a516076 into tpm2-software:master Mar 11, 2024
25 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.

FAPI doesn't flush sessions on error
2 participants