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
ee442ac084
commit
7506ccd263
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue