<!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">+1 for GPG Suite by GPGTools, works like a charm with MailMate. Do use Homebrew to install it. With the cask <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">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 #777777; color: #777777;">
<p dir="auto">Hi Oliver, FWIW I get my 'gpg' utility and related tools from <a href="https://gpgtools.org" style="color: #777777;">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; background-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; max-width: 90vw;"><code style="margin: 0 0; border-radius: 3px; background-color: #F7F7F7; padding: 0px;">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 #777777; border-left-color: #999999; color: #999999;">
<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 #777777; border-left-color: #BBBBBB; color: #BBBBBB;">
<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" style="color: #BBBBBB;">2025-01-20-001473@2x.png</a>" ]</p>
<p dir="auto">[ "<a href="mailto:2025-01-20-001474@2x.png" style="color: #BBBBBB;">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 #777777; border-left-color: #BBBBBB; color: #BBBBBB;">
<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 style="border: 0; height: 1px; background: #333; background-image: linear-gradient(to right, #ccc, #333, #ccc);">
<p dir="auto">mailmate mailing list<br>
Unsubscribe: <a href="https://lists.freron.com/listinfo/mailmate" style="color: #BBBBBB;">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" style="color: #BBBBBB;">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" style="color: #999999;">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" style="color: #777777;">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote>

</div>
</div>
</body>

</html>