Algorithm Preferences dialog does not show - An uncaught exception was raised
GPG Keychain 1.2b6 (1057b)
I set the expert settings with:
defaults write org.gpgtools.gpgkeychain showExpertSettings -bool
yes
The Algorithm Preferences menu item is in the main menu, but nothing happens, when I click on it.
I checked the Console and these are the errors I can see:
2015-03-23 20:27:14.323 GPG Keychain[13059]: An uncaught exception was raised
2015-03-23 20:27:14.324 GPG Keychain[13059]: algorithmPreferencesForKey: failed!
Code = 0
2015-03-23 20:27:14.325 GPG Keychain[13059]: (
0 CoreFoundation 0x00007fff8361425c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff844bee75 objc_exception_throw + 43
2 Libmacgpg 0x0000000100078d1b -[GPGController setAlgorithmPreferences:forUserID:ofKey:] + 0
3 GPG Keychain 0x0000000100014bef -[ActionController editAlgorithmPreferences:] + 189
4 AppKit 0x00007fff810fa260 -[NSApplication sendAction:to:from:] + 327
5 AppKit 0x00007fff811151c8 -[NSMenuItem _corePerformAction] + 394
6 AppKit 0x00007fff81114f04 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 117
7 AppKit 0x00007fff8116440d -[NSMenu _internalPerformActionForItemAtIndex:] + 35
8 AppKit 0x00007fff81164289 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 104
9 AppKit 0x00007fff8110aff6 NSSLMMenuEventHandler + 716
10 HIToolbox 0x00007fff87c901d4 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 892
11 HIToolbox 0x00007fff87c8f787 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 385
12 HIToolbox 0x00007fff87ca3880 SendEventToEventTarget + 40
13 HIToolbox 0x00007fff87cd9640 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 420
14 HIToolbox 0x00007fff87d0c228 SendMenuCommandWithContextAndModifiers + 59
15 HIToolbox 0x00007fff87d0c1d0 SendMenuItemSelectedEvent + 178
16 HIToolbox 0x00007fff87d0c0af _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 94
17 HIToolbox 0x00007fff87d14085 _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 718
18 HIToolbox 0x00007fff87d13cb1 _HandleMenuSelection2 + 446
19 AppKit 0x00007fff8107d62c _NSHandleCarbonMenuEvent + 284
20 AppKit 0x00007fff80edc52e _DPSNextEvent + 2170
21 AppKit 0x00007fff80edb89b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
22 AppKit 0x00007fff80ecf99c -[NSApplication run] + 553
23 AppKit 0x00007fff80eba783 NSApplicationMain + 940
24 GPG Keychain 0x00000001000014a4 start + 52
)
2015-03-23 20:27:54.994 Gitter[448]: SUBSCRIBED TO CHANNEL /api/v1/ping ON FAYE
2015-03-23 20:27:55.038 Gitter[448]: UNSUBSCRIBED FROM CHANNEL /api/v1/ping ON FAYE
What did you expect instead
I expect the Algorithms Preferences dialog to show up.
Describe steps leading to the problem.
- defaults write org.gpgtools.gpgkeychain showExpertSettings
-bool yes
- select key
- click Alogithm Preferences
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Steve on 25 Mar, 2015 08:01 PM
Hi Helmut,
thanks for reporting this. I tried to reproduce but couldn't so far.
Could you
See if things have improved.
All the best,
steve
2 Posted by Helmut K. C. Te... on 26 Mar, 2015 12:52 AM
Hey Steve,
I've done as you suggested, but it didn't help. Still the same issue. I suspect it might have to do with a problem in Libmacgpg. Either it wasn't updated and I'm still using an old version that isn't compatible with the current apps. According to the stack trace the exception is raised in Libmacgpg.
Any ideas how I can make sure that the correct Libmacgpg is installed?
Cheers,
Helmut
Support Staff 3 Posted by Luke Le on 26 Mar, 2015 03:19 PM
Hi Helmut,
this exception might be related to a specific key. Is there any chance you could find out which key is affected and let us know? Does it work with other keys?
4 Posted by Helmut K. C. Te... on 26 Mar, 2015 04:49 PM
Hey Luke,
Yes, I have tested it with at least 25 different keys, since I also suspected it might be a problem with a certain key. Unfortunately this is not the case
Support Staff 5 Posted by Luke Le on 26 Mar, 2015 06:14 PM
Oh man, sorry for that trouble.
I have an idea what might be the problem however.
Could you add the "allow-weak-digest-algos" option to your gpg.conf file and try again?
It might be related to a change in the most recent gnupg
6 Posted by Helmut K. C. Te... on 26 Mar, 2015 06:28 PM
Hi Luke,
Yes, this worked. But I don't want to allow weak algorithms in my gpg.conf.
Furthermore I also don't need this option when I use --edit-key on the command line, so this must be some GPG Keychain or Libmacgpg problem, or am I totally wrong here?
Support Staff 7 Posted by Steve on 27 Mar, 2015 03:21 PM
This is a new behavior which surfaced with the MacGPG2 2.0.27 update. We are still investigating what's going on.
We have a ticket for this problem. I connected this discussion with the existing ticket. That means, should this discussion get closed, it will be re-opened as soon as the ticket is closed. That way you'll receive a notification. Feel free to open a new discussions should you run into further problems or need assistance.
8 Posted by Helmut K. C. Te... on 27 Mar, 2015 03:55 PM
Hey Steve. Thanks for the info. Just out of curiosity: what has to be fixed? Libmacgpg, GPG Keychain, both? Do you have a rough ETA for the fix?
Support Staff 9 Posted by Steve on 31 Mar, 2015 12:14 PM
Hi Helmut,
as usual we do not give ETAs.
This issue has been fixed in Libmacgpg. If you want to test the fix, please download our latest nightly GPG Suite. That page also has sig and SHA1 to verify the download.
if you still have
allow-weak-digest-algos
in your gpg.conf, please remove it.Best, steve
Disclaimer: This is a development version which has not been thoroughly tested yet, so bugs or crashes are to be expected. Thanks for helping us test this fix.
10 Posted by Helmut K. C. Te... on 31 Mar, 2015 04:35 PM
There's a problem with the download site.
https://releases.gpgtools.org/nightlies/GPG%20Suite-1298n.dmg
Not Found
The requested URL /nightlies/GPG Suite-1298n.dmg was not found on this server.
11 Posted by Helmut K. C. Te... on 31 Mar, 2015 04:37 PM
Ah, the download site alternates after page reload between version 1298 and 1299. Weird, maybe load balancer issues?
12 Posted by Helmut K. C. Te... on 31 Mar, 2015 04:41 PM
Nope, just tried version 1299n and I have the same problem. Any chance Libmacgpg wasn't updated by the installer?
Support Staff 13 Posted by Luke Le on 31 Mar, 2015 04:45 PM
Hi,
could you please post the output of the following command:
defaults read /Library/Frameworks/Libmacgpg.framework/Versions/Current/Resources/Info.plist CFBundleVersion
14 Posted by Helmut K. C. Te... on 31 Mar, 2015 04:47 PM
Sure, here it is: 688n
15 Posted by Helmut K. C. Te... on 07 Apr, 2015 05:28 PM
Any news on this? I still have the same problem. The new Libmacgpg is 690n (as of today).
I also receive another exception just by clicking on the
User IDs
tab in the details view:16 Posted by Mento on 10 Apr, 2015 06:13 PM
The bug, when clicking on User IDs, is already fixed.
Support Staff 17 Posted by Steve on 10 Apr, 2015 06:52 PM
There was a glitch with nightly builds not showing up as expected. That is now fixed, so please retry with the latest GPG Suite (1313n - as of now).
18 Posted by Helmut K. C. Te... on 10 Apr, 2015 07:18 PM
@mento ah, interesting. I compiled a version 2 days ago. I'll try again. thx.
@steve I'll try 1313n this weekend. Thank you.
19 Posted by Helmut K. C. Te... on 15 Apr, 2015 03:41 PM
Sorry that it took that long to reply. I compiled a new version yesterday and the issue seems to be resolved. Thank you.
Mento closed this discussion on 30 Apr, 2015 12:25 PM.