Topics

[PATCH] Correct engine name in README and man page

Fredrik Ternerot <fredrik.ternerot@...>
 

Engine is named tpm2 and not tpm.

Signed-off-by: Fredrik Ternerot <fredrikt@...>
---
README | 4 ++--
create_tpm2_key.1.in | 6 ++----
2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/README b/README
index 882d788..d83dcc2 100644
--- a/README
+++ b/README
@@ -108,8 +108,8 @@ Create a self-signed cert using the TPM engine:
need to do tssreadpublic -p 81000001 before it will work.

2. Make the openssl certificate request:
- $ openssl req -keyform engine -engine tpm -key <key file> -new -x509 -days 365 -out <certfilename>
+ $ openssl req -keyform engine -engine tpm2 -key <key file> -new -x509 -days 365 -out <certfilename>

3. Test using openssl:
- $ openssl s_server -cert <certfilename> -www -accept 4433 -keyform engine -engine tpm -key <keyfilename>
+ $ openssl s_server -cert <certfilename> -www -accept 4433 -keyform engine -engine tpm2 -key <keyfilename>
$ konqueror https://localhost:4433
diff --git a/create_tpm2_key.1.in b/create_tpm2_key.1.in
index 6ec5f25..b49c931 100644
--- a/create_tpm2_key.1.in
+++ b/create_tpm2_key.1.in
@@ -70,12 +70,10 @@ Create a self-signed cert using the TPM engine:
need to do tssreadpublic -p 81000001 before it will work.

2. Make the openssl certificate request:
- $ openssl req -keyform engine -engine tpm -key <key file> -new -x509 -days 365
--out <certfilename>
+ $ openssl req -keyform engine -engine tpm2 -key <key file> -new -x509 -days 365 -out <certfilename>

3. Test using openssl:
- $ openssl s_server -cert <certfilename> -www -accept 4433 -keyform engine -engi
-ne tpm -key <keyfilename>
+ $ openssl s_server -cert <certfilename> -www -accept 4433 -keyform engine -engine tpm2 -key <keyfilename>

Creating an importable key:

--
2.11.0