Open MichaelGrafnetter opened 4 years ago
An earlier issue 156 on solo seems to agree on not to make that available. See this by @nickray on Mar 28 2019:
IMHO, the resident key interface isn't so well thought out by FIDO: You can't delete a specific key (nor list all resident keys on the device, which makes some sense from a security perspective if you lose the key), so if you run out of space, you have to reset the Solo key and delete all of the resident keys. (One exception, you can replace the key for a given (relying party, user ID) pair.)
And this by @0x0ece on Mar 28 2019:
(I agree list, single delete shouldn't be available for security reasons -- though it's still possible to enumerate providing rpid.)
Does anybody have an example of what other products are doing and how it is used?
Keys from Yubico and Feitian support this feature, and so does libfido2.
Listing RPs using libfido2 on Windows:
Listing RKs for a RP (webauthn.io), deleting one of them, and checking the result:
RK management makes a lot of sense to me, especially in the following scenarios:
BTW, the authenticatorCredentialManagement feature is part of the CTAP standard. Specifically, RC deletion is implemented in libfido2 through the fido_credman_del_dev_rk function.
And here is Yubico's accouncement of the Credential Management feature support.
Yes, that's an old comment of mine. Meanwhile, CTAP v2.1 specifies RK management.
It is available if you update firmware to v4 (https://github.com/solokeys/solo/releases/tag/4.0.0), which is not yet the default for sold keys, as we'd have to re-certify with the FIDO Alliance.
Thx, @nickray . I have just tested the credential management feature through libfido2 with my SoloKey with v4 firmware and it really works seamlessly. I thus wonder if it could please be exposed through solo-desktop, to make the RK management even easier.
Thanks for the information. I see the commits are tracked by https://github.com/solokeys/solo/issues/314 .
It would be cool if it were possible to view/delete resident credentials.