GNU bug report logs -
#9112
24.0.50; EasyPG - creating new gpg-encrypted files fails
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9112 in the body.
You can then email your comments to 9112 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#9112
; Package
emacs
.
(Mon, 18 Jul 2011 02:55:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Roland Winkler" <winkler <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 18 Jul 2011 02:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#9112
; Package
emacs
.
(Mon, 01 Aug 2011 02:30:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 9112 <at> debbugs.gnu.org (full text, mbox):
"Roland Winkler" <winkler <at> gnu.org> writes:
> 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.
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. However,
> 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))
this sounds strange. Do you mean that you are not able to encrypt a
file even with symmetric encryption?
Regards,
--
Daiki Ueno
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#9112
; Package
emacs
.
(Mon, 01 Aug 2011 15:11:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 9112 <at> debbugs.gnu.org (full text, mbox):
On Mon Aug 1 2011 Daiki Ueno wrote:
> "Roland Winkler" <winkler <at> gnu.org> writes:
> > 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.
>
> 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.
> > 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))
>
> However, this sounds strange. Do you mean that you are not able to
> encrypt a file even with symmetric encryption?
Oh, now I see: the pinentry window completely confused me as it was
not particularly verbose concerning the context of its appearence.
It simply asked "Enter passphrase", but it did not say how the
passphrase would be used. -- This is something that has annoyed me
various times, but it is really not (not only) an emacs issue, but
it applies also to gpg.
...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.
Roland
Added tag(s) notabug.
Request was from
Daiki Ueno <ueno <at> unixuser.org>
to
control <at> debbugs.gnu.org
.
(Mon, 01 Aug 2011 21:33:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Daiki Ueno <ueno <at> unixuser.org>
:
You have taken responsibility.
(Mon, 01 Aug 2011 21:33:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Roland Winkler" <winkler <at> gnu.org>
:
bug acknowledged by developer.
(Mon, 01 Aug 2011 21:33:03 GMT)
Full text and
rfc822 format available.
Message #18 received at 9112-done <at> debbugs.gnu.org (full text, mbox):
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
Message #19 received at 9112-done <at> debbugs.gnu.org (full text, mbox):
On Tue Aug 2 2011 Daiki Ueno wrote:
> 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
Reading through your posting,
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7487#40
I do not quite understand the rationale
> 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.
I strongly disagree in the sense that I find the current default
behavior to brief. Ted, Lars, and also I myself, we can always
customize things to make the behavior more brief and geared towards
our personal needs. But making the brief behavior the default,
assuming that the average user understands all this things, in my
opinion is asking for trouble and confusion.
Should I file another bug report for this?
Roland
Message #20 received at 9112-done <at> debbugs.gnu.org (full text, mbox):
"Roland Winkler" <winkler <at> gnu.org> writes:
> I strongly disagree in the sense that I find the current default
> behavior to brief. Ted, Lars, and also I myself, we can always
> customize things to make the behavior more brief and geared towards
> our personal needs. But making the brief behavior the default,
> assuming that the average user understands all this things, in my
> opinion is asking for trouble and confusion.
>
> Should I file another bug report for this?
Maybe, or you could reopen this and retitle.
For the record, here are responses from Ted and Lars:
http://article.gmane.org/gmane.emacs.bugs/42565
http://article.gmane.org/gmane.emacs.bugs/42567
I wonder why those articles dropped from the BTS archive.
Regards,
--
Daiki Ueno
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 30 Aug 2011 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 291 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.