GNU bug report logs - #23619
Some epg tests fail

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 25 May 2016 17:02:01 UTC

Severity: minor

Found in version 25.1.50

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daiki Ueno <ueno <at> gnu.org>
To: npostavs <at> users.sourceforge.net
Cc: 23619 <at> debbugs.gnu.org, Glenn Morris <rgm <at> gnu.org>
Subject: bug#23619: Some epg tests fail
Date: Sun, 19 Feb 2017 19:34:39 +0100
npostavs <at> users.sourceforge.net writes:

> tags 23619 patch
> quit
>
> Glenn Morris <rgm <at> gnu.org> writes:
>
>> Two epg tests fail for me on RHEL 7.2 with current master (and have done
>> since they stopped being skipped).
>>
>> gpg --version
>> gpg (GnuPG) 2.0.22
>> libgcrypt 1.5.3
>
>> 2 unexpected results:
>>    FAILED  epg-decrypt-1
>>    FAILED  epg-roundtrip-1
>
> I have
>
>     gpg --version
>     gpg (GnuPG) 2.1.18
>     libgcrypt 1.7.6
>
> These tests popup a dialog box to enter a passphrase before failing.
> The following patch which sets pinentry mode to 'loopback' fixes it for
> me (I have not tested with other gpg versions though):

Thank you.  That sounds like a good idea, but the version actually
matters: gpg 1.x and 2.0.x refuse the --pinentry-mode option and exit
abnormally...

Maybe you could add a version check around the call (or in epg--start)?
epg-config.el provides a few functions to do that.

Regards,
-- 
Daiki Ueno




This bug report was last modified 8 years and 7 days ago.

Previous Next


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