From 13b926f89ef1eee95154bcb6846d2942780672dd Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Fri, 1 Dec 2023 14:02:21 +0200 Subject: [PATCH] [pkcs11-tool] Update --slot parameter documentation Fixes: #2938 Signed-off-by: Raul Metsma --- doc/tools/pkcs11-tool.1.xml | 2 +- doc/tools/tools.html | 2 +- src/tools/pkcs11-tool.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/tools/pkcs11-tool.1.xml b/doc/tools/pkcs11-tool.1.xml index 01035effcf..73c079dafd 100644 --- a/doc/tools/pkcs11-tool.1.xml +++ b/doc/tools/pkcs11-tool.1.xml @@ -447,7 +447,7 @@ id - Specify the id of the slot to use. + Specify the id of the slot to use (accepts HEX format with 0x.. prefix or decimal number). diff --git a/doc/tools/tools.html b/doc/tools/tools.html index 63d2c6a3f5..dc4e7f881c 100644 --- a/doc/tools/tools.html +++ b/doc/tools/tools.html @@ -1581,7 +1581,7 @@ "-2" means use maximum permissible length. Default is digest length (-1).

--slot id -

Specify the id of the slot to use.

+

Specify the id of the slot to use (accepts HEX format with 0x.. prefix or decimal number).

--slot-description description

Specify the description of the slot to use.

--slot-index index diff --git a/src/tools/pkcs11-tool.c b/src/tools/pkcs11-tool.c index c6bfba674b..220dc4981c 100644 --- a/src/tools/pkcs11-tool.c +++ b/src/tools/pkcs11-tool.c @@ -352,7 +352,7 @@ static const char *option_help[] = { "Specify the type of object (e.g. cert, privkey, pubkey, secrkey, data)", "Specify the ID of the object", "Specify the label of the object", - "Specify the ID of the slot to use", + "Specify the ID of the slot to use (accepts HEX format with 0x.. prefix or decimal number)", "Specify the description of the slot to use", "Specify the index of the slot to use", "Specify the index of the object to use",