Existing credentials can not be deleted with fido2-token commandline tool. #227
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hardware: TenStar RP2350 USB-A
Firmware: pico_fido_seeed_xiao_rp2350-6.6.uf2 /
cfe1321d62fido2-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 withfido2-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_CREDENTIALSDebug output of the fido2-token -D -i command has been attached.
fido2-token_delete_id_failure_dump.txt
fido2-token -L -rreturns the list of RPs. To get the list of credentials isfido2-token -L -k webauthn.ioand finally deleting the credentialfido2-token -D -i <b64_credId>