GPG Keychain Access crashes immediately after startup if the gpg is not
located at /usr/local/bin/gpg. I had it installed at /opt/local/bin/gpg.
As soon as I created a symbolic link, everything works fine. The crash log
indicates the error is in:
Exception: EXC_BREAKPOINT (0x0006) in Thread 1
Thread 1 Crashed:
0 com.apple.Foundation 0x92901620 _NSRaiseError + 264
1 GPGME 0x18003c3c -[GPGKeyEnumerator
initForContext:searchPattern:secretKeysOnly:] + 304
2 GPGME 0x1800362c -[GPGContext
(GPGKeyManagement) keyEnumeratorForSearchPattern:secretKeysOnly:] +
116
3 ...rceforge.macgpg.GPGKeychain 0x0000fc64 -[PKOutlineDataSource
keyListWithSearchPattern:secretKeysOnly:] + 88 (PKOutlineDataSource.m:
143)
4 ...rceforge.macgpg.GPGKeychain 0x0000ffa0 -[PKOutlineDataSource
doRefreshThread:] + 204 (PKOutlineDataSource.m:198)
5 com.apple.Foundation 0x928e66d4 forkThreadForFunction
+ 108
6 libSystem.B.dylib 0x9002b200 _pthread_body + 96
Not really enough information to determine that gpg is missing. I
recommend making a short check during start, and if gpg is not in the
expected location, give a warning before quitting.
Logged In: YES
user_id=301306
GPG Keychain Access doesn't use the latest MacGPGME framework version (1.1),
and thus expects gpg to be located in /usr/local/bin/. Once it will use
MacGPGME 1.1 framework, users will be able to use a different location for gpg.
As you mention it, GPG Keychain Access should check for gpg presence at
startup, and warn user when it can't find it. (I'm not the maintainer)