Skip to content

Commit e7526e1

Browse files
haxtibalJuergenReppSIT
authored andcommitted
tpm2_createek: Correct man page example
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 <tdmg@linutronix.de>
1 parent 4894e1c commit e7526e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

man/tpm2_createek.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ tpm2_createek -G ecc384 -c 0x81010002
9494

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

9999
# Check that it is loaded in transient memory
100100
tpm2_getcap handles-transient

0 commit comments

Comments
 (0)