13 lines
443 B
Bash
Raw Normal View History

2019-10-08 23:16:10 +09:00
# select the keycard applet
keycard-select
# set the secrets we had from the initialization
2022-11-09 07:38:09 +01:00
keycard-set-secrets 123456 123456789012 KeycardDefaultPairing
2019-10-08 23:16:10 +09:00
# 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 }}