tag:gpgtools.tenderapp.com,2011-11-04:/discussions/nightly/1700-gpg-mail-gpg-signing-failed-inappropriate-ioctl-for-deviceGPGTools: Discussion 2019-09-21T10:52:23Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/469148342019-02-04T19:11:28Z2019-02-04T19:11:45ZGPG Mail: gpg: signing failed: Inappropriate ioctl for device<div><p>Hi Taylor,</p>
<p>welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.</p>
<p>It seems you installed a custom gpg version with fink/macports/brew/homebrew/from source? Could you remove it, repeat the steps and see if you are still running into the error message.</p>
<p>Best,<br>
Steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/469148342019-02-04T20:12:30Z2019-02-04T20:12:31ZGPG Mail: gpg: signing failed: Inappropriate ioctl for device<div>Steve,
<div><br></div>
<div>I do use and rely on the cli version installed via homebrew. Why can GPGSuite not play nice with pre-installed gpg binaries?</div>
<div><br></div>
<div>I'm not willing to sacrifice the version installed by brew, as homebrew's gpg seems to be updated much more regularly, and there are components that I use from the cli that do/did not seem to be installed or managed by GPGSuite. I also use and rely on keychain ( <a href="http://email.taylorbanks.com/url/fb820639-a6f8-4527-a0e2-dbacaa03d317">https://www.funtoo.org/Keychain</a> ), which never seemed to work properly with GPGSuite's gpg-agent (based on past experience).</div>
<div><br></div>
<div>Is there a way to have both? Please advise.</div>
<div><br></div>
<div>Best,</div>
<div>Taylor</div>
</div>
<br>
<div class="gmail_quote">
<div class="gmail_attr">On Mon, Feb 4, 2019 at 12:11 PM Steve <tender2+d1f0d0e50f@tenderapp.com> wrote:<br></div>
<blockquote class="gmail_quote">// Please reply above this line<br>
==================================================<br>
From: Steve (Support staff)<br>
Subject: GPG Mail: gpg: signing failed: Inappropriate ioctl for device<br>
<br>
Hi ,<br>
<br>
welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.<br>
<br>
It seems you installed a custom gpg version with fink/macports/brew/homebrew/from source? Could you remove it, repeat the steps and see if you are still running into the error message.<br>
<br>
Best,<br>
Steve<br>
<br>
<br>
<br>
View this discussion at our support site online: <a href="https://gpgtools.tenderapp.com/discussions/nightly/1700-gpg-mail-gpg-signing-failed-inappropriate-ioctl-for-device">https://gpgtools.tenderapp.com/discussions/nightly/1700-gpg-mail-gpg-signing-failed-inappropriate-ioctl-for-device</a><br>
<br>
<br>
--<br>
<a href="https://gpgtools.org">https://gpgtools.org</a><br>
<a href="https://twitter.com/gpgtools">https://twitter.com/gpgtools</a><br>
<br>
---<br>
<br>
Reply with #ignore to stop receiving notifications for this discussion.<br></blockquote>
</div>
<div class="docsify-attachments"></div>
<img src="http://email.taylorbanks.com/pixel//message/open/1707-2d3722d4-05ac-4d5a-9c8b-9731cf936971.png" width="1px" height="1px" alt="">Taylor Bankstag:gpgtools.tenderapp.com,2011-11-04:Comment/469148342019-02-05T16:19:19Z2019-02-05T16:19:19ZGPG Mail: gpg: signing failed: Inappropriate ioctl for device<div><p>Hi Taylor,</p>
<p>it is possible to have both but since GnuPG itself starts some of the services it needs on demand, it might use one service from one version and the other from another version.<br>
What you can try is to move your gpg in /usr/local/bin/gpg and symlink our gpg there instead, so basically:</p>
<pre>
<code> sudo mv /usr/local/bin/gpg /usr/local/bin/gpg-homebrew
sudo ln -s /usr/local/MacGPG2/bin/gpg /usr/local/bin/gpg</code>
</pre>
<p>That way it should be possible to use both version of gpg at the same time.</p></div>Luke Le