tag:gpgtools.tenderapp.com,2011-11-04:/discussions/beta/1056-pinentry-requiring-passphrase-every-couple-of-hoursGPGTools: Discussion 2016-02-08T16:24:22Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/374865052015-08-06T13:06:51Z2015-08-06T13:06:51Zpinentry requiring passphrase every couple of hours<div><p>HI Geordon,</p>
<p>to resolve this, 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>Once we are sure you are on the latest GPG Suite nightly build,
open GPGPreferences and press the "Delete stored passphrases"
button. Next set the caching time to store your passphrase to a
very low value.</p>
<p>Open Mail and select some encrypted mail or try to write a
signed mail. In both cases you should only be asked once for your
passphrase and "store in keychain" should be enabled in the
pinentry dialog. After that your passphrase should be grabbed from
the OS X keychain.</p>
<p>Please let me know if that worked.</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/374865052015-08-06T16:23:07Z2015-08-06T16:56:10Zpinentry requiring passphrase every couple of hours<div><p>I downloaded the latest nightly, checked sig (which was good),
installed it, and rebooted for good measure.</p>
<p>Went into GPGPreferences, deleted stored keys and changed the
cache time to 5 seconds and made sure that "Store in OS X keychain"
was selected.</p>
<p>Opened Mail.app, selected an encrypted mail, got prompted by
pinentry for passphrase. There was no option to "store in keychain"
in the pinentry dialog.</p>
<p>Waited a minute to let the cache expire, then selected a
different encrypted email. Was prompted again for passphrase.</p>
<p>I have included screen grabs of my GPG versions and the pinentry
dialog box.</p>
<p>Thanks!</p></div>gvantasstag:gpgtools.tenderapp.com,2011-11-04:Comment/374865052015-08-06T16:49:39Z2015-08-06T16:49:39Zpinentry requiring passphrase every couple of hours<div><p>Hey Geordon,</p>
<p>thanks for the screenshots and the update. The pinentry you are
using does not work with the MacGPG2 you have on your machine.</p>
<ol>
<li>open a new finder window<br></li>
<li>press ⇧⌘G and paste '~/.gnupg/gpg-agent.conf'
without the '</li>
</ol>
<p>In the gpg-agent.conf file, pinentry-program should be
/usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac
.</p>
<p>If that is not the case, please copy that part and paste it into
this discussion.</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/374865052015-08-06T16:51:43Z2015-08-06T16:56:10Zpinentry requiring passphrase every couple of hours<div><p>
/Library/Frameworks/Libmacgpg.framework/Versions/A/Resources/pinentry-mac.app/</p>
<p>Looks like my pinentry app is wrong.</p></div>gvantasstag:gpgtools.tenderapp.com,2011-11-04:Comment/374865052015-08-06T17:28:01Z2015-08-06T17:28:01Zpinentry requiring passphrase every couple of hours<div><p>Thanks a lot for the info. We are looking into it and will
update as soon as we have news.</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/374865052015-08-06T17:29:13Z2015-08-06T17:29:13Zpinentry requiring passphrase every couple of hours<div><p>Thank you, sir! I look forward to hearing an update.</p></div>gvantasstag:gpgtools.tenderapp.com,2011-11-04:Comment/374865052015-08-07T14:10:21Z2015-08-07T14:10:21Zpinentry requiring passphrase every couple of hours<div><p>The fix is now in our nightly builds: <a href="https://releases.gpgtools.org/nightlies/">https://releases.gpgtools.org/nightlies/</a><br>
Please test it and let me know if it worked.</p>
<p>Regards, Mento</p></div>Mentotag:gpgtools.tenderapp.com,2011-11-04:Comment/374865052015-08-07T15:47:37Z2015-08-07T15:47:38Zpinentry requiring passphrase every couple of hours<div><p>Thanks, Mento. that looks to have corrected the issue. The
"Store in keychain" option is present and, when checked, does not
require re-entry of the passphrase to access the key.</p>
<p>We're all good with this one, now!</p></div>gvantasstag:gpgtools.tenderapp.com,2011-11-04:Comment/374865052015-08-07T18:00:00Z2015-08-07T18:00:00Zpinentry requiring passphrase every couple of hours<div><p>Great. Thanks for helping us test. The fix will be included in
the next stable release.</p>
<p>I'm closing this discussion. If you need further assistance or
have questions you can re-open this discussion here or open a new
one any time.</p>
<p>Best, steve</p></div>Steve