mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-17 09:28:05 +00:00
Update usage.md
This commit is contained in:
parent
67ea640a14
commit
1752b1aec7
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
[^1]: `openssl version -a` will return the `OPENSSLDIR`, which contains `openssl.cnf` file and `ENGINESDIR`, which contains the p11 engine.
|
||||||
|
|
||||||
## Initialization
|
## 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 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.
|
The PIN accepts from 6 to 16 characters.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue