
Agent should not crash if there is no gpg-agent.conf file
Reported by Support | March 20th, 2012 @ 12:00 PM | in 2.0.18 (closed)
Assigned to Tender discussion #1116. As reported in Tender:
I've been using GPGMail version 2.0a30 for a while now without an issue. I have OS X 10.7.3. Today I logged into OS X and opened Mail, and none of my encrypted emails could be read. The PGP ciphertext is displayed in the message window, and the area above the message header displays the error "MESSAGE_BANNER_PGP_DECRYPT_GENERAL_ERROR_TITLE". When I click "Show Details" I get the message "MESSAGE_BANNER_PGP_DECRYPT_GENERAL_ERROR_MESSAGE" ... I wish that was more helpful.
I tried clicking "Fix" under "GPGMail" under "GPGTools" in System Preferences, but it didn't fix my situation. For the record, GPG continues to work fine in Thunderbird.
The contents of Console:
3/19/12 1:31:30.521 PM Mail: Using V2 Layout
3/19/12 1:31:30.590 PM [0x0-0xd58d58].com.apple.mail: objc[89711]: Class FlippedView is implemented in both /Applications/Mail.app/Contents/MacOS/Mail and /Users/mmyers/Library/Mail/Bundles/GPGMail.mailbundle/Contents/MacOS/GPGMail. One of the two will be used. Which one is undefined.
3/19/12 1:31:30.591 PM Mail: Logging Level: 1
3/19/12 1:31:30.594 PM Mail: GPG_PATH: /usr/local/MacGPG2/bin/gpg2
3/19/12 1:31:30.596 PM Mail: Can't load config (/Users/mmyers/.gnupg/gpg-agent.conf): Error Domain=NSCocoaErrorDomain Code=260 "The file “gpg-agent.conf” couldn’t be opened because there is no such file." UserInfo=0x7ffd1b546ac0 {NSFilePath=/Users/mmyers/.gnupg/gpg-agent.conf, NSUnderlyingError=0x7ffd1b5469d0 "The operation couldn’t be completed. No such file or directory"}
3/19/12 1:31:30.596 PM Mail: Can't load config (/Users/mmyers/.gnupg/gpg-agent.conf): Error Domain=NSCocoaErrorDomain Code=260 "The file “gpg-agent.conf” couldn’t be opened because there is no such file." UserInfo=0x7ffd1b549b30 {NSFilePath=/Users/mmyers/.gnupg/gpg-agent.conf, NSUnderlyingError=0x7ffd1b549740 "The operation couldn’t be completed. No such file or directory"}
3/19/12 1:31:30.597 PM Mail: Can't load config (/Users/mmyers/.gnupg/gpg-agent.conf): Error Domain=NSCocoaErrorDomain Code=260 "The file “gpg-agent.conf” couldn’t be opened because there is no such file." UserInfo=0x7ffd1d93ce80 {NSFilePath=/Users/mmyers/.gnupg/gpg-agent.conf, NSUnderlyingError=0x7ffd1d93caa0 "The operation couldn’t be completed. No such file or directory"}
3/19/12 1:31:30.601 PM Mail: GPG_PATH: /usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac
3/19/12 1:31:30.601 PM Mail: sizeof(partCountForStatusCode) 84
3/19/12 1:31:30.648 PM Mail: * GPGMail: Enabled - Account for signing found.
3/19/12 1:31:30.654 PM Mail: Loaded GPGMail 2.0a30
3/19/12 1:31:31.285 PM Mail: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
3/19/12 1:31:32.123 PM Mail: NSExceptionHandler has recorded the following exception:
GPGException -- Decrypt failed!
Stack trace: 0x10fa67c69 0x7fff8b806d5e 0x111507cee 0x1114bac48 0x1114bbba2 0x1114b9b60 0x7fff8d5bd640 0x1114b96ff 0x7fff8d5bd1c2 0x7fff8d5bcff7 0x7fff8d5bcf35 0x7fff8d5bca0a 0x10d47384a 0x10d473732 0x10d4732c8 0x7fff8f9ccb05 0x7fff8d5b514a 0x7fff8f9936d8 0x7fff8f9a6936 0x7fff920a58ba 0x7fff920a6799 0x7fff912e63da 0x7fff912e7b85
3/19/12 1:31:32.200 PM ReportCrash: Saved crash report for pinentry-mac[89718] version ??? (???) to /Library/Logs/DiagnosticReports/pinentry-mac_2012-03-19-133132_localhost.crashI'm attaching the crash report to this message.
Is this problem related to GPG-Agent?
Comments and changes to this ticket
-
Luke Le March 20th, 2012 @ 02:43 PM
It's not crashing because there is no gpg-agent.conf
The important info is in the crash log:Application Specific Information:
objc[89718]: garbage collection is OFF
abort() called
_RegisterApplication(), unable to get application ASN from coreservicesd, and this application requires an ASN, so aborting. error=#-1. -
Alex (via GPGTools) March 23rd, 2012 @ 12:01 AM
- State changed from new to open
-
Luke Le August 27th, 2012 @ 12:17 AM
- State changed from open to invalid
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป