GPGTools/macgpgme — pull request #1 by fingolfin (2012-05-23 15:53:52+00:00)
Title: If user specified GPG engine is invalid then use default instead

Sometimes on Mac OS X 10.6 (perhaps also on other OS X versions), the GPG Mail plugin becomes unusuable, as it insists on using a crypto engine that is not actually present. This happens when some user defaults point to a now-gone gpg executable. Since there is no UI for the user to modify this setting, the user is stuck, unless they figure out which preference key/value pair to edit, and where to find it. More on this here: http://support.gpgtools.org/discussions/everything/1130-invalid-crypto-engine-in-20120318-gpgtools

This pull requests attempts to mitigate the issue, by simply validating the user preferences; if the set crypto engine is invalid, ignore it, and attempt as usual to locate a working crypto engine.