Last active
November 20, 2018 13:51
-
-
Save davidbarkhuizen/5d61311b2591c8d39bc1b1d9d2b524ef to your computer and use it in GitHub Desktop.
NitroKey HSM - Development Notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NitroKey HSM - Development Notes | |
| links | |
| - [NitroKey Home](https://www.nitrokey.com) | |
| - [NitroKey SmartCard HSM](https://github.com/OpenSC/OpenSC/wiki/SmartCardHSM) | |
| installation - ubuntu linux | |
| 1. install openSC = open smart card library | |
| $ sudo apt install opensc | |
| 2. install NitroKey App | |
| $ sudo apt install nitrokey-app | |
| default SO-PIN = 3537363231383830 | |
| # change the PIN from old_pin to new_pin | |
| $ pkcs11-tool --login --pin old_pin --change-pin --new-pin new_pin | |
| # use SO-PIN so_pin to unblock card, and reset PIN to new_pin | |
| $ pkcs11-tool --login --login-type so --so-pin=so_pin --init-pin --new-pin=new_pin | |
| # list slots, using PIN pin | |
| pkcs11-tool --list-slots --pin pin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment