Skip to content

Wrong usage page in descriptor #1

@szszszsz

Description

@szszszsz

The FIDO_USAGE_DATA_OUT constant is probably equal to 0x21, and not to 0x04. 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 for 0x21 as the usage page).

Nitrokey FIDO2 has this set to 0x21 as well.

usbd-ctaphid/src/class.rs

Lines 157 to 158 in 2f29e01

0x09,
0x04, // Usage ID - vendor defined: FIDO_USAGE_DATA_OUT

Connected:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions