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.
--
Matt
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"