[RPM Based Distro] How to install latest `pcsclite` and `ccid` package

It depends.

You can use gnupg + scdaemon + libusb

This is the default on most systems - there should be no need to run pcscd and no PC/SC lite is required.

You can also use gnupg + scdaemon + pcscd + ccid

For that, you can add disable-ccid to ${HOME}/.gnupg/scdaemon.conf and this way all smartcard communication is going via PC/SC Lite and the pcscd daemon. Looks like gnupg2 does not need to be compiled with pcsclite support directly to support this, it is a runtime option.

Now, Fedora prefers to disable direct ccid support in their RPM and their require PC/SC lite library to build the package.

Mageia seems to use the default - allow scdaemon to access USB directly via libusb. This way ccid is not needed for gnupg2 and they can use older 1.4.33.

(Personally, I prefer the pcscd way because I use lots of other software to access smartcards in parallel, but this is a personal choice).

As for Mageia, I could not easily find information who maintains their gnupg2 and ccid packages. Edit: ccid seems to be maintained by sander85 and gnupg2 does not seem to have a current maintainer. Maybe you can volunteer to submit a patch to update their ccid version.

1 Like