-
-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
Hey,
When installing yubikey-agent from AUR and applying the steps mentioned in the README, in the current version of Arch you get the error above if you try to use ssh-add -L.
I found out that this is because of polkit, so I had to add the following rules to make it work as /etc/polkit-1/rules.d/99-pcscd.rules:
polkit.addRule(function(action, subject) {
if (action.id == "org.debian.pcsc-lite.access_card" &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
polkit.addRule(function(action, subject) {
if (action.id == "org.debian.pcsc-lite.access_pcsc" &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});(See Arch Wiki)
After doing this and restarting the polkit service, it now works as intended.
Metadata
Metadata
Assignees
Labels
No labels