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 usage of endorsement handle 3.2.x #2712

Conversation

JuergenReppSIT
Copy link
Member

In several cases the wrong handle TPM2_RH_EK was used instead of TPM2_RH_ENDORSEMENT.
This caused a wrong recreation of keys (except the EK) under the endorsement hierarchy.
Now the correct hierarchy handle is used and a check whether the recreated public key of the recreated primary corresponds to the keystore.

Signed-off-by: Juergen Repp juergen_repp@web.de

In several cases the wrong handle TPM2_RH_EK was used instead of
TPM2_RH_ENDORSEMENT.
This caused a wrong recreation of keys (except the EK) under the
endorsement hierarchy.
Now the correct hierarchy handle is used and a check whether the
recreated public key of the recreated primary corresponds to the
keystore.

Signed-off-by: Juergen Repp <juergen_repp@web.de>
@JuergenReppSIT JuergenReppSIT added this to the 3.2.3 milestone Nov 21, 2023
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (8fe6bcf) 83.67% compared to head (5d209cc) 83.67%.

Files Patch % Lines
src/tss2-fapi/fapi_util.c 70.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            3.2.x    #2712   +/-   ##
=======================================
  Coverage   83.67%   83.67%           
=======================================
  Files         349      349           
  Lines       38683    38685    +2     
=======================================
+ Hits        32369    32371    +2     
  Misses       6314     6314           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@AndreasFuchsTPM AndreasFuchsTPM merged commit fb92f8d into tpm2-software:3.2.x Nov 30, 2023
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants