GPG2 not found
-
benny
- State changed from new to accepted
I think it's possible already (I forgot the details, but it's a feature which currently does not work well, because it has no GUI), but it's not really important since currently you have to use the MacGPG2 version. MailMate relies on the GUI provided via their version of
gpg2. Otherwise MailMate cannot ask for any passwords needed to access keys.I can track this as a request for allowing alternative
gpg2installs. -
Johan Bergström
If people are using the cli tools (for instance from homebrew), wouldn't assuming gpg-agent also be a pretty good standpoint?
-
benny
@Johan: MailMate still has no GUI itself to ask for passwords. I'm pretty sure it'll only work with MacGPG2. I don't think the “homebrew” variant can handle that. It's not their fault though. Ideally, MailMate really should not rely on MacGPG2.
-
Johan Bergström
@benny: I recall most gpg2-tools using pinentry? Could mailmate spawn that as an alternate input method if using homebrew/similar binaries?
-
Christian
I can confirm that pinentry (i.e. the password prompt in GPGtools) works with gpg2 installed through homebrew. GPG Tools itself also works without installing MacGPG but with GPG2 installed through homebrew: https://gpgtools.tenderapp.com/discussions/problems/19119-gpgtools-....
It would indeed be nice if Mailmate could correctly handle interaction with gpg2 installed directly through homebrew. Assuming it's just a matter of trying /usr/local/bin/gpg instead of only /usr/local/MacGPG2/bin/gpg2.
-
Christian
In addition to "/usr/local/MacGPG2/bin/gpg2", this might be a good starting point for detecting another GPG library:
"gpg2", "/bin/gpg2", "/usr/bin/gpg2", "/usr/local/bin/gpg2", "gpg", "/bin/gpg", "/usr/bin/gpg", "/usr/local/bin/gpg". -
benny
@Christian: Thanks for the details. I'll note, again, to make alternative installs more easily accessible. (I would probably be hesitant with respect to automatically looking through a lot of locations though.)
-
benny
- State changed from accepted to fixcommitted
I realized GPGTools (now named GPG Suite),
gpg-suite-no-mail(brew package) andgpg(brew package) place a symlink at/usr/local/bin/gpg. I've changed this to be default in MailMate since this should make it work for most MailMate users and maybe even other alternatives.This is in the next update of MailMate. The documentation is also going to be updated.
(At the same time I've improved the debug output a bit to make it easier to debug issues when signing emails.)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.