-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unpair a client when no available slots #19
Comments
if you do not have any pairing slot available, you will need to reset the card. You can find an example script at https://github.com/status-im/keycard-cli/blob/develop/_shell-commands-examples/01-install.sh You can download the latest applet at https://github.com/status-im/status-keycard/releases. Please adjust the path in the script accordingly. I would also skip the installation of the NDEF applet since it is not really needed (line 13-14 of the script I sent). I have checked the |
Thank you! I haven't seen any error messages from keycard-cli during the execution, is there any way to debug that? |
I've been able to reproduce it. If the requested command fails, the interrupted execution doesn't free the used slot. Is there any way to change that behavior? It seems quite problematic if somehow you end up out of available slots. |
a PR would be welcome, but as a workaround you can unpair immediately after PIN authentication instead of the end of the script. Unpairing does not close the active securechannel so you can continue using the card until a reset |
I've been playing with
keycard-cli
, following this tutorial. Despite I've run the commands always with akeycard-unpair {{ session_pairing_index }}
command, theAvailableSlots
indicator was in decrease.Right now the card has no available slots and I have no idea how can I really unpair the slots. As a last resort, I've tried to:
but the API returns
The text was updated successfully, but these errors were encountered: