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

New solo key usb-c not recognized by login sysem on linux #617

Closed
noccio opened this issue Aug 20, 2022 · 6 comments
Closed

New solo key usb-c not recognized by login sysem on linux #617

noccio opened this issue Aug 20, 2022 · 6 comments

Comments

@noccio
Copy link

noccio commented Aug 20, 2022

I bought a second key usb-c because the previous was broken. I have another key usb-a working fine.
I tried to add the new usb-c key to login system with the command

pamu2fcfg >> ~/.config/Yubico/u2f_keys

as explained in the documentation but the key is not recognized by login system and the led remains green.
I tried to change the u2fkeys file in many way but the problem remains and only the older key is working.

When I insert the key I saw this message in dmesg

[ 7873.489067] usb 1-1: new full-speed USB device number 12 using xhci_hcd
[ 7873.630419] usb 1-1: New USB device found, idVendor=0483, idProduct=a2ca, bcdDevice= 1.00
[ 7873.630432] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7873.630435] usb 1-1: Product: Solo 4.1.5
[ 7873.630437] usb 1-1: Manufacturer: SoloKeys
[ 7873.630439] usb 1-1: SerialNumber: 207432793141
[ 7873.633955] hid-generic 0003:0483:A2CA.0008: hiddev96,hidraw1: USB HID v1.11 Device [SoloKeys Solo 4.1.5] on usb-0000:00:15.0-1/input0

And if I try to use the command line program solo1 I have this error

> solo key version                                                                                                                              

Traceback (most recent call last):
File "/home/leandro/.local/bin/solo", line 5, in <module> from solo.cli import solo_cli
File "/home/leandro/.local/lib/python3.10/site-packages/solo/__init__.py", line 15, in <module> from . import client, commands, dfu, helpers, operations
File "/home/leandro/.local/lib/python3.10/site-packages/solo/client.py", line 15, in <module> from .devices import solo_v1
File "/home/leandro/.local/lib/python3.10/site-packages/solo/devices/solo_v1.py", line 11, in <module> from fido2.ctap1 import CTAP1
ImportError: cannot import name 'CTAP1' from 'fido2.ctap1' (/usr/lib/python3.10/site-packages/fido2/ctap1.py)

The key usb-c works normally with the browsers.

I am on manjaro stable on amd64

@noccio
Copy link
Author

noccio commented Aug 20, 2022

Closed issue

@noccio noccio closed this as completed Aug 20, 2022
@craigcomstock
Copy link

Closed issue

@noccio I am seeing this same problem (with python CTAP1 from fido2.ctap1) and you have closed this issue without noting what you did to fix the issue.

@craigcomstock
Copy link

maybe this one? solokeys/solo1-cli#151, with an open pull request. 👍

@craigcomstock
Copy link

Yes, this PR: solokeys/solo1-cli#152 seems to fix at least the initial problem and likely handles what I need: programming a hacker solokey. 🎉 I hope.

@craigcomstock
Copy link

After adjusting the udev rules from TAG+="uaccess" to GROUP="plugdev" (I am using a VM so maybe no elogind/etc/logged in user?) I can do solo1 ls so think I am good now. Thanks for the tickets and such.

@joelmaxuel
Copy link

Yes, this PR: solokeys/solo1-cli#152 seems to fix at least the initial problem

A reminder that PyPi continues to offer the version that has the same initial problem. Visits to this issue and solo-cli#151 should alleviate once that get updated.

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

No branches or pull requests

3 participants