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: Pierre Téchoueyres <pierre.techoueyres <at> free.fr>
Subject: bug#33040: closed (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 09:39:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#33040: 26.1.50; Epg prompt on Microsoft Windows differ from the GNU/Linux on when asking passphrase

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 33040 <at> debbugs.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: 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.

[Message part 3 (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 4 (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 6 (text/plain, inline)]
Pierre.

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

Previous Next


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