You can use hardware wallets in EBSI to sign ES256 credentials and presentation. For the installation of your hardware wallet in the CLI, follow the Instruction to install OpenSC and OpenPGP app.
All commands start with hardwarewallet
, but for simplicity you can also use hw
.
hardwarewallet info
Command to get info about your hardware wallet device.
hardwarewallet generatekey
Command to generate a new ES256 key in the OpenPGP app of your device. It requires the introduction of the PIN for admin, which by default is 12345678.
hardwarewallet publickey
Command to get the ES256 public key of your device.
hardwarewallet setpin <account>
Command to change the pin of an account. The OpenPGP app by default uses the PIN 123456
for user and 12345678
for admin.
Parameters:
- account: Account to update. It must be "user" or "admin"
using user ES256 did1 hardwarewallet
Command to link your user with the hardware wallet.
Example:
using user ES256 did1 hardwarewallet