Skip to content

CTAP1/U2F commands should not be sent to devices that don't support it #367

Description

@micolous

Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=2063492

#276 added FidoDevice::downgrade_to_ctap1() as an infallible operation to work-around #269 (AppID extension pre-flighting).

However:

In practice:

FidoDevice::downgrade_to_ctap1() should be a fallible operation, and there should be a FidoDevice method which indicates whether a authenticator supports CTAP1 (ie: supports_ctap1()).

When use_ctap2_fallback = true, CTAP2-only authenticators should be excluded as a candidate device.

This issue is reproducible with Firefox Nightly on Linux.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Effort

None yet

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions