<<< Date Index >>>     <<< Thread Index >>>

Re: Gnupg2 vs gnupg



On Wed, Sep 03, 2008 at 10:03:46PM +0200, Stefan Wimmer wrote:
> * felix@xxxxxxxxxxx <felix@xxxxxxxxxxx> [2008-09-03 21:47]:
> > On gentoo at least, gnupg2 gets real pissy when there is no X
> > environment.  I don't use it all that much, but memory says that
> > clearing DISPLAY and trying numerous other tricks to force a command
> > line passphrase input didn't work, that it always popped up a display
> > window to prompt for it.  I don't remember now what happened when
> > there was no display, only that I was frustrated and never did get it
> > to work without a display, or maybe that I could not force it to not
> > use the display if it could find one.
> 
> Hmm - last year I would have confirmed your description of the situation of 
> gnupg2 on Gentoo but I gave it another try this summer and it was very easy 
> to 
> get it working with the ncurses interface :)
> 
> Just set
> 
>   GPG_TTY=`tty`
> 
> in your SHELL environment and use
> 
>   pinentry-program /usr/bin/pinentry-curses
> 
> in your ~/.gnupg/gpg-agent.conf

That did it.  Ncurses is better than X, but I'd still rather a plain
terminal version -- print it and read the response without echo.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@xxxxxxxxxxx
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o