Menu

Help with Enigmail and MacGPG2

twallis
2014-03-19
2014-03-19
  • twallis

    twallis - 2014-03-19

    Hello,

    I was running GnuPG 1 on OSX 10.9.2, installed via the instructions here (http://macgpg.sourceforge.net/docs/howto-build-gpg-osx.txt.asc), with Enigmail. This was working fine.

    Then I tried to install and use MacGPG2 (via the gpgtools.org suite). This installs fine and can see my keys. However I can't get it to work with Enigmail.

    First, Enigmail doesn't automatically recognise the location of MacGPG2 (fixed this by overriding the default location to point to the MacGPG2 gpg-agent binary). Enigmail now reports finding GnuPG.

    However, when I try to send an email I get an "encryption command failed" error. Checking the console shows:

    enigmail> /usr/local/MacGPG2/bin/gpg-agent --charset utf-8 --display-charset utf-8 --batch --no-tty --status-fd 2 --with-fingerprint --fixed-list-mode --with-colons --list-keys
    gpg-agent[483]: invalid option "--charset"

    Any suggestions how to fix this?

    Thanks

     
  • Patrick Brunschwig

    The gpg tool to use is not gpg-agent (which is only a helper tool), but gpg2 or gpg (i.e. /usr/local/MacGPG2/bin/gpg2).

     
  • twallis

    twallis - 2014-03-19

    Ah ha. That was silly of me. Thanks Patrick.

     

Log in to post a comment.