Update scs3.md

Updated patch.
This commit is contained in:
Pol Henarejos 2022-08-24 14:11:14 +02:00 committed by GitHub
parent d872a156c1
commit 59bacaf5b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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