Update usage.md
This commit is contained in:
@@ -30,7 +30,7 @@ PIN=648219
|
|||||||
## Initialization
|
## Initialization
|
||||||
The first step is to initialize the HSM. To do so, use the `pico-hsm-tool.py` in `tools` folder:
|
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 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.
|
||||||
@@ -51,7 +51,7 @@ $ pkcs11-tool --login --pin 648219 --change-pin --new-pin 123456
|
|||||||
|
|
||||||
To unblock the PIN:
|
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
|
## Keypair generation
|
||||||
|
|||||||
Reference in New Issue
Block a user