[Tickets #10273] Re: IMP shows the "valid signature icon" on messages with invalid pgp signature while using non-english locale
bugs at horde.org
bugs at horde.org
Fri Jun 24 22:24:54 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10273
------------------------------------------------------------------------------
Ticket | 10273
Updated By | ezequiel at df.uba.ar
Summary | IMP shows the "valid signature icon" on messages with
| invalid pgp signature while using non-english locale
Queue | IMP
Version | 5.0.5
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
ezequiel at df.uba.ar (2011-06-24 22:24) wrote:
I see that the problem is string the comparison of the output of gpg.
Horde/IMP compares with the textual strings "BAD" and "Good" without
realizing it is calling /usr/bin/gpg with LC_ALL environment variable
set for the locale of the webmail user.
As a simple workaround I made a gpg-wrapper shell script which sets
LC_ALL="C" and then calls /usr/bin/gpg with arguments provided.
More information about the bugs
mailing list