unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
blob 272f4b53dc391a68e9f644bc330439a41de7b68c 600 bytes (raw)
name: gnu/packages/patches/gnupg-default-pinentry.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
Default to the pinentry program installed in ~/.guix-profile.

diff --git a/common/homedir.c b/common/homedir.c
index e9e75d0..74e0aaf 100644
--- a/common/homedir.c
+++ b/common/homedir.c
@@ -968,7 +968,7 @@ get_default_pinentry_name (int reset)
   } names[] = {
     /* The first entry is what we return in case we found no
        other pinentry.  */
-    { gnupg_bindir, DIRSEP_S "pinentry" EXEEXT_S },
+    { gnupg_homedir, "/.guix-profile/bin/pinentry" },
 #ifdef HAVE_W32_SYSTEM
     /* Try Gpg4win directory (with bin and without.) */
     { w32_rootdir, "\\..\\Gpg4win\\bin\\pinentry.exe" },

debug log:

solving 272f4b53dc ...
found 272f4b53dc in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).