Unify prompt for gnupg passphrase between GNU/Linux and MS-Windows.

* lisp/epg.el (epg--start): Use 'raw-text' for coding system instead
of 'binary', in order to avoid spurious carriage return on Microsoft
Windows and MS-DOS when prompting for a password.  (Bug#33040)
This commit is contained in:
Pierre Téchoueyres 2018-10-14 17:49:12 +02:00 committed by Eli Zaretskii
parent 2a416161b2
commit 106b9e138f

View file

@ -657,7 +657,7 @@ callback data (if any)."
:command (cons (epg-context-program context)
args)
:connection-type 'pipe
:coding '(binary . binary)
:coding 'raw-text
:filter #'epg--process-filter
:stderr error-process
:noquery t)))