summaryrefslogtreecommitdiffstats
path: root/modules/by-name
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-10 16:45:50 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-10 16:50:07 +0100
commit7835987c19f46ca91bb5ccab35aafd52124a4679 (patch)
tree497d847f5d5cdf5a4e2a0cede78f78a9cf0b61d7 /modules/by-name
parentmodules/git: Stop signing commits by default (diff)
downloadnixos-config-7835987c19f46ca91bb5ccab35aafd52124a4679.zip
modules/gpg: Use a better pinentry program
The curses one shows up on the latest started terminal, and has serious issues with already started stuff on there (e.g. when trying to run over a running nvim instance). Additionally it's just insecure, as we are using in-band messaging, so an malicious application could draw a similar looking prompt and get me to enter my passphrase in there.
Diffstat (limited to 'modules/by-name')
-rw-r--r--modules/by-name/gp/gpg/module.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/by-name/gp/gpg/module.nix b/modules/by-name/gp/gpg/module.nix
index 9be4cada..afe3ee1b 100644
--- a/modules/by-name/gp/gpg/module.nix
+++ b/modules/by-name/gp/gpg/module.nix
@@ -102,8 +102,7 @@ in {
maxCacheTtlSsh = 60 * 50;
pinentry = {
- package = pkgs.pinentry-curses;
- # package = pkgs.pinentry-tty;
+ package = pkgs.pinentry-qt;
};
enableSshSupport = true;