Existing credentials can not be deleted with fido2-token commandline tool. #227

Closed
opened 2025-12-19 07:12:08 +08:00 by wlatendresse · 1 comment
wlatendresse commented 2025-12-19 07:12:08 +08:00 (Migrated from github.com)

Hardware: TenStar RP2350 USB-A
Firmware: pico_fido_seeed_xiao_rp2350-6.6.uf2 / cfe1321d62

fido2-token: version 1.14.0

Credentials / residential keys can be listed with the command fido2-token -L -r <hiddevice> but they can not be deleted with fido2-token -D -i <id> <hiddevice>, as can be seen on the output of the following commands sequence:

Steps to reproduce:

mint@mint:~$ sudo fido2-token -L -r /dev/hidraw0 Enter PIN for /dev/hidraw0: 00: dKbqkhPJnC90siSSsyDPQCYqlMGpUKA5fyklC2CEHvA= webauthn.io mint@mint:~$ sudo fido2-token -D -i dKbqkhPJnC90siSSsyDPQCYqlMGpUKA5fyklC2CEHvA= /dev/hidraw0 Enter PIN for /dev/hidraw0: fido2-token: fido_credman_del_dev_rk: FIDO_ERR_NO_CREDENTIALS mint@mint:~$ sudo fido2-token -D -i 'dKbqkhPJnC90siSSsyDPQCYqlMGpUKA5fyklC2CEHvA=' /dev/hidraw0 Enter PIN for /dev/hidraw0: fido2-token: fido_credman_del_dev_rk: FIDO_ERR_NO_CREDENTIALS

Debug output of the fido2-token -D -i command has been attached.

fido2-token_delete_id_failure_dump.txt

Hardware: TenStar RP2350 USB-A Firmware: pico_fido_seeed_xiao_rp2350-6.6.uf2 / cfe1321d62d5fd89657eb885a41e21240564fa5b fido2-token: version 1.14.0 Credentials / residential keys can be listed with the command `fido2-token -L -r <hiddevice>` but they can not be deleted with `fido2-token -D -i <id> <hiddevice>`, as can be seen on the output of the following commands sequence: Steps to reproduce: `mint@mint:~$ sudo fido2-token -L -r /dev/hidraw0 Enter PIN for /dev/hidraw0: 00: dKbqkhPJnC90siSSsyDPQCYqlMGpUKA5fyklC2CEHvA= webauthn.io mint@mint:~$ sudo fido2-token -D -i dKbqkhPJnC90siSSsyDPQCYqlMGpUKA5fyklC2CEHvA= /dev/hidraw0 Enter PIN for /dev/hidraw0: fido2-token: fido_credman_del_dev_rk: FIDO_ERR_NO_CREDENTIALS mint@mint:~$ sudo fido2-token -D -i 'dKbqkhPJnC90siSSsyDPQCYqlMGpUKA5fyklC2CEHvA=' /dev/hidraw0 Enter PIN for /dev/hidraw0: fido2-token: fido_credman_del_dev_rk: FIDO_ERR_NO_CREDENTIALS ` Debug output of the fido2-token -D -i <id> <hiddevice> command has been attached. [fido2-token_delete_id_failure_dump.txt](https://github.com/user-attachments/files/24246754/fido2-token_delete_id_failure_dump.txt)
polhenarejos commented 2026-01-26 02:27:40 +08:00 (Migrated from github.com)

fido2-token -L -r returns the list of RPs. To get the list of credentials is fido2-token -L -k webauthn.io and finally deleting the credential fido2-token -D -i <b64_credId>

`fido2-token -L -r ` returns the list of RPs. To get the list of credentials is `fido2-token -L -k webauthn.io` and finally deleting the credential `fido2-token -D -i <b64_credId>`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/pico-fido#227