From 13cc24a791580de1e0e4a411391fb273f95fc1f6 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Sun, 28 Aug 2022 16:40:43 -0400 Subject: [PATCH] Updated fix-yubikey to use gpg-connect-agent better --- .local/dotfiles/aliases/fix-yubikey.zsh | 2 ++ .local/dotfiles/aliases/fix-yubikey.zsh##d.Fedora | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .local/dotfiles/aliases/fix-yubikey.zsh delete mode 100644 .local/dotfiles/aliases/fix-yubikey.zsh##d.Fedora diff --git a/.local/dotfiles/aliases/fix-yubikey.zsh b/.local/dotfiles/aliases/fix-yubikey.zsh new file mode 100644 index 0000000..35a3de5 --- /dev/null +++ b/.local/dotfiles/aliases/fix-yubikey.zsh @@ -0,0 +1,2 @@ +#alias fix-yubikey='sudo systemctl restart pcscd.service' +alias fix-yubikey='gpg-connect-agent "scd serialno" "learn --force" /bye' diff --git a/.local/dotfiles/aliases/fix-yubikey.zsh##d.Fedora b/.local/dotfiles/aliases/fix-yubikey.zsh##d.Fedora deleted file mode 100644 index 93e8ea7..0000000 --- a/.local/dotfiles/aliases/fix-yubikey.zsh##d.Fedora +++ /dev/null @@ -1 +0,0 @@ -alias fix-yubikey='sudo systemctl restart pcscd.service'