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

Communication protocol mismatch! #1725

Open
fernvenue opened this issue Nov 7, 2024 · 2 comments
Open

Communication protocol mismatch! #1725

fernvenue opened this issue Nov 7, 2024 · 2 comments
Assignees

Comments

@fernvenue
Copy link

Hi, I'm using Yubico Authenticator on Debian Trixie/Testing, and pcscd service is running, but Yubico Authenticator still say that pcscd is not running, and I found out that there are some error messages in pcscd service:

Nov 07 14:42:18 OptiPlex pcscd[25770]: 00002907 ../src/winscard_svc.c:404:ContextThread() Communication protocol mismatch!
Nov 07 14:42:18 OptiPlex pcscd[25770]: 00000005 ../src/winscard_svc.c:406:ContextThread() Client protocol is 4:4
Nov 07 14:42:18 OptiPlex pcscd[25770]: 00000001 ../src/winscard_svc.c:408:ContextThread() Server protocol is 4:5

What should I do to fix this? Any help will be much appreciated :)

@ldet
Copy link

ldet commented Nov 13, 2024

Experiencing the same, using the flatpack from flathub on debian trixie. Downgrading pcscd and libpcsclite1 to version 2.2.3-1 worked for me. Had to build those packages from source though.

The minor protocol version increased, and the pcsc-lite protocol versions must match exactly between the version included in the flatpack and the host. The upstream developer has an Blog article about that issue: https://blog.apdu.fr/posts/2022/02/accessing-smart-cards-from-inside/

@joelpurra
Copy link

joelpurra commented Nov 15, 2024

The community flatpak on flathub mentions this as a packaging issue. The flatpak workaround is to use the beta flatpak.

NOTE: This (community) flatpak currently works only with distros that use version of pcsc-lite below 2.3.0. For distros that use version 2.3.0 and above use beta version of this flatpak. DON'T report this to Yubico.

Also successfully used ykman in a toolbox on Fedora F41 Silverblue; see linked issue.

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

4 participants