Update scs3.md

Added a patch.
This commit is contained in:
Pol Henarejos 2022-06-13 11:59:28 +02:00 committed by GitHub
parent ddc0bd7202
commit 0c25b0968b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,8 @@ Similarly, replace the line `1531` in file `scs3/keymanager/keymanager.js` with:
assert(devcert.verifyWith(this.crypto, dicacert.getPublicKey(SmartCardHSM.rootCerts.ESCVCAHSM00001.getPublicKey()), dicacert.getPublicKeyOID()));
```
Alternatively, this patch [scs3.patch.txt](https://github.com/polhenarejos/pico-hsm/files/8890050/scs3.patch.txt) can be applied.
After this ammendment, the KeyManager can be invoked (CTRL+M) and it will output something similar to:
```
>load("keymanager/keymanager.js");