--- Begin Message ---
Subject: |
26.1.50; Epg prompt on Microsoft Windows differ from the GNU/Linux on when asking passphrase |
Date: |
Sun, 14 Oct 2018 17:53:50 +0200 |
User-agent: |
mu4e 1.1.0; emacs 26.1.50 |
Hello everyone,
I've noticed an anoying problem when I need to decrypt a file from Emacs
on Windows. The prompt asking my passphrase is two lines whereas on
Gnu/Linux it's only one.
I've tracked this bug down to the epg--start fuction and try the
attached patch from some time now without noticing anything wrong.
The step to reproduce the bug are below:
1) Start Emacs with: emacs -Q
2) Execute the following commands in scratch buffer
#+BEGIN_SRC emacs-lisp
(require 'epg)
(setq epg-gpg-program "gpg2"
epa-pinentry-mode 'loopback)
;; open a gnupg encrypted file :
(find-file "~/.emacs.d/authinfo.gpg")
#+END_SRC
The result vary between Emacs on Microsoft windows and on GNU/Linux.
On Microsoft Windows:
#+BEGIN_VERSE
Passphrase for 7F4B4084DFC4EBD2 Pierre Téchoueyres <address@hidden>
:
#+END_VERSE
Note the cariage return before the colon.
On GNU/Linux:
#+BEGIN_VERSE
Passphrase for 7F4B4084DFC4EBD2 Pierre Téchoueyres <address@hidden>:
#+END_VERSE
0001-Unify-prompt-for-gnupg-passphrase-between-GNU-Linux-.patch
Description: 0001-Unify-prompt-for-gnupg-passphrase-between-GNU-Linux-and-Microsoft-Windows
Pierre.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#33040: 26.1.50; Epg prompt on Microsoft Windows differ from the GNU/Linux on when asking passphrase |
Date: |
Sat, 27 Oct 2018 12:38:07 +0300 |
> From: address@hidden (Pierre Téchoueyres)
> Cc: address@hidden
> Date: Wed, 24 Oct 2018 21:21:07 +0200
>
> Hello Eli,
> please find the patch bellow.
Thanks, pushed to the release branch.
--- End Message ---