Skip to content

Skip standard/fido2/pin/ tests if device does not support clientPin #17

@andrewkozlik

Description

@andrewkozlik

The tests in tests/standard/fido2/pin/ assume that the authenticator supports clientPin. Authenticators which verify the user directly on the device, such as Trezor, do not support clientPin, so they will fail these tests. The tests should be run only if the clientPin option is present in the authenticatorGetInfo response.
I am not sure how to implement this, because apparently you can't do @pytest.mark.skipif() based upon the info fixture.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions