Diane Trout (alienghic) wrote,
Diane Trout


My that was unnecessarily complicated.

I decided I'd try Thunderbird instead of OS X Mail.app as its multiplatform, and it appeared to have better support for multiple email addresses delivered to the same IMAP server. Because I was dumb I decided to try Thunderbird 2.0a2, and though it did handle my multiple email addresses better. It didn't have a working encryption environment.

I installed enigmail, but it wasn't compatible, so I changed the install.rdf to allow the version of thunderbird I was using. The the password prompt didn't seem to work. So I thought I'd try to use gpg-agent and gpg 2.0.2, which I compiled.

When I tried that it I discovered I lacked a pinentry program, and whenever I tried to compile it I got an error about not having X windows--which is not unexpected on OS X.

However I did have a copy of gtk2 aqua native laying around, so I used ./configure --disable-pinentry-gtk --enable-pinentry-gtk2 --disable-pinentry-qt --enable-pinentry-curses</pre> to disable everything, and ripped out the guts of pinentry/pinentry.c:pinentry_have_display (which was checking for the presence of the DISPLAY variable.)

Once I'd done that it would prompt me for my passphrase, but enigmail just threw a java script error about blockSeparationObj (enigmail.js +2102).

So I commented out
  //if (blockSeparationObj.value.indexOf(" ") > 0) {
  //  exitCode = 2;

And then after adding user_pref("extensions.enigmail.usePGPMimeOption", 2); to my prefs.js file because the UI to default to PGP Mime was missing, I was able to send signed email.

As long as I launch, gpg-agent and thunderbird from the same shell.

I (or someone else ) really needs to do some work at integrating gpg-agent and pinentry into os x better.
Tags: enigmail, gnupg

  • Guild Wars 2

    I started playing Guild Wars 2, and am happy their questing system has broken with WoW's current quest design. As WoW grew they "simplified" and…

  • calendar.

    Its been a really long time since I tried to write. I keep meaning to roll my own blog software, but there's so many other things I should be doing.…

  • Building debian packages for mozilla's sync server

    I'm surprised this seems to have gotten valid debian packages with a minimum of fuss for a package where I couldn't find a recommended release…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment