From 18f1e627c697d75175b79fe095305fa775f20841 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 28 Jul 2015 12:52:26 +0200 Subject: w32: Try more places to find an installed Pinentry. * common/homedir.c (get_default_pinentry_name): Re-implement to support several choices for Windows. Signed-off-by: Werner Koch --- doc/gpg-agent.texi | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/gpg-agent.texi') diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi index 4c4707257..62d23bbf1 100644 --- a/doc/gpg-agent.texi +++ b/doc/gpg-agent.texi @@ -403,6 +403,17 @@ installation dependent. With the default configuration the name of the default pinentry is @file{pinentry}; if that file does not exist but a @file{pinentry-basic} exist the latter is used. +On a Windows platform the default is to use the first existing program +from this list: +@file{bin\pinentry.exe}, +@file{..\Gpg4win\bin\pinentry.exe}, +@file{..\Gpg4win\pinentry.exe}, +@file{..\GNU\GnuPG\pinentry.exe}, +@file{..\GNU\bin\pinentry.exe}, +@file{bin\pinentry-basic.exe} +where the file names are relative to the GnuPG installation directory. + + @item --pinentry-touch-file @var{filename} @opindex pinentry-touch-file By default the filename of the socket gpg-agent is listening for -- cgit v1.2.3