From 1752b1aec70051a5c8eb8f91ecfebd636f14765a Mon Sep 17 00:00:00 2001 From: Pol Henarejos <55573252+polhenarejos@users.noreply.github.com> Date: Sun, 9 Oct 2022 22:25:35 +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 a4d65e4..07f6ffd 100644 --- a/doc/usage.md +++ b/doc/usage.md @@ -28,9 +28,9 @@ PIN=648219 [^1]: `openssl version -a` will return the `OPENSSLDIR`, which contains `openssl.cnf` file and `ENGINESDIR`, which contains the p11 engine. ## Initialization -The first step is to initialize the HSM: +The first step is to initialize the HSM. To do so, use the `pico-hsm-tool.py` in `tools` folder: ``` -$ sc-hsm-tool --initialize --so-pin 3537363231383830 --pin 648219 +$ python3 pico-hsm-tool initialize --so-pin 3537363231383830 --pin 648219 ``` 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.