diff mbox series

[ima-evm-utils] Add note for how password needs to be provided when -p is used

Message ID 20231121181811.43560-1-stefanb@linux.ibm.com (mailing list archive)
State New
Headers show
Series [ima-evm-utils] Add note for how password needs to be provided when -p is used | expand

Commit Message

Stefan Berger Nov. 21, 2023, 6:18 p.m. UTC
Add a note describing how a password needs to be provided when -p
is used.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
---
 README       | 2 +-
 src/evmctl.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/README b/README
index 7239dda..54746ef 100644
--- a/README
+++ b/README
@@ -59,7 +59,7 @@  OPTIONS
       --keyid-from-cert file
                      read keyid value from SKID of a x509 cert file
   -o, --portable     generate portable EVM signatures
-  -p, --pass         password for encrypted signing key
+  -p, --pass         password for encrypted signing key; use -p<password>
   -r, --recursive    recurse into directories (sign)
   -t, --type         file types to fix 'fxm' (f: file)
                      x - skip fixing if both ima and evm xattrs exist (use with caution)
diff --git a/src/evmctl.c b/src/evmctl.c
index 8caf9bd..2710a27 100644
--- a/src/evmctl.c
+++ b/src/evmctl.c
@@ -2851,7 +2851,7 @@  static void usage(void)
 		"      --keyid-from-cert file\n"
 		"                     read keyid value from SKID of a x509 cert file\n"
 		"  -o, --portable     generate portable EVM signatures\n"
-		"  -p, --pass         password for encrypted signing key\n"
+		"  -p, --pass         password for encrypted signing; use -p<password>\n"
 		"  -r, --recursive    recurse into directories (sign)\n"
 		"  -t, --type         file types to fix 'fxm' (f: file)\n"
 		"                     x - skip fixing if both ima and evm xattrs exist (use with caution)\n"