tag:gpgtools.tenderapp.com,2011-11-04:/discussions/beta/647-algorithm-preferences-issue-with-beta-4GPGTools: Discussion 2015-01-28T13:43:02Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/357377272015-01-09T15:41:28Z2015-01-26T23:11:41ZAlgorithm preferences issue with beta 4<div><p>Hi</p>
<p>Mac OS X: 10.10.1 (14B25)<br>
MacGPG2: 2.0.26b2, 750b<br>
GPG Keychain: 1.2b3, 980b<br>
GPGServices: 1.10b2, 730b<br>
GPGPreferences: 1.5b2, 730b<br>
GPGMail: 2.5b4, 802b</p>
<p>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</p>
<p>09/01/2015 15:34:46.291 GPG Keychain[8719]: An uncaught
exception was raised<br>
09/01/2015 15:34:46.292 GPG Keychain[8719]: ***
-[NSTaggedPointerString rangeOfString:options:range:locale:]: Range
{0, 18446744073709551615} out of bounds; string length 2<br>
09/01/2015 15:34:46.304 GPG Keychain[8719]: (<br>
0 CoreFoundation 0x00007fff9154764c <strong>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
<em>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
_ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5</em>PP14OpaqueEventRef
+ 428 20 HIToolbox 0x00007fff84112e8d
SendMenuCommandWithContextAndModifiers + 59 21 HIToolbox
0x00007fff84112e34 SendMenuItemSelectedEvent + 188 22 HIToolbox
0x00007fff84112d06
<em>ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2</em> +
96 23 HIToolbox 0x00007fff84242bc1
<em>ZL19PopUpMenuSelectCoreP8MenuData5PointdS1</em>tjPK4RecttjS4_S4_PK14</strong>CFDictionaryPK10__CFStringPP13OpaqueMenuRefPt
+ 1877 24 HIToolbox 0x00007fff84241d44
<em>ZL26_HandlePopUpMenuSelection8P13OpaqueMenuRefP14OpaqueEventRefj5PointtjPK4RecttS6_S6_PK14</em>_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 )</p></div>wingmantag:gpgtools.tenderapp.com,2011-11-04:Comment/357377272015-01-26T23:40:02Z2015-01-26T23:40:02ZAlgorithm preferences issue with beta 4<div><p>Hi wingman,</p>
<p>thanks for another useful report!</p>
<p>While you should never do this, it's nonetheless a bug and I've
created a ticket for the problem.</p>
<p>We'll update as soon as we have news.</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/357377272015-01-27T00:41:01Z2015-01-27T00:41:01ZAlgorithm preferences issue with beta 4<div><p>Hi wingman,</p>
<p>this issue has been fixed. If you want to test the fix, please
download our <a href=
"https://releases.gpgtools.org/nightlies/">latest nightly GPG
Suite</a>. That page also has sig and SHA1 to verify the
download.</p>
<p>Should the problem persist, please re-open this discussion. If
you have other questions you can open a new one any time.</p>
<p>Best, steve</p>
<p>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.</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/357377272015-01-27T21:55:31Z2015-01-27T21:55:31ZAlgorithm preferences issue with beta 4<div><p>Hi Steve</p>
<p>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</p>
<p>Thanks</p></div>wingmantag:gpgtools.tenderapp.com,2011-11-04:Comment/357377272015-01-28T13:43:01Z2015-01-28T13:43:01ZAlgorithm preferences issue with beta 4<div><p>Algorithm preferences are an expert setting now. To activate
those: <a href=
"http://support.gpgtools.org/kb/gpg-keychain-faq/activate-gpg-keychain-expert-settings">
http://support.gpgtools.org/kb/gpg-keychain-faq/activate-gpg-keycha...</a></p>
<p>Wingman already confirmed this fix via livachat. So closing. We
have another ticket for remaining issues with algorithm
preferneces.</p></div>Steve