unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Roland Winkler" <winkler@gnu.org>
To: Daiki Ueno <ueno@unixuser.org>
Cc: 9112@debbugs.gnu.org
Subject: bug#9112: 24.0.50; EasyPG - creating new gpg-encrypted files fails
Date: Mon, 1 Aug 2011 10:10:10 -0500	[thread overview]
Message-ID: <20022.49618.747295.789434@gargle.gargle.HOWL> (raw)
In-Reply-To: <m3d3gpdfvi.fsf-ueno@unixuser.org>

On Mon Aug 1 2011 Daiki Ueno wrote:
> "Roland Winkler" <winkler@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





  reply	other threads:[~2011-08-01 15:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18  2:53 bug#9112: 24.0.50; EasyPG - creating new gpg-encrypted files fails Roland Winkler
2011-08-01  2:28 ` Daiki Ueno
2011-08-01 15:10   ` Roland Winkler [this message]
2011-08-01 21:32     ` Daiki Ueno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20022.49618.747295.789434@gargle.gargle.HOWL \
    --to=winkler@gnu.org \
    --cc=9112@debbugs.gnu.org \
    --cc=ueno@unixuser.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).