Skip to content
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

missing 1 required positional argument: 'extensions' #226

Closed
kiennd opened this issue May 8, 2024 · 1 comment
Closed

missing 1 required positional argument: 'extensions' #226

kiennd opened this issue May 8, 2024 · 1 comment

Comments

@kiennd
Copy link

kiennd commented May 8, 2024

I ran credential.py in example folder got error:

Use USB HID channel.
Traceback (most recent call last):
File "/data/fido2-test1/credential.py", line 79, in
client = Fido2Client(dev, "https://example.com", user_interaction=CliInteraction())
File "/data/fido2-test1/venv/lib/python3.10/site-packages/fido2/client.py", line 734, in init
self._backend: _ClientBackend = _Ctap2ClientBackend(
File "/data/fido2-test1/venv/lib/python3.10/site-packages/fido2/client.py", line 447, in init
self.ctap2 = Ctap2(device)
File "/data/fido2-test1/venv/lib/python3.10/site-packages/fido2/ctap2/base.py", line 208, in init
self._info = self.get_info()
File "/data/fido2-test1/venv/lib/python3.10/site-packages/fido2/ctap2/base.py", line 262, in get_info
return Info.from_dict(self.send_cbor(Ctap2.CMD.GET_INFO))
File "/data/fido2-test1/venv/lib/python3.10/site-packages/fido2/utils.py", line 287, in from_dict
return cls(**kwargs)
TypeError: Info.init() missing 1 required positional argument: 'extensions'

@dainnilsson
Copy link
Member

This will be fixed in the next version! Out of curiosity, what is the security key type you are using where this occurs?

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

No branches or pull requests

2 participants