rust/pvattest: Secret-store hash check

Add a check to verify the hash over the Secret Store in the guest UV
storage. During 'create' the user can request that hash via a flag. During
'check' the user specifies the Add Secret requests and check whether the store is
locked. If the calculated hash over this state matches the one reported
by attestation, this check is successful.
Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
Steffen Eiden
2024-11-18 14:50:17 +01:00
parent 697dcc0f6b
commit 26465e37d7
7 changed files with 177 additions and 2 deletions
+1
View File
@@ -459,6 +459,7 @@ dependencies = [
"clap",
"clap_complete",
"log",
"openssl",
"s390_pv",
"serde",
"serde_yaml",