-
Notifications
You must be signed in to change notification settings - Fork 3
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
Wrong usage page in descriptor #1
Comments
I would argue that this is a problem with the
We correctly set these values: Lines 132 to 138 in 2f29e01
It seems to me that the But this happens to be the endpoint usage, not the device usage. A better approach would be to use the first value. (This probably could still fail for composite devices, but let’s ignore that for the moment.) So I think this should be fixed in |
I’ve prepared a simple patch for |
The
FIDO_USAGE_DATA_OUT
constant is probably equal to0x21
, and not to0x04
. The exact value is not specified in the FIDO CTAPHID spec from the brief look. Because of the wrong value, the fido2luks application cannot find authenticator using this library (as it searches for0x21
as the usage page).Nitrokey FIDO2 has this set to
0x21
as well.usbd-ctaphid/src/class.rs
Lines 157 to 158 in 2f29e01
Connected:
The text was updated successfully, but these errors were encountered: