Gpg : Kill keyboxd before pincheck.

This commit is contained in:
Dmitry Voronin 2024-09-29 22:20:59 +03:00
parent 78f053c622
commit a559793a53
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -2,6 +2,8 @@
text = ''
# Check smartcard pin.
function pincheck() {
pkill keyboxd &> /dev/null
# pkill gpg-agent &> /dev/null
echo verify | gpg --card-edit --no-tty --command-fd=0
}