Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2014 07:44:17 -0600
From:      Mark Felder <feld@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: gnupg & pinentry
Message-ID:  <1419342257.1161578.206107753.2999EC08@webmail.messagingengine.com>
In-Reply-To: <20141222094630.GF52267@xtaz.uk>
References:  <CAJuc1zPtDsOQG2oAKoTVB%2BpVyox8h1mGZOW6CtMBw1GN7=vnOg@mail.gmail.com> <20141222094630.GF52267@xtaz.uk>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, Dec 22, 2014, at 03:46, Matt Smith wrote:
> On Dec 22 22:33, Jonathan Chen wrote:
> >Hi,
> >
> >Once upon a time, installing gnupg didn't require pinentry, and I
> >could run it quite happily on the command line. However, nowadays if I
> >install the port it drags in pinentry and a whole set of graphical
> >libraries that I don't really need on a headless box. Is pinentry
> >really required for gnupg to run correctly?
> >
> 
> I believe in version 2.1.x they made entering the passphrase via 
> pinentry basically mandatory and deprecated being able to do it via 
> stdin methods. So it probably pulls in pinentry by default now. For 
> binary packages this is unfortunatly going to default to all the front 
> ends which includes ones for X. For port based source installs you can 
> deselect the ones for X and only leave the ncurses one which then just 
> pulls in one extra dependancy. Unfortunately that's the downside of 
> binary package installs.
> 
> FYI, you can also re-enable passphrases by stdin if required by adding 
> allow-loopback-pinentry to .gnupg/gpg-agent.conf and using the 
> --pinentry-mode=loopback command line switch to gpg.
> 

It looks as though it would be feasible to write an extremely
lightweight pinentry-compatible program to depend on so we can kill the
dependency bloat and have a simple shell-based password entry option.

Anyone up for a weekend challenge? :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1419342257.1161578.206107753.2999EC08>