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 : #+END_VERSE Note the cariage return before the colon. On GNU/Linux: #+BEGIN_VERSE Passphrase for 7F4B4084DFC4EBD2 Pierre Téchoueyres : #+END_VERSE