
GPGservices and system preferences crashes due to invalid value on "remember the passphrase for" settings
Reported by wingman | December 4th, 2014 @ 01:04 PM | in 1.5b2 (closed)
If you change the value of "remember the passphrase for:" to a really high number you can crash the app and system preference as well (attached crash log)
This issue can be seen on 10.10 but not on 10.9
Also GPGpreferences is not functional during that
Mac OS X: 10.10.1 (14B25)
MacGPG2: 2.0.26b2 (f9660cb), 701n
GPG Keychain: 1.2b2 (f1d4215), 960n
GPGServices: 1.10b1, 703b
GPGPreferences: 1.5b1, 704b
GPGMail: 2.5b3 (6933b9b+), 0n
Steps to replicate
1.Change the value to a high number ( for example: 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 )
- Select ok to the popup message notifying you that it's an
invalid value
3.system preferences and gpg crashed!
Comments and changes to this ticket
-
-
steve December 5th, 2014 @ 02:00 PM
- Importance changed from to Low
10.10 only
10.6, 10.7, 10.8, 10.9 are fine. An error message is shown. If "Ok" is clicked the user find himself in the time field again to try a new value. If tabs are switched, the previous value is used for the remember field. -
steve December 9th, 2014 @ 11:20 AM
- Title changed from GPGservices and system prefernces crashes due to invalid value on "remember the passphrase for" settings to GPGservices and system preferences crashes due to invalid value on "remember the passphrase for" settings
-
steve December 15th, 2014 @ 04:35 PM
- State changed from new to verified
- Assigned user set to Luke Le
- Milestone set to 1.5b1
Error message is now shown and if another field is clicked the old defaul value of "600" is entered and shown in light grey.
VERIFIED
-
steve December 30th, 2014 @ 03:47 PM
- Milestone changed from 1.5b1 to 1.5b2
-
-
Support June 16th, 2015 @ 09:24 AM
- State changed from released to fixed
(from [c1a91cf4251d1278e9fd47428172c03214f49656]) [FIX] Properly handle invalid values for passphrase cache time [#69 state:fixed]
- Previously, if any value was entered into the passphrase cache time text field that is not a number or a number which is bigger than NSInteger GPGPreferences wreaks havoc.
- Handle this case gracefully and simply display the default value again. https://github.com/GPGTools/GPGPreferences/commit/c1a91cf4251d1278e...
-
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 ยป