diff options
author | Tharre <tharre3@gmail.com> | 2018-09-29 05:43:20 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-09-29 05:43:20 +0200 |
commit | b8e22409f5c3717cdd2e9a1c5183c195202b7fcd (patch) | |
tree | a4982d47cb5e43b5f560a4422d11a6c42ec50b8b /arch-system/etc-yubikey.rules | |
parent | 487d1d9c89e2f9e7039a54b5b76cffb2283ccd8e (diff) | |
download | pkgbuilds-b8e22409f5c3717cdd2e9a1c5183c195202b7fcd.tar.gz pkgbuilds-b8e22409f5c3717cdd2e9a1c5183c195202b7fcd.tar.xz pkgbuilds-b8e22409f5c3717cdd2e9a1c5183c195202b7fcd.zip |
arch-system: add udev rule for scdaemon lockup
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" |