<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="markdown" style="white-space: normal;">
<p dir="auto">Hi,</p>
<p dir="auto">Interesting points made by everybody — I just looked at my setup and I found that I actually have (and use both). That is, the GPG Suite (which is very useful on occasion for its key management tool, if nothing else) and the command line tools from Homebrew. This gives me <code style="padding: 0 0.25em; background-color: #E4E4E4;">/usr/local/bin/gpg</code>, which links to the GPG Suite executable, while <code style="padding: 0 0.25em; background-color: #E4E4E4;">which gpg</code> on the command line goes to <code style="padding: 0 0.25em; background-color: #E4E4E4;">/opt/homebrew/bin/gpg</code>.</p>
<p dir="auto">They both work hand in hand happily — for instance I just used the command line tools the other day to change expiry on a key because the visual tool was having trouble with it for some reason, and the command line changes were reflected by the UI immediately.</p>
<p dir="auto">I’m not sure that I ever exactly did this on purpose, but it’s certainly something that works, and illustrates the fact that the choice of gpg version to use is not a very exact science (I guess unless you have need of a very specific feature that only one of them has).</p>
<p dir="auto">All this said, I just noticed that when I haven’t used a key in a while and MailMate wants to require <code style="padding: 0 0.25em; background-color: #E4E4E4;">pinentry</code>, this does actually not work correctly on my system right now because my pin entry is not set up to use a UI frontend. Must check that out!</p>
<p dir="auto">Cheers<br>
Oli</p>
<p dir="auto">On 22 Jan 2025, at 7:53, Stephan Kleiber wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #136BCE; color: #136BCE;">
<p dir="auto">+1 for GPG Suite by GPGTools, works like a charm with MailMate. Do use Homebrew to install it. With the cask <code style="padding: 0 0.25em; background-color: #E4E4E4;">gpg-suite-no-mail</code>, you get the free version without the Apple Mail plugin (which I suppose you don’t need since you have MailMate).</p>
<p dir="auto">On 21 Jan 2025, at 23:07, Eric Sharakan via mailmate wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #136BCE; border-left-color: #4B89CF; color: #4B89CF;">
<p dir="auto">Hi Oliver, FWIW I get my 'gpg' utility and related tools from <a href="https://gpgtools.org">https://gpgtools.org</a>, rather than Homebrew. It all just works with MailMate, no need for symlinks or other workarounds.</p>
<p dir="auto">This is what it reports about itself:</p>
<pre style="margin-left: 15px; margin-right: 15px; padding: 5px; border: thin solid gray; overflow-x: auto; max-width: 90vw; background-color: #E4E4E4;"><code style="padding: 0 0.25em; background-color: #E4E4E4;">esharaka% where gpg
/usr/local/bin/gpg
/usr/local/MacGPG2/bin/gpg
esharaka% gpg --version
gpg (GnuPG/MacGPG2) 2.2.41
libgcrypt 1.8.10
Copyright (C) 2022 g10 Code GmbH
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: /Users/esharaka/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
</code></pre>
<p dir="auto">-Eric</p>
<p dir="auto">On 21 Jan 2025, at 16:52, Ben Hyde wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #136BCE; border-left-color: #4B89CF; color: #4B89CF;">
<p dir="auto">Oliver, thanks for looking at my problem. More details follow. That said I sense the answer to my question is “Nope there isn’t…”</p>
<p dir="auto">I get emails from many vintage correspondents who sign all their emails. That triggers MailMate to complain it can’t find the /usr/local/bin/gpg. That opens pops top off a barrel of monkeys and a flash back to having solved this in past lives.</p>
<p dir="auto">So things come to mind…</p>
<ol>
<li>“Gpg” eh? What about “gpg2” … my memory is that last time I did this I used gpg2.</li>
<li>“/usr/local/bin” eh? I thought the brew folks moved to /opt/homebrew/bin on Apple Silicon.</li>
<li>I seem to remember solving this, at last once, with a symbolic link to where I found gpg installed, but that was a longtime ago.</li>
<li>I did happen upon a posting in this mailing list, maybe a year (or two) old that mentions setting an environment variable to help guide Mailmate to this exceubable.</li>
</ol>
<p dir="auto">4a. Of course mailMate runs as a child/spawn, of launchd. Luck me I already know how to set environment variable in launchd for this kind of thing.<br>
4b. Then I found an email that mentioned using “defaults set” to inject this info into mailmate<br>
defaults write com.freron.MailMate environmentVariables -array '{enabled = :true; name = "MM_GPG"; value = "/opt/homebrew/bin/gpg"; }'<br>
5. I don’t see info. About this in recent mailing list content.</p>
<p dir="auto">So at point I seemed reasonably to ask if this was written down someplace.</p>
<p dir="auto">If not, I’ll just kick it until something works :)</p>
<ul>
<li>ben</li>
</ul>
<p dir="auto">On 20 Jan 2025, at 3:03, Oliver Sturm via mailmate wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #136BCE; border-left-color: #4B89CF; color: #4B89CF;">
<p dir="auto">I hadn’t actually tried it since I started using MailMate, since PGP doesn’t come along too often for me these days. So I was curious, I tried it and it works correctly. This is an M4 Mac, so unless you’re referring to a problem specific to the M2 I wonder what it is?</p>
<p dir="auto">Screenshots:</p>
<p dir="auto">[ "<a href="mailto:2025-01-20-001473@2x.png">2025-01-20-001473@2x.png</a>" ]</p>
<p dir="auto">[ "<a href="mailto:2025-01-20-001474@2x.png">2025-01-20-001474@2x.png</a>" ]</p>
<p dir="auto">On 19 Jan 2025, at 19:38, Ben Hyde wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #136BCE; border-left-color: #4B89CF; color: #4B89CF;">
<p dir="auto">I’m moving over to a new M2 Mac. So PGP encryption stopped working.</p>
<p dir="auto">I see plenty of discussion about this the archives of this esteemed mailing list.</p>
<p dir="auto">Is this documented some place? - ben</p>
<hr>
<p dir="auto">mailmate mailing list<br>
Unsubscribe: <a href="https://lists.freron.com/listinfo/mailmate">https://lists.freron.com/listinfo/mailmate</a>_______________________________________________</p>
</blockquote>
<p dir="auto">mailmate mailing list<br>
Unsubscribe: <a href="https://lists.freron.com/listinfo/mailmate">https://lists.freron.com/listinfo/mailmate</a>_______________________________________________</p>
</blockquote>
<p dir="auto">mailmate mailing list<br>
Unsubscribe: <a href="https://lists.freron.com/listinfo/mailmate">https://lists.freron.com/listinfo/mailmate</a>_______________________________________________</p>
</blockquote>
<p dir="auto">mailmate mailing list<br>
Unsubscribe: <a href="https://lists.freron.com/listinfo/mailmate">https://lists.freron.com/listinfo/mailmate</a>_______________________________________________</p>
</blockquote>
<p dir="auto">mailmate mailing list<br>
Unsubscribe: <a href="https://lists.freron.com/listinfo/mailmate">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote>
</div>
</div>
</body>
</html>