Re: [Enigmail] Password dialogue always in English

2018-10-30 Thread Daniel Kahn Gillmor
On Mon 2018-10-29 22:53:44 -0400, Jean-David Beyer wrote:
> On 10/29/2018 11:54 AM, Daniel Kahn Gillmor wrote:
>> So the question is: how far back must it go?  What would the changes
>> look like if we were to write a new enigmail that depended explicitly on
>> GnuPG >= 2.2.10?
>
> It would all quit for my
>
> Red Hat Enterprise Linux Server release 6.10 (Santiago)
> gnupg2-2.0.14-9.el6_10.x86_64
>
> System which is up-to-date as of this weekend. Red Hat support their
> releases for 10 years from original release, and backport security
> fixes, but tend do do no feature changes or "improvements."

GnuPG 2.0.14 was released over 8 years ago.  the entire 2.0.x series reached
end-of-life nearly a year ago.

So maybe RHEL should be the ones responsible for maintaining this
backward-compatibility layer in enigmail then, and Patrick can focus on
making things more usable for people running a modern version of the
underlying tools?

I'm just pointing out that the software developers involved here all
have limited time, and when we ask them to prioritize taking care of
ancient dependencies, we're implicitly asking them to *deprioritize*
other development efforts.

   --dkg


signature.asc
Description: PGP signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Password dialogue always in English

2018-10-29 Thread Jean-David Beyer
On 10/29/2018 11:54 AM, Daniel Kahn Gillmor wrote:
> So the question is: how far back must it go?  What would the changes
> look like if we were to write a new enigmail that depended explicitly on
> GnuPG >= 2.2.10?

It would all quit for my

Red Hat Enterprise Linux Server release 6.10 (Santiago)
gnupg2-2.0.14-9.el6_10.x86_64

System which is up-to-date as of this weekend. Red Hat support their
releases for 10 years from original release, and backport security
fixes, but tend do do no feature changes or "improvements."


-- 
  .~.  Jean-David Beyer  Registered Linux User 85642.
  /V\  PGP-Key:166D840A 0C610C8B Registered Machine  1935521.
 /( )\ Shrewsbury, New Jerseyhttp://linuxcounter.net
 ^^-^^ 22:50:02 up 20 days, 6:33, 2 users, load average: 4.44, 4.68, 4.98

___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Password dialogue always in English

2018-10-29 Thread Daniel Kahn Gillmor
On Mon 2018-10-29 14:50:57 +0100, Werner Koch wrote:
> On Sat, 27 Oct 2018 17:42, patr...@enigmail.net said:
>
>> but when I find older versions. You obviously can't fix this by creating
>> a new release ;-). Things like "missing MDC" messages for CAST5.
>
> I see.  I general I think it is better to force the use of a current
> versions and not to support old versions.  OTOH, I know that it is a
> problem on Unix where the dtsribution might still run a (patched) old
> versions and you can't easily detect whether that one is up to date.

at some point, though, it really is useful to require a minimum version.
Enigmail can't be expected to ship an indefinite "portability layer" for
all past versions of GnuPG forever.

So the question is: how far back must it go?  What would the changes
look like if we were to write a new enigmail that depended explicitly on
GnuPG >= 2.2.10?

I've done some of that work for debian stable, where several bugfixes
and minor features will be backported to the heavily-patched version of
2.1.18 that ships there, in order to support modern enigmail.

having a functional test suite in enigmail really helps this process,
fwiw, because you can run it against different versions of GnuPG and see
what breaks.

 --dkg


signature.asc
Description: PGP signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Password dialogue always in English

2018-10-29 Thread Werner Koch
On Sat, 27 Oct 2018 17:42, patr...@enigmail.net said:

> but when I find older versions. You obviously can't fix this by creating
> a new release ;-). Things like "missing MDC" messages for CAST5.

I see.  I general I think it is better to force the use of a current
versions and not to support old versions.  OTOH, I know that it is a
problem on Unix where the dtsribution might still run a (patched) old
versions and you can't easily detect whether that one is up to date.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


pgpGQVHfc9e1O.pgp
Description: PGP signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Password dialogue always in English

2018-10-27 Thread Patrick Brunschwig
On 27.10.18 11:25, Werner Koch wrote:
> On Sat, 27 Oct 2018 11:07, patr...@enigmail.net said:
> 
>> it (Enigmail needs to interpret some human-readable messages that GnuPG
>> does not issue correctly in the API).
> 
> Please let me know which messages these are.  Using the human interface
> for programs is strongly discouraged because the strings, its order or
> presence may change with any new minor release of GnuPG.

I'm not using any human readable text in the latest release of GnuPG,
but when I find older versions. You obviously can't fix this by creating
a new release ;-). Things like "missing MDC" messages for CAST5.

-Patrick



signature.asc
Description: OpenPGP digital signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Password dialogue always in English

2018-10-27 Thread Werner Koch
On Sat, 27 Oct 2018 11:07, patr...@enigmail.net said:

> it (Enigmail needs to interpret some human-readable messages that GnuPG
> does not issue correctly in the API).

Please let me know which messages these are.  Using the human interface
for programs is strongly discouraged because the strings, its order or
presence may change with any new minor release of GnuPG.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


pgpoCMFJnqgk2.pgp
Description: PGP signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Password dialogue always in English

2018-10-27 Thread Patrick Brunschwig
On 27.10.18 10:32, n...@gmx.li wrote:
> Hello list,
> when decrypt an mail, the password dialogue are always in English when
> it called by enigmail. But decrypt an file from the console, then the
> dialogue is shown in the system language. In both scenarios gpg2 shows
> the password question. But why don't respect it the system language when
> it called via enigmail?
> 
> Environment:
> OS: Fedora 28
> Thunderbird: 60.2.1
> Enigmail: 2.0.8
> GPG2: 2.2.8
> 
> 
> Thanks for any ideas.

I believe this is because Enigmail sets LC_ALL=C and LANG=C for calling
GnuPG, such that all output is in a format that Enigmail can interpret
it (Enigmail needs to interpret some human-readable messages that GnuPG
does not issue correctly in the API).

The only way I see how you could fix this is by writing a wrapper for
pinentry like below and configure gpg-agent to use that wrapper:


#!/bin/bash

export LC_ALL=xx_YY
export LANG=xx_YY

exec /path/to/pinentry "$@"


-Patrick



signature.asc
Description: OpenPGP digital signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net