Excerpts from Bjarke Istrup Pedersen's message of Mon Jul 11 17:07:14 +0200 
2011:
> 2011/7/11 Jonathan Callen <[email protected]>:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA512
> >
> > Bjarke Istrup Pedersen wrote:
> >> I've tried that, it still does not work.
> >> Even if I just login as myself and do something like this:
> >>
> >> gurligebis@raven ~ $ echo "blah" > test
> >> gurligebis@raven ~ $ gpg -n --sign test
> >>
> >> <snip>
> >>
> >> I cannot figure out why gpg insists that I have cancelled anything,
> >> when it by itself fails silently.
> >> Any ideas? :)
> >>
> >
> > Are you doing this from within an X11 session? If so, is DISPLAY set
> > properly?  If not, does the output of `eselect pinentry show` indicate that
> > a non-X11 pinentry client is selected?
> >
> > - --
> > Jonathan Callen
> 
> Hey,
> 
> No, I was doing it inside a SSH session (using putty from another machine).
> It seems to have been fixed by adding my user to the tty group, though
> it doesn't seems to explain why.

Maybe you could retry after compiling pinentry with USE="-caps" (I
assume it's enabled). There is a bug in upstream pinentry &
capabilities. Other than that pinentry also has problems with proper
fallback mechanisms when DISPLAY is set but no X (gtk or qt) pinentry is
installed. If it's neither of those problems then I don't know...

-- 
Stanislav Ochotnicky

PGP: 7B087241
jabber: [email protected]

Attachment: signature.asc
Description: PGP signature

Reply via email to