diff options
Diffstat (limited to 'arch-system/etc-yubikey.rules')
-rw-r--r-- | arch-system/etc-yubikey.rules | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch-system/etc-yubikey.rules b/arch-system/etc-yubikey.rules new file mode 100644 index 0000000..6d8238b --- /dev/null +++ b/arch-system/etc-yubikey.rules @@ -0,0 +1,13 @@ +# Yubico Yubikey +# +# This is a ugly hack to prevent scdaemon from locking up after suspend. +# Note that more civil methods, like gpgconf --kill scdaemon or just sending a +# normal TERM doesn't work. +# see https://wiki.gnupg.org/SmartCard#Known_problem_of_Yubikey +ATTRS{idVendor}=="1050", \ +ATTRS{idProduct}=="0010|0405|0110|0111|0116", \ +ENV{ID_SECURITY_TOKEN}="1", \ +RUN+="/usr/bin/killall -9 scdaemon", \ +TAG+="uaccess" + +LABEL="yubico_end" |