Skip to content

Import Errors #635

@lbm-services

Description

@lbm-services

ImportError: cannot import name 'CTAP1' from 'fido2.ctap1' (/home/hli/.venv/lib/python3.11/site-packages/fido2/ctap1.py)

The class is named Ctap1 NOT CTAP1.

ImportError: cannot import name 'CTAP2' from 'fido2.ctap2' (/home/hli/.venv/lib/python3.11/site-packages/fido2/ctap2/__init__.py)

Spelling Error like above. CTAP2 does not exist, replacing with Ctap2 does the trick.

Package Version


fido2 1.1.2

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