From 9112078b250447cb0b906f18dfec0b7016e5c121 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 18 Jun 2025 12:44:16 +0300 Subject: [PATCH] Keychain now uses the KDE wallet GUI insteead of the terminal when asking for passphrase which is (hopefully) more secure, with a timeout of 1 minute (after the timeout, it'll stop blocking, causing every open terminal to open it's own prompt popup which is annoying, might increase this if I still regularly hit the limit) --- .zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 11315e3..a3c07f3 100644 --- a/.zshrc +++ b/.zshrc @@ -107,7 +107,8 @@ esac # pnpm end # Start ssh-agent if not running -eval $(keychain --quiet --eval ~/.ssh/id_ed25519) +export SSH_ASKPASS_REQUIRE="prefer" +eval $(keychain --quiet --quick --lockwait 60 --eval ~/.ssh/id_ed25519) MARKER_FILE="/run/user/$(id -u)/autorun_once_marker" if [ ! -f "$MARKER_FILE" ]; then