GNU bug report logs - #9112
24.0.50; EasyPG - creating new gpg-encrypted files fails

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Mon, 18 Jul 2011 02:55:02 UTC

Severity: normal

Tags: notabug

Found in version 24.0.50

Done: Daiki Ueno <ueno <at> unixuser.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: Daiki Ueno <ueno <at> unixuser.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#9112: closed (24.0.50; EasyPG - creating new gpg-encrypted
 files fails)
Date: Mon, 01 Aug 2011 21:33:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 02 Aug 2011 06:32:26 +0900
with message-id <87tya095sl.fsf-ueno <at> unixuser.org>
and subject line Re: bug#9112: 24.0.50; EasyPG - creating new gpg-encrypted files fails
has caused the GNU bug report #9112,
regarding 24.0.50; EasyPG - creating new gpg-encrypted files fails
to be marked as done.

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


-- 
9112: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9112
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Roland Winkler" <winkler <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; EasyPG - creating new gpg-encrypted files fails
Date: Sun, 17 Jul 2011 21:53:51 -0500
With Emacs 23 I could create new gpg-encrypted files by simply
giving the file name the extension .gpg. Then emacs would ask me
which public keys to use for encryption. Now emacs will pop up a
pinentry window which doesn't do anything useful. Whatever I enter
there results in the error message

 Opening output file: Encrypt failed: ((exit))

But I cannot select anymore the public keys I want to use for
encryption. The bottom line is that I don't know anymore what I
could / should do to create new gpg-encrypted files.



In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2011-07-16 on regnitz
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: en_GB.utf8
  value of $LANG: en_US.ISO-8859-15
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-9-unix
  default enable-multibyte-characters: t


[Message part 3 (message/rfc822, inline)]
From: Daiki Ueno <ueno <at> unixuser.org>
To: "Roland Winkler" <winkler <at> gnu.org>
Cc: 9112-done <at> debbugs.gnu.org
Subject: Re: bug#9112: 24.0.50; EasyPG - creating new gpg-encrypted files fails
Date: Tue, 02 Aug 2011 06:32:26 +0900
tags 9112 notabug
thanks

"Roland Winkler" <winkler <at> gnu.org> writes:

>> The default value of epa-file-select-keys has changed from nil to
>> 'silent in Emacs 24, which means symmetric encryption is now default.
>> You could set the variable to nil for the compatible behavior.  
>
> I see. Just curious: what was the reason for this change? I browsed
> emacs-devel and bug-gnu-emacs (and etc/NEWS), but I could not find
> anything.

I found the bug which caused this change:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7487#49

> ...Well, it would be nice if either gpg or emacs could tell the user
> that the file the user wants to save is just about to go through
> symmetric encryption (and not any other encryption mechanism the
> user might hope for). Otherwise, any misunderstanding concerning the
> encryption mechanism could imply that a file is essentially lost
> after saving.

Right, but some people (Ted and Lars at least) feel the behavior too
verbose.  Maybe pinentry could be improved to display what gpg will do.
Actually I sometimes use gnome-keyring-daemon's gpg-agent support, which
displays two passphrase entries for confirmation and that implies
symmetric encryption.

Regards,
-- 
Daiki Ueno


This bug report was last modified 13 years and 292 days ago.

Previous Next


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