scdaemon
scdaemon, the smart card daemon, is a component of the GnuPG (GNU Privacy Guard) suite that provides the low-level interface between GnuPG and physical smart cards or USB security tokens. It runs as a background daemon and communicates with card readers using the PC/SC (and CCID) standards. When a compatible card is present, gpg-agent requests cryptographic operations through scdaemon, which delegates them to the card.
Private keys remain on the card; scdaemon does not extract them. Instead, it forwards signing, decryption, and
scdaemon supports a range of OpenPGP devices, including OpenPGP cards and USB tokens like YubiKey that implement
Configuration is performed through scdaemon.conf, which specifies reader assignments, timeouts, logging, and other behaviors. On startup,