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: 8791@debbugs.gnu.org
Subject: bug#8791: 23.3; EasyPG: pinentry in remote emacs session without X
Date: Mon, 6 Jun 2011 00:24:28 -0500	[thread overview]
Message-ID: <19948.25740.271081.135518@gargle.gargle.HOWL> (raw)
In-Reply-To: <m339jn3f6q.fsf-ueno@unixuser.org>

On Mon Jun 6 2011 Daiki Ueno wrote:
> > I do not know much about the internals of gpg. I was wondering: for
> > gpg, is there anything similar to the ssh-add command, which could
> > serve as a fallback?
> 
> I suspect that gpg command installed on your remote system is GPG2,
> which is tightly coupled with gpg-agent (and thus pinentry) for secret
> key operations by its design.

...So I assume from your reply that, first of all, gpg does not have
anything similar to shh-add which is a program the user runs in
order to talk to the ssh agent. But gpg is doing it the other way
round: it's always the gpg agent which runs pinentry to ask the user
for a password.

I do not quite understand what motivated the authors of gpg and ssh
to use these different strategies. Oh well...

Anyway: thanks for EasyPG!

Roland





  reply	other threads:[~2011-06-06  5:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-03  0:03 bug#8791: 23.3; EasyPG: pinentry in remote emacs session without X Roland Winkler
2011-06-03  4:20 ` Daiki Ueno
2011-06-04  2:18   ` Roland Winkler
2011-06-06  1:46     ` Daiki Ueno
2011-06-06  5:24       ` Roland Winkler [this message]
2011-06-06  6:12         ` 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=19948.25740.271081.135518@gargle.gargle.HOWL \
    --to=winkler@gnu.org \
    --cc=8791@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).