Algorithm preferences issue with beta 4

wingman's Avatar

wingman

09 Jan, 2015 03:41 PM

Hi

Mac OS X: 10.10.1 (14B25)
MacGPG2: 2.0.26b2, 750b
GPG Keychain: 1.2b3, 980b
GPGServices: 1.10b2, 730b
GPGPreferences: 1.5b2, 730b
GPGMail: 2.5b4, 802b

Select your key and navigate to "Algorithm preferences.." and remove all of them but "none" . Then try to go to "Algorithm preferences" again.. you will be unable to select that option and the console throws the following errors

09/01/2015 15:34:46.291 GPG Keychain[8719]: An uncaught exception was raised
09/01/2015 15:34:46.292 GPG Keychain[8719]: *** -[NSTaggedPointerString rangeOfString:options:range:locale:]: Range {0, 18446744073709551615} out of bounds; string length 2
09/01/2015 15:34:46.304 GPG Keychain[8719]: (
0 CoreFoundation 0x00007fff9154764c exceptionPreprocess + 172 1 libobjc.A.dylib 0x00007fff8c8a06de objc_exception_throw + 43 2 CoreFoundation 0x00007fff915474fd +[NSException raise:format:] + 205 3 Foundation 0x00007fff85a601b1 -[NSString rangeOfString:options:range:locale:] + 198 4 Foundation 0x00007fff85a80aea -[NSString rangeOfString:options:range:] + 29 5 Libmacgpg 0x0000000100078812 -[GPGController algorithmPreferencesForKey:] + 705 6 GPG Keychain 0x0000000100015181 -[ActionController editAlgorithmPreferences:] + 189 7 libsystem_trace.dylib 0x00007fff8349acd7 os_activity_initiate + 75 8 AppKit 0x00007fff87838497 -[NSApplication sendAction:to:from:] + 410 9 AppKit 0x00007fff878525da -[NSMenuItem _corePerformAction] + 382 10 AppKit 0x00007fff878522f7 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114 11 libsystem_trace.dylib 0x00007fff8349acd7 _os_activity_initiate + 75 12 AppKit 0x00007fff8789fb96 -[NSMenu performActionForItemAtIndex:] + 131 13 AppKit 0x00007fff8789fb06 -[NSMenu _internalPerformActionForItemAtIndex:] + 35 14 AppKit 0x00007fff8789f952 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 107 15 AppKit 0x00007fff87847eeb NSSLMMenuEventHandler + 724 16 HIToolbox 0x00007fff8409632c _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1260 17 HIToolbox 0x00007fff8409576e _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 386 18 HIToolbox 0x00007fff840aa286 SendEventToEventTarget + 40 19 HIToolbox 0x00007fff840df795 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5PP14OpaqueEventRef + 428 20 HIToolbox 0x00007fff84112e8d SendMenuCommandWithContextAndModifiers + 59 21 HIToolbox 0x00007fff84112e34 SendMenuItemSelectedEvent + 188 22 HIToolbox 0x00007fff84112d06 ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2 + 96 23 HIToolbox 0x00007fff84242bc1 ZL19PopUpMenuSelectCoreP8MenuData5PointdS1tjPK4RecttjS4_S4_PK14CFDictionaryPK10__CFStringPP13OpaqueMenuRefPt + 1877 24 HIToolbox 0x00007fff84241d44 ZL26_HandlePopUpMenuSelection8P13OpaqueMenuRefP14OpaqueEventRefj5PointtjPK4RecttS6_S6_PK14_CFDictionaryPK10__CFStringPS0_Pt + 633 25 HIToolbox 0x00007fff84241edb _HandlePopUpMenuSelectionWithDictionary + 287 26 AppKit 0x00007fff8789e7ec _NSSLMPopUpCarbonMenu3 + 5567 27 AppKit 0x00007fff87a0073a -[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:withFont:] + 182 28 AppKit 0x00007fff87b7bc26 -[NSMenu _popUpContextMenu:withEvent:forView:withFont:] + 197 29 AppKit 0x00007fff87d7d7dc -[NSView rightMouseDown:] + 127 30 AppKit 0x00007fff87a5cf72 -[NSControl _rightMouseUpOrDown:] + 515 31 AppKit 0x00007fff87d92366 -[NSWindow _reallySendEvent:] + 5682 32 AppKit 0x00007fff8781e50c -[NSWindow sendEvent:] + 368 33 AppKit 0x00007fff877d0096 -[NSApplication sendEvent:] + 2238 34 AppKit 0x00007fff8765ce98 -[NSApplication run] + 711 35 AppKit 0x00007fff876482d4 NSApplicationMain + 1832 36 GPG Keychain 0x0000000100001e54 start + 52 )

  1. Support Staff 1 Posted by Steve on 26 Jan, 2015 11:40 PM

    Steve's Avatar

    Hi wingman,

    thanks for another useful report!

    While you should never do this, it's nonetheless a bug and I've created a ticket for the problem.

    We'll update as soon as we have news.

  2. Support Staff 2 Posted by Steve on 27 Jan, 2015 12:41 AM

    Steve's Avatar

    Hi wingman,

    this issue has been fixed. 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.

    Should the problem persist, please re-open this discussion. If you have other questions you can open a new one any time.

    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.

  3. Steve closed this discussion on 27 Jan, 2015 12:41 AM.

  4. wingman re-opened this discussion on 27 Jan, 2015 09:55 PM

  5. 3 Posted by wingman on 27 Jan, 2015 09:55 PM

    wingman's Avatar

    Hi Steve

    It seems that the new nightly build doesn't have the option anymore to change the algorithm preferences so can't check this via the GUI

    Thanks

  6. Support Staff 4 Posted by Steve on 28 Jan, 2015 01:43 PM

    Steve's Avatar

    Algorithm preferences are an expert setting now. To activate those: http://support.gpgtools.org/kb/gpg-keychain-faq/activate-gpg-keycha...

    Wingman already confirmed this fix via livachat. So closing. We have another ticket for remaining issues with algorithm preferneces.

  7. Steve closed this discussion on 28 Jan, 2015 01:43 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