tpm2-tools/0002-man-tpm2_policysigned-add-parameter-raw-data.patch
Štěpán Horáček 8b31466bc1 Backport upstream fixes
Resolves: RHEL-164796

Signed-off-by: Štěpán Horáček <shoracek@redhat.com>
2026-05-25 20:52:48 +02:00

33 lines
1.1 KiB
Diff

From 17100afa995900d11c54446acc850a67c2eaaec2 Mon Sep 17 00:00:00 2001
From: Juergen Repp <juergen_repp@web.de>
Date: Wed, 10 Sep 2025 11:44:02 +0200
Subject: [PATCH 02/30] man tpm2_policysigned: add parameter --raw-data
The parameter --raw-data which can be used to compute the hash
which must be signed was not documented.
Signed-off-by: Juergen Repp <juergen_repp@web.de>
---
man/tpm2_policysigned.1.md | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/man/tpm2_policysigned.1.md b/man/tpm2_policysigned.1.md
index 2f32d87d..498eb244 100644
--- a/man/tpm2_policysigned.1.md
+++ b/man/tpm2_policysigned.1.md
@@ -58,6 +58,11 @@ The optional TPM2 parameters being cpHashA, nonceTPM, policyRef and expiration.
The command parameter hash (cpHash), enforcing the TPM command to be
authorized as well as its handle and parameter values.
+* **\--raw-data**=_FILE_:
+
+ The raw data, generated based on the selected parameters, serves as the input
+ for computing the hash that must be signed.
+
* **\--ticket**=_FILE_:
The ticket file to record the authorization ticket structure.
--
2.54.0