but all of them result to the same error message.
May I ask if you have an idea what I’m doing wrong?
I have services.pcscd.enable = true set in my config.
Mai 06 15:41:00 pc systemd[7030]: Started GnuPG cryptographic agent and passphrase cache.
Mai 06 15:41:00 pc gpg-agent[9182]: gpg-agent[9182]: WARNING: "--supervised" is a deprecated option
Mai 06 15:41:00 pc gpg-agent[9182]: gpg-agent (GnuPG) 2.4.5 starting in supervised mode.
Mai 06 15:41:00 pc gpg-agent[9182]: using fd 3 for std socket (/run/user/1000/gnupg/S.gpg-agent)
Mai 06 15:41:00 pc gpg-agent[9182]: listening on: std=3 extra=-1 browser=-1 ssh=-1
Mai 06 15:41:00 pc gpg-agent[9184]: scdaemon[9184]: pcsc_establish_context failed: internal error (0x80100001)
Mai 06 15:41:26 pc gpg-agent[9184]: scdaemon[9184]: pcsc_establish_context failed: internal error (0x80100001)
Mai 06 15:43:10 pc gpg-agent[9184]: scdaemon[9184]: pcsc_establish_context failed: internal error (0x80100001)
well… it looks like that this is an error from scdaemon itself, I guess… yay…
For anyone who’s curious about the version which I’m using, here’s the output of pcscd --version:
pcsc-lite version 2.1.0.
Copyright (C) 1999-2002 by David Corcoran <corcoran@musclecard.com>.
Copyright (C) 2001-2022 by Ludovic Rousseau <ludovic.rousseau@free.fr>.
Copyright (C) 2003-2004 by Damien Sauveron <sauveron@labri.fr>.
Report bugs to <pcsclite-muscle@lists.infradead.org>.
Enabled features: Linux x86_64-pc-linux-gnu libsystemd serial usb libudev polkit usbdropdir=/var/lib/pcsc/drivers ipcdir=/run/pcscd filter configdir=/etc
MAX_READERNAME: 128, PCSCLITE_MAX_READERS_CONTEXTS: 16
No, that looks fine. My only suspicion is that you might not have enabled the udev rules, and if you have maybe you haven’t rebooted since, so your yubikey isn’t being picked up by anything because its rules aren’t installed to make non-root users see it.
Sure, the fix is relatively straightforward but I still find it kinda bad that the update was merged into master without sufficient testing, completely breaking yubikeys again.
Can you elaborate on this? I tried doing what you said but it didn’t work, I still get the error that libpcsclite_real.so.1 is not found. I made the change in my home-manager config and I confirmed it did make the change to the unit file that was loaded.