GNU bug report logs - #33040
26.1.50; Epg prompt on Microsoft Windows differ from the GNU/Linux on when asking passphrase

Previous Next

Package: emacs;

Reported by: Pierre Téchoueyres <pierre.techoueyres <at> free.fr>

Date: Sun, 14 Oct 2018 15:55:02 UTC

Severity: minor

Tags: patch

Found in version 26.1.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#33040: closed (26.1.50; Epg prompt on Microsoft Windows
 differ from the GNU/Linux on when asking passphrase)
Date: Sat, 27 Oct 2018 09:39:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 27 Oct 2018 12:38:07 +0300
with message-id <83a7mzohkw.fsf <at> gnu.org>
and subject line Re: bug#33040: 26.1.50; Epg prompt on Microsoft Windows differ from the GNU/Linux on when asking passphrase
has caused the debbugs.gnu.org bug report #33040,
regarding 26.1.50; Epg prompt on Microsoft Windows differ from the GNU/Linux on when asking passphrase
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
33040: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33040
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Pierre Téchoueyres <pierre.techoueyres <at> free.fr>
To: bug-gnu-emacs <at> gnu.org
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
[Message part 3 (text/plain, inline)]
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 <pierre.techoueyres <at> free.fr>
:
#+END_VERSE
Note the cariage return before the colon.

On GNU/Linux:
#+BEGIN_VERSE
Passphrase for 7F4B4084DFC4EBD2 Pierre Téchoueyres <pierre.techoueyres <at> free.fr>:
#+END_VERSE

[0001-Unify-prompt-for-gnupg-passphrase-between-GNU-Linux-.patch (text/x-patch, attachment)]
[Message part 5 (text/plain, inline)]
Pierre.
[Message part 6 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: pierre.techoueyres <at> free.fr (Pierre Téchoueyres)
Cc: 33040-done <at> debbugs.gnu.org
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: pierre.techoueyres <at> free.fr (Pierre Téchoueyres)
> Cc: 33040 <at> debbugs.gnu.org
> Date: Wed, 24 Oct 2018 21:21:07 +0200
> 
> Hello Eli,
> please find the patch bellow.

Thanks, pushed to the release branch.


This bug report was last modified 6 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.