all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <thorn@fastmail.fm>
To: Daiki Ueno <ueno@unixuser.org>
Cc: 10011@debbugs.gnu.org
Subject: bug#10011: 24.0.91; Password prompt on linux console reads only every second key
Date: Fri, 11 Nov 2011 10:47:29 +0100	[thread overview]
Message-ID: <871utfc7ny.fsf@tsdh.uni-koblenz.de> (raw)
In-Reply-To: <m34nybv4xf.fsf-ueno@unixuser.org> (Daiki Ueno's message of "Fri,  11 Nov 2011 10:11:40 +0900")

Daiki Ueno <ueno@unixuser.org> writes:

Hi!

>> When I fire up emacs in a plain linux console and try to find an
>> encrypted file like C-x C-f ~/.authinfo.gpg RET, I get a password
>> prompt like
>>
>>   +----------------| Password:
>>
>> at the bottom of the screen.
>
> Do you mean you started up emacs without X?  If so...

Yes, exactly.  On a linux terminal without X.

>> I get a different, dialog-like password prompt:
>>
>>    +---------------------------+
>>    | Password:                 |
>>    | _________________________ |
>>    | <Ok>            <Cancel>  |
>>    +---------------------------+
>
> ...looks like a pinentry-curses dialog.  Actually the integration of
> pinentry-curses with Emacs is not yet ready:
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8791#8
> I was a bit surprised that the dialog is somehow working :)

But why do I get different password prompts depending of I use

  $ emacs ~/.authinfo.gpg

or

  $ emacs
    C-x C-f ~/.authinfo.gpg

> Anyway, workarounds are to use gpg1 without gpg-agent, or to preset
> your passphrase with gpg-preset-passphrase.

I use GnuPG 2.0.18, but that doesn't have gpg-preset-passphrase (at
least not as command).  Is that version 2.1-only (in that version's
online docs it is listed)?

Bye,
Tassilo





  reply	other threads:[~2011-11-11  9:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-10  9:45 bug#10011: 24.0.91; Password prompt on linux console reads only every second key Tassilo Horn
2011-11-11  1:11 ` Daiki Ueno
2011-11-11  9:47   ` Tassilo Horn [this message]
2011-11-13  0:02     ` Daiki Ueno
2011-11-15 10:09       ` Tassilo Horn

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=871utfc7ny.fsf@tsdh.uni-koblenz.de \
    --to=thorn@fastmail.fm \
    --cc=10011@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 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.