
Libmacgpg exception triggered by accents in some occasions
Reported by Luke Le | November 6th, 2013 @ 11:35 PM
In some occasions it seems that decoding a gnupg status output with NSUTF8StringEncoding returns an empty string.
parseStatusLines in [line appendString:[[[NSString alloc] initWithData:currentData encoding:NSUTF8StringEncoding] autorelease]];
To work around, we should use a method which checks each encoding and falls back to ASCII.
This also seems to be a problem when using pinentry which shows an empty text field.
Comments and changes to this ticket
-
-
-
-
steve November 8th, 2013 @ 08:55 PM
- Importance changed from Low to Medium
-
Support November 14th, 2013 @ 05:58 PM
- State changed from new to fixed
- Assigned user set to Mento
(from [060f12dcd2207b4cfacf594406dfdb487de32f77]) [FIX] Use gpgString instead of initWithData: [#59 state:fixed assigned:mento]
This prevents bugs with special string encodings.
https://github.com/GPGTools/Libmacgpg/commit/060f12dcd2207b4cfacf59...
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 ยป