New issue by lemmi on void-packages repository https://github.com/void-linux/void-packages/issues/38034 Description: ### Is this a new report? Yes ### System Info Void 5.15.52_1 x86_64 AuthenticAMD uptodate hold rrrmFFFFFFFFFFFFFFF ### Package(s) Affected gnupg-2.3.7_1 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? https://dev.gnupg.org/T5409#145581 ### Expected behaviour Current setups that (need) to use `pcscd` for smartcard access (like yubikeys) should work. ### Actual behaviour `scdaemon` [disabled the fallback](https://dev.gnupg.org/T4673) to the `PC/SC` driver when the internal `CCID` driver is used. Solutions I can see so far: 1. Users need to `echo disable-ccid >> ~/.gnupg/scdaemon.conf` 2. Build `gnupg` with `--disable-ccid-driver` 3. `gnupg` package ships `udev` rules that allow users to access the smartcard with the internal `CCID` and users disable `pcscd` Apparently [debian ships udev rules](https://salsa.debian.org/debian/gnupg2/-/blob/debian/unstable/debian/scdaemon.udev), though I have not tested them. > `\\` noted: > just as a note those udev rules should probably target both the plugdev group and the uaccess tag (for elogind) Tough I can confirm that manually changing the permissions on the usb device and disabling `pcscd` works. I think we should prefer 3 over 2 over 1. ### Steps to reproduce 1. have `pcscd` running to access smartcards 2. updage gnupg 3. `gpgconf --kill all` 4. `gpg --card-status` ``` gpg: selecting card failed: No such device gpg: OpenPGP card not available: No such device ``` @jcgruenhage