mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <wk@gnupg.org>
This commit is contained in:
parent
55e64f47a5
commit
18f1e627c6
2 changed files with 44 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue