on fedora sssd is the standard way to configure smartcards.
sudo dnf install pcsc-lite pcsc-lite-ccid opensc pcsc-tools
sudo systemctl enable --now pcscd