[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
Tue Jun 28 20:11:51 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              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             | Jan Schneider
------------------------------------------------------------------------------


ezequiel at df.uba.ar (2011-06-28 20:09) wrote:

> Does this fix it? I can't get my GPG to output translated error messages.

No. It seems the patch doesn't fix it.

I have set my wrapper to log LC_ALL, LC_MESSAGE and LANG environment  
variables before calling gpg.

Jun 28 17:04:14 xyz logger: gpg-wrapper: LC_ALL = es_ES.UTF-8
Jun 28 17:04:14 xyz logger: gpg-wrapper: LC_MESSAGE =
Jun 28 17:04:14 xyz logger: gpg-wrapper: LANG =

Here's the script:

#!/bin/bash
logger  "gpg-wrapper: LC_ALL = $LC_ALL"
logger  "gpg-wrapper: LC_MESSAGE = $LC_MESSAGE"
logger  "gpg-wrapper: LANG = $LANG"
LC_ALL="C"
/usr/bin/gpg "$@"
exit $?


Replacing LC_MESSAGE with LC_ALL in the patch doesn't work either.

Maybe php setlocale function is independent of environment variables  
passed to called executables.







More information about the bugs mailing list