all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: 15553@debbugs.gnu.org
Cc: tzz@lifelogs.com, ueno@gnu.org
Subject: bug#15553: 24.3.50; epg.el and GnuPG 2.x cause unavoidable pinentry prompts for symmetrically encrypted files
Date: Mon, 07 Oct 2013 23:27:49 -0400	[thread overview]
Message-ID: <jwvmwmk4fie.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87a9ikwsbi.fsf-ueno-ueno@gnu.org> (Daiki Ueno's message of "Tue,  08 Oct 2013 08:54:17 +0900")

>> - on a headless server this can lock up Emacs

That's not good.  We should try to make sure that detect the
problematic situation, or make it easy for the user to get out of it
(with something like a C-g).

>> - if the GPG agent is dead, locked up, or not running, there's no remedy
> Ditto.

It can be very annoying for the user, and tricky to trackdown, so it's
clearly a real problem.  Of course, I have no idea how easy it would be
to fix it, but that doesn't make it a non-problem.  It incidentally does
sound like it matches the symptom of a problem I've had a few times
(tho I never bothered to track it down enough to be able to confirm
that it was indeed this problem).

>> - there's no way to avoid the prompt in favor of an Emacs minibuffer query
> As I said a number of times, that degrades security.  If the insecurity
> is okay for you, what's the reason you want to use GnuPG 2.x rather than
> GnuPG 1.x?

Maybe the user doesn't really want to use gpg2 (maybe it's installed for
some other user, maybe gpg1 is not installed for some reason, or maybe
the user didn't realize that gpg1 is not obsoleted by gpgp2), yet the
user may not care about the degraded security.


        Stefan





  parent reply	other threads:[~2013-10-08  3:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-07 18:03 bug#15553: 24.3.50; epg.el and GnuPG 2.x cause unavoidable pinentry prompts for symmetrically encrypted files Teodor Zlatanov
2013-10-07 23:54 ` Daiki Ueno
2013-10-08  1:01   ` Ted Zlatanov
2013-10-08  1:43     ` Daiki Ueno
2013-10-08  3:27   ` Stefan Monnier [this message]
2013-10-08  7:07     ` Daiki Ueno
2013-10-08 16:57       ` Stefan Monnier
2013-10-09  0:39         ` Daiki Ueno
2013-10-09  3:05           ` Stefan Monnier
2013-10-09  4:10             ` Daiki Ueno
2013-10-10  0:33               ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=jwvmwmk4fie.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=15553@debbugs.gnu.org \
    --cc=tzz@lifelogs.com \
    --cc=ueno@gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.