tag:gpgtools.tenderapp.com,2011-11-04:/discussions/problems/53182-cannot-store-gpg-passphrase-in-macos-keychainGPGTools: Discussion 2018-02-16T11:00:42Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/427551442017-06-12T19:38:12Z2017-06-12T19:38:12ZGPGPreferences: pinentry can't store GPG passphrase in macOS Keychain <div><p>Hi Ian,</p>
<p>welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.</p>
<p>Could you please download and install our latest <a href="https://releases.gpgtools.org/nightlies/">GPG Suite nightly build</a> and see if the problem persists. That page also has sig and SHA256 to verify the download.</p>
<p>All the best,<br>
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/427551442017-06-12T19:58:23Z2017-06-12T19:58:23ZGPGPreferences: pinentry can't store GPG passphrase in macOS Keychain <div><p>Hi Steve,</p>
<p>I tried again with the nightly build, and the problem persists. I tried deleting/clearing the cache in GPGPreferences, then disabling and re-enabling the "Store in OS X Keychain" option, but it is still not appearing in the macOS Keychain. Anything else I should try?</p></div>Ian Valentinetag:gpgtools.tenderapp.com,2011-11-04:Comment/427551442017-06-21T15:31:53Z2017-06-21T15:31:53ZGPGPreferences: pinentry can't store GPG passphrase in macOS Keychain <div><p>Should you be available, could you hop on our live chat here:<br>
<a href="https://www.hipchat.com/gyyOrLdWt">https://www.hipchat.com/gyyOrLdWt</a></p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/427551442017-06-21T17:53:08Z2017-06-21T17:53:08ZGPGPreferences: pinentry can't store GPG passphrase in macOS Keychain <div><p>This question is best asked at the <a href="https://gnupg.org/documentation/mailing-lists.html">gnupg users mailling list</a>.</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/427551442017-06-21T18:53:40Z2017-06-21T18:53:40ZGPGPreferences: pinentry can't store GPG passphrase in macOS Keychain <div><p>Ian, have you ever self-compiled gpg?</p>
<p>Could you please send a debug log from your affected machine: Open System Preferences > GPGPreferences / GPG Suite > Send Report. Check the box to "attach debug log". Since you already described your issue in this discussion, you don't need to add a lot of detail, but please do add the link to your existing discussion, so I can then merge your debug info with this existing discussion.</p>
<p>All the best,<br>
steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/427551442017-06-26T13:56:51Z2017-06-26T13:56:51ZGPGPreferences: pinentry can't store GPG passphrase in macOS Keychain <div><p>Thanks for the debug log. Have you ever self-compiled gpg?</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/427551442017-06-26T13:57:05Z2017-06-26T13:57:06ZGPGPreferences: pinentry can't store GPG passphrase in macOS Keychain <div><p>Hi Steve,</p>
<p>Pardon the delayed reply!</p>
<p>I have never self-compiled GPG.</p>
<p>I just sent a debug log — if there is anything else you need, just let me<br>
know. Thanks!</p>
<p>Best,<br>
Ian</p></div>Ian Valentinetag:gpgtools.tenderapp.com,2011-11-04:Comment/427551442017-06-26T14:32:12Z2017-06-26T14:32:13ZGPGPreferences: pinentry can't store GPG passphrase in macOS Keychain <div><p>No, I have never self-compiled GPG.</p></div>Ian Valentinetag:gpgtools.tenderapp.com,2011-11-04:Comment/427551442017-07-06T08:38:43Z2017-07-06T08:48:42ZGPGPreferences: pinentry can't store GPG passphrase in macOS Keychain <div><p>Hi Ian,</p>
<p>are you asked for your password, when you sign a file using <a href="https://gpgtools.tenderapp.com/kb/gpgservices-faq/how-to-encrypt-and-sign-text-or-files-with-gpgservices#1-encrypt-files">GPGServices</a>?<br>
Does this command ask for your password?<br></p>
<pre>
<code>gpg -sa <<<o</code>
</pre>
Please attach a screenshot from pinentry-mac, when you make a commit and are then asked for your password.
<p>Regards, Mento</p></div>Mentotag:gpgtools.tenderapp.com,2011-11-04:Comment/427551442017-08-18T11:09:06Z2017-08-18T11:09:06ZGPGPreferences: pinentry can't store GPG passphrase in macOS Keychain <div><p>Where you able to get around to test the command posted by mento?</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/427551442017-08-18T11:32:21Z2017-08-18T11:32:21ZGPGPreferences: pinentry can't store GPG passphrase in macOS Keychain <div><p>Hi Ian,</p>
<p>it looks like you have a very old version of gnupg (v1.4.20) installed via homebrew and I believe when using gpg via terminal (or using git), that gpg will be picked up.<br>
In order to fix this, please uninstall gpg with the following command:</p>
<pre>
<code>brew uninstall gpg</code>
</pre>
<p>If that's not possible, you could also remove the symlink /usr/local/bin/gpg and make a new one pointing to /usr/local/MacGPG2/bin/gpg:</p>
<pre>
<code>rm /usr/local/bin/gpg
ln -s /usr/local/MacGPG2/bin/gpg /usr/local/bin/gpg</code>
</pre>
<p>After that, you're passphrase should be properly saved, the next time you're asked for it.</p>
<p>Hope that helps.</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/427551442018-02-16T11:00:37Z2018-02-16T11:00:37ZGPGPreferences: pinentry can't store GPG passphrase in macOS Keychain <div><p>Closing, since no further user feedback was received. Should your problem persist, feel free to re-open this discussion any time.</p>
<p>All the best, steve</p></div>Steve