[MlMt] Look for gpg command in /opt/homebrew/bin

Giovanni Lanzani giovanni at lanzani.nl
Wed Aug 3 06:37:35 EDT 2022


Thanks,

I did search for gpg M1, but apparently it wasn't the right term :)

But when I do that, I get


Command	/opt/homebrew/bin/gpg --no-verbose --batch --no-tty --compliance 
"openpgp" --status-fd 2 --textmode --armor --local-user 
"<giovannilanzani at godatadriven.com>" --detach-sign
Output	[GNUPG:] KEY_CONSIDERED 77ED9FA059BCC4F6257775A79D3D91B3A1B5B10A 
2
[GNUPG:] BEGIN_SIGNING H10
[GNUPG:] PINENTRY_LAUNCHED 8944 curses 1.2.0 - - - - 502/20 0
gpg: signing failed: Inappropriate ioctl for device
[GNUPG:] FAILURE sign 83918950
gpg: signing failed: Inappropriate ioctl for device

Which is a bit strange, as the config files are the same (if I use the 
Intel-gpg / brew installation, everything's fine).

Do you know how I might fix it?


On 3 Aug 2022, at 11:00, Philip Paeps wrote:

> On 2022-08-03 16:02:33 (+0800), Giovanni Lanzani wrote:
>> Is there a way to tell Mailmate to look into `/opt/homebrew/bin` for 
>> gpg, instead of relying on `/usr/local/bin`?
>
> This worked for me:
>
> ```
> defaults write com.freron.MailMate environmentVariables -array '{ 
> enabled = :true;  name = "MM_GPG"; value = "/opt/homebrew/bin/gpg"; }'
> ```
>
> Found in the mailing list archives. :)
>
> Philip
>
> -- 
> Philip Paeps
> Senior Reality Engineer
> Alternative Enterprises
> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> https://lists.freron.com/listinfo/mailmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20220803/30e7fb07/attachment.htm>


More information about the mailmate mailing list