From 7eb2ffd0a08f2f082259954254020905c866d1eb Mon Sep 17 00:00:00 2001 From: chayleaf Date: Tue, 6 Feb 2024 14:31:23 +0700 Subject: [PATCH] gpg-agent: fix pinentry for some reason I started getting the following error without this fix: sign_and_send_pubkey: signing failed for ED25519 ... from agent: agent refused operation --- home/modules/general.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/modules/general.nix b/home/modules/general.nix index 561e614..979a7e8 100644 --- a/home/modules/general.nix +++ b/home/modules/general.nix @@ -17,6 +17,7 @@ enableSshSupport = true; maxCacheTtl = 72000; maxCacheTtlSsh = 72000; + pinentryFlavor = "tty"; }; home.shellAliases = { s = "sudo -A";