programs: use the GNOME pinentry for gpg-agent
With pinentry-curses the passphrase prompt needs a terminal, so a signed commit made from an editor or any tool without one fails with "gpg: signing failed: No such file or directory". pinentry-gnome3 asks in a GNOME dialog instead (and still falls back to curses without a display). Assisted-by: Claude:opus-5
This commit is contained in:
parent
1320decc26
commit
57106b1fbe
1 changed files with 2 additions and 1 deletions
|
|
@ -16,7 +16,8 @@
|
|||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryPackage = pkgs.pinentry-curses;
|
||||
# GNOME dialog: also prompts for commits signed from editors and tools
|
||||
pinentryPackage = pkgs.pinentry-gnome3;
|
||||
};
|
||||
|
||||
# Git configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue