summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-07-04 15:39:44 +0200
committerAnton Khirnov <anton@khirnov.net>2022-07-04 15:42:19 +0200
commit18dbadf1a02b797acb4a99b2670b022462664dd3 (patch)
tree70fbe2b3e7cd0eee845c05eb860b098fb47fd339 /dotfiles
parentcbebddb1e856c74887cefeae03566b73fb19c1f3 (diff)
Add more verbosity to FIDO key loading/cleaning
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/Xsession3
1 files changed, 1 insertions, 2 deletions
diff --git a/dotfiles/Xsession b/dotfiles/Xsession
index 3d2a716..473e1b8 100644
--- a/dotfiles/Xsession
+++ b/dotfiles/Xsession
@@ -17,8 +17,7 @@ run_if_exists parcellite
# on FIDO HW key add/remove, update the SSH agent
udev_match --subsystem=hidraw --match=ACTION=remove --match=ID_FIDO_TOKEN=1 ssh_sk_clean &
-udev_match --subsystem=hidraw --match=ACTION=add --match=ID_FIDO_TOKEN=1 \
- "ssh-add -K || notify-send -u critical 'Error adding FIDO2 keys to SSH agent' 'Wrong PIN?'" &
+udev_match --subsystem=hidraw --match=ACTION=add --match=ID_FIDO_TOKEN=1 ssh_sk_add &
# show notifications on brightness changes
for d in /sys/class/backlight/*; do