Michele Balistreri 3460922804 tidy deps
2022-11-09 07:38:09 +01:00

13 lines
443 B
Bash

# select the keycard applet
keycard-select
# set the secrets we had from the initialization
keycard-set-secrets 123456 123456789012 KeycardDefaultPairing
# pairing is usually done once per device
keycard-pair
keycard-open-secure-channel
keycard-verify-pin {{ session_pin }}
# sign a message
keycard-sign-message hello
# we unpair the current device so that we don't use one of the 5 available slots.
keycard-unpair {{ session_pairing_index }}