Install
Fedora
Note
Should already be present
sudo dnf install pcsc-liteConfigure
Polkit
You need to add a polkit rule /etc/polkit-1/rules.d/99-pcscd.rules, to allow the users of the smartcard group access to the smart card
polkit.addRule(function (action, subject) {
if (
action.id == "org.debian.pcsc-lite.access_card" &&
subject.isInGroup("smartcard")
) {
return polkit.Result.YES;
}
});
polkit.addRule(function (action, subject) {
if (
action.id == "org.debian.pcsc-lite.access_pcsc" &&
subject.isInGroup("smartcard")
) {
return polkit.Result.YES;
}
});Restart the polkit service
sudo systemctl restart polkit.serviceCreate the group
sudo groupadd smartcardAdd your user to the group
sudo usermod -aG smartcard usernameReplace
username: Your username
Restart your login session
Enable
sudo systemctl enable pcscdStart
sudo systemctl start pcscd