tag:gpgtools.tenderapp.com,2011-11-04:/discussions/problems/24177-how-to-have-gpg-agent-prompt-for-password-on-ttyGPGTools: Discussion 2015-02-12T12:23:41Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/337780752014-07-16T13:27:31Z2014-07-16T13:27:31ZHow to have gpg-agent prompt for password on tty<div><p>Hi xpt,</p>
<p>if you're using gnupg on Linux, please try the people at
gnupg.org<br>
On Mac you can set the following environment variable:</p>
<p>export PINENTRY_USER_DATA="USE_CURSES=1"</p>
<p>After that, you'll be presented with a curses interface on the
command line.</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/337780752014-08-28T15:06:53Z2014-08-28T15:06:55ZHow to have gpg-agent prompt for password on tty<div><p>I'm having problems with this too. I have the following in my
.bashrc:</p>
<p>export GPG_TTY=<code>tty</code><br>
export PINENTRY_USER_DATA="USE_CURSES=1"</p>
<p>It works fine as long as I am logged into the OS X GUI. I get a
curses password prompt in Terminal.app or via a remote SSH session.
However, if I'm not logged in (just connected via SSH),
pinentry-mac locks up before displaying anything and I have to ^C
out of it.</p>
<p>Does pinentry-mac require the WindowServer? Doesn't that kind of
defeat the purpose of USE_CURSES?</p></div>Mike Tecsontag:gpgtools.tenderapp.com,2011-11-04:Comment/337780752014-09-19T11:44:59Z2014-09-19T11:44:59ZHow to have gpg-agent prompt for password on tty<div><p>Hi Mike,</p>
<p>it's very much possible that pinentry-mac requires the
WindowServer. We've only added the USE_CURSES patch to have any
sort of workaround.<br>
You might want to try to install pinentry (command line version)
from homebrew for the time being.<br>
I'll create a ticket for this issue.</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/337780752014-09-19T11:46:40Z2014-09-19T11:46:40ZHow to have gpg-agent prompt for password on tty<div><p>Under the following ticket you can track progress:<br>
<a href=
"http://gpgtools.lighthouseapp.com/projects/66001/tickets/138">http://gpgtools.lighthouseapp.com/projects/66001/tickets/138</a></p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/337780752014-12-11T13:27:07Z2014-12-11T13:27:07ZHow to have gpg-agent prompt for password on tty<div><p>Can you guys tell me if it's possible to pass the passphrase
through using Windows command prompt? And prevent the pop-up for
the passphrase?</p></div>Joetag:gpgtools.tenderapp.com,2011-11-04:Comment/337780752015-01-26T22:24:48Z2015-01-26T22:26:01ZHow to have gpg-agent prompt for password on tty<div><p>HI xpt et all,</p>
<p>this should be fixed. Could you please download and install our
latest <a href="https://releases.gpgtools.org/nightlies/">nightly
build</a> and see if the problem persists. That page also has sig
and SHA1 to verify the download.</p>
<p>All the best, steve</p>
<p>Disclaimer: This is a development version which has not been
thoroughly tested yet - bugs or crashes are to be expected. Thanks
for helping us test.</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/337780752015-02-12T12:23:39Z2015-02-12T12:23:39ZHow to have gpg-agent prompt for password on tty<div><p>This fix is included in GPG Suite beta 5.</p></div>Steve