I'm using GpgME 1.19.0.
Users say that in the new version of macOS, "/usr/local" is no longer writable.
So, Homebrew install GnuPG under "/opt/homebrew". You can see it under following.
% gpgconf gpg:OpenPGP:/opt/homebrew/Cellar/gnupg/2.3.8/bin/gpg gpgsm:S/MIME:/opt/homebrew/Cellar/gnupg/2.3.8/bin/gpgsm keyboxd:Public Keys:/opt/homebrew/Cellar/gnupg/2.3.8/libexec/keyboxd gpg-agent:Private Keys:/opt/homebrew/Cellar/gnupg/2.3.8/bin/gpg-agent scdaemon:Smartcards:/opt/homebrew/Cellar/gnupg/2.3.8/libexec/scdaemon dirmngr:Network:/opt/homebrew/Cellar/gnupg/2.3.8/bin/dirmngr pinentry:Passphrase Entry:/opt/homebrew/opt/pinentry/bin/pinentry % which gpgconf /opt/homebrew/bin/gpgconf
As I know from the source code, GpgME will not search for "gpgconf" under "/opt/homebrew/bin".
This behavior may lead to troubling and misunderstanding of "GnuPG not found" as it has already installed in macOS.
Since GpgME has already introduced many search paths, like "../../" or "../" for Gpg4win or other Software, adding a search path for Homebrew may be considerable.
Users will appreciate.
You can see the conversation about this issue HERE.
Thank you,