From 7506ccd263a058e96d371cf386a4f2388ab86a28 Mon Sep 17 00:00:00 2001 From: Pol Henarejos <55573252+polhenarejos@users.noreply.github.com> Date: Tue, 5 Sep 2023 19:45:51 +0200 Subject: [PATCH] Update usage.md --- doc/usage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/usage.md b/doc/usage.md index 6dd2eb9..49cb297 100644 --- a/doc/usage.md +++ b/doc/usage.md @@ -30,7 +30,7 @@ PIN=648219 ## Initialization The first step is to initialize the HSM. To do so, use the `pico-hsm-tool.py` in `tools` folder: ``` -$ python3 pico-hsm-tool.py initialize --so-pin 3537363231383830 --pin 648219 +$ python3 tools/pico-hsm-tool.py --pin 648219 initialize --so-pin 57621880 ``` The PIN number is used to manage all private keys in the device. It supports three attemps. After the third PIN failure, it gets blocked. The PIN accepts from 6 to 16 characters. @@ -51,7 +51,7 @@ $ pkcs11-tool --login --pin 648219 --change-pin --new-pin 123456 To unblock the PIN: ``` -$ pkcs11-tool --login --login-type so --so-pin=3537363231383830 --init-pin --new-pin=648219 +$ pkcs11-tool --login --login-type so --so-pin 3537363231383830 --init-pin --new-pin 648219 ``` ## Keypair generation