Skip to content

Commit

Permalink
tpm2_createek: Correct man page example
Browse files Browse the repository at this point in the history
The example
 tpm2_createek -G rsa -u ek.pub
from 'man tpm2_createek' misses to provide '-c'.

It thus fails with
 ERROR: Expected option -c

According to tools/tpm2_createek.c:441, the option must be present in
any case. Adjust the man page example accordingly.

Signed-off-by: Tobias Deiminger <[email protected]>
  • Loading branch information
haxtibal authored and JuergenReppSIT committed Sep 25, 2023
1 parent 4894e1c commit e7526e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/tpm2_createek.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ tpm2_createek -G ecc384 -c 0x81010002

### Create a transient Endorsement Key, flush it, and reload it.
```bash
tpm2_createek -G rsa -u ek.pub
tpm2_createek -c ek.ctx -G rsa -u ek.pub

# Check that it is loaded in transient memory
tpm2_getcap handles-transient
Expand Down

0 comments on commit e7526e1

Please sign in to comment.