Can't sign keys in "GPG Keychain Access"

garyp's Avatar

garyp

16 Nov, 2011 01:24 PM

Hi all, thanks for setting up the more user-friendly support forums, firstly!

Anyways, I'm currently running the binaries from the latest installer bundle (GPGTools-20111114.dmg) and GPG Keychain Access just updated itself today to 1.0b2. OS version is 10.7.2 but the behaviour has also been observer on Snow Leopard (10.6.8 specifically).

Problem: within GPG Keychain Access when right-clicking on a public key and selecting "Sign..." the operation fails silently. Previous versions would launch a shell window running the "gpg --sign-key " command and await user input.

The following output is observer in /var/log/system.log when this occurs:

Nov 16 13:07:48 windowlicker GPG Keychain Access[29750]: An uncaught exception was raised
Nov 16 13:07:48 windowlicker GPG Keychain Access[29750]: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
Nov 16 13:07:48 windowlicker GPG Keychain Access[29750]: (

    0   CoreFoundation                      0x00007fff8bd3d286 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff84924d5e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8bce6041 -[__NSPlaceholderArray initWithObjects:count:] + 113
        3   CoreFoundation                      0x00007fff8bd0c963 +[NSArray arrayWithObject:] + 51
    4   GPG Keychain Access                 0x000000010000b1c8 -[SheetController setSecretKey:] + 37
    5   GPG Keychain Access                 0x0000000100005ab9 -[ActionController addSignature:] + 330
    6   CoreFoundation                      0x00007fff8bd2ca1d -[NSObject performSelector:withObject:] + 61
    7   AppKit                              0x00007fff85a53710 -[NSApplication sendAction:to:from:] + 139
    8   AppKit                              0x00007fff85b40bd7 -[NSMenuItem _corePerformAction] + 399
    9   AppKit                              0x00007fff85b4090e -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125
    10  AppKit                              0x00007fff85ddd194 -[NSMenu _internalPerformActionForItemAtIndex:] + 38
    11  AppKit                              0x00007fff85c6ece5 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 138
    12  AppKit                              0x00007fff85aba51f NSSLMMenuEventHandler + 339
    13  HIToolbox                           0x00007fff84d28308 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1263
    14  HIToolbox                           0x00007fff84d27914 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 446
    15  HIToolbox                           0x00007fff84d3e6c7 SendEventToEventTarget + 76
    16  HIToolbox                           0x00007fff84d849f5 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 398
    17  HIToolbox                           0x00007fff84e6b645 SendMenuCommandWithContextAndModifiers + 56
    18  HIToolbox                           0x00007fff84eb1ef9 SendMenuItemSelectedEvent + 253
    19  HIToolbox                           0x00007fff84d7db07 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 101
    20  HIToolbox                           0x00007fff84eaa909 _ZL19PopUpMenuSelectCoreP8MenuData5PointdS1_tjPK4RecttjS4_S4_PK10__CFStringPP13OpaqueMenuRefPt + 1660
    21  HIToolbox                           0x00007fff84eaabc8 _HandlePopUpMenuSelection7 + 621
    22  AppKit                              0x00007fff85c719b1 _NSSLMPopUpCarbonMenu3 + 3860
    23  AppKit                              0x00007fff85c6f9b1 -[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:withFont:] + 190
    24  AppKit                              0x00007fff85ddcfcb -[NSMenu _popUpContextMenu:withEvent:forView:withFont:] + 193
    25  AppKit                              0x00007fff85fc3c9d -[NSView rightMouseDown:] + 129
    26  AppKit                              0x00007fff85cc022d -[NSControl _rightMouseUpOrDown:] + 459
    27  AppKit                              0x00007fff85a1c544 -[NSWindow sendEvent:] + 7430
    28  AppKit                              0x00007fff859b468f -[NSApplication sendEvent:] + 5593
    29  AppKit                              0x00007fff8594a682 -[NSApplication run] + 555
    30  AppKit                              0x00007fff85bc980c NSApplicationMain + 867
    31  GPG Keychain Access                 0x0000000100001c6c start + 52
)
  1. 1 Posted by Alex on 16 Nov, 2011 01:32 PM

    Alex's Avatar

    Thank you for your feedback. It's a known issue an Roman is working on it. I've attached the according ticket number to this discussion.

  2. 2 Posted by garyp on 16 Nov, 2011 01:37 PM

    garyp's Avatar

    Cheers Alex, I'll keep an eye on the ticket.

  3. 3 Posted by Alex on 16 Nov, 2011 02:39 PM

    Alex's Avatar

    Thanks. You'll receive an update notification within GPG Keychain Access when a new version is available.

  4. Alex closed this discussion on 16 Nov, 2011 02:39 PM.

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