Re: [Enigmail] [BUG] Character encoding mix-up when encrypting Inline.

2016-03-07 Thread Lachezar Dobrev
  I am not convinced.
  The issue at hand is that Enigmail _should_ switch to a proper encoding
*before* performing the encryption, similar to what Thunderbird does (it
offers to switch to a MBCS (UTF-8 being common choice) if it detects a
character that it can not encode in the pre-selected encoding.
  As an alternative Enigmail _could_ provide an option to override the
encoding for encrypted in-line messages so that it does not interfere with
the rest of Thunderbird's encoding detection. Something similar to 'Always
use UTF-8 for In-Line encrypted messages'.
  I am not trying to force a solution, since this may be a niche problem
(for anyone that is not US/GB, and receives a message in a 1-byte
incompatible encoding). But if Enigmail injects itself in such a way, that
Thunderbird's functionality is short-circuited shouldn't Enigmail provide
with a proper alternative?
  I'm raising this issue, because I often get messages from my colleagues
that are forwarded or replied messages from clients/partners and these
messages are commonly broken. I'm trying to convince them to use MIME, but
there are a few alternative e-mail agents that lack support for PGP/MIME
(K9 + APG, but the info may be outdated).

2016-03-06 23:22 GMT+02:00 Daniel Kahn Gillmor :

> On Wed 2016-03-02 04:27:28 -0500, Lachezar Dobrev wrote:
> >   My outgoing e-mail is set to send in UTF-8.
> >   The 'use default encoding' option has a common negative effect: there
> are
> > numerous encodings that support Cyrillic, and not all mail agents (quite
> a
> > few web-mail agents) support MBCS properly, hence the use of the original
> > encoding that the mail was received with is very useful, and when trying
> to
> > send a mail with content that does not match the encoding Thunderbird
> will
> > ask to switch to an Unicode character encoding. The last part is somewhat
> > hampered when using Enigmail, it seems that the character encoding
> > detection happens after Engimail has performed the encryption.
> >
> >   My preferred solution to this issue (and other) is to send mail in MIME
> > format, but I can not force that on other people.
>
> While you can't force it on other people, you can elect to do it
> yourself.  If you're sending or receiving text that uses anything other
> than 7-bit clean US ASCII characters, character encodings and
> inline-PGP-encryption are going to be an unresolvable issue. :(
>
> PGP/MIME works because it explicitly embeds the character encoding of
> the cleartext inside the protected MIME part, so it cannot get out of
> sync the way that inline PGP does.
>
>   --dkg
>
___
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] [BUG] Character encoding mix-up when encrypting Inline.

2016-03-06 Thread Daniel Kahn Gillmor
On Wed 2016-03-02 04:27:28 -0500, Lachezar Dobrev wrote:
>   My outgoing e-mail is set to send in UTF-8.
>   The 'use default encoding' option has a common negative effect: there are
> numerous encodings that support Cyrillic, and not all mail agents (quite a
> few web-mail agents) support MBCS properly, hence the use of the original
> encoding that the mail was received with is very useful, and when trying to
> send a mail with content that does not match the encoding Thunderbird will
> ask to switch to an Unicode character encoding. The last part is somewhat
> hampered when using Enigmail, it seems that the character encoding
> detection happens after Engimail has performed the encryption.
>
>   My preferred solution to this issue (and other) is to send mail in MIME
> format, but I can not force that on other people.

While you can't force it on other people, you can elect to do it
yourself.  If you're sending or receiving text that uses anything other
than 7-bit clean US ASCII characters, character encodings and
inline-PGP-encryption are going to be an unresolvable issue. :(

PGP/MIME works because it explicitly embeds the character encoding of
the cleartext inside the protected MIME part, so it cannot get out of
sync the way that inline PGP does.

  --dkg

___
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] [BUG] Character encoding mix-up when encrypting Inline.

2016-03-02 Thread Lachezar Dobrev
  Ubuntu  15.10 (Xubuntu variant)

  Thunderbird 38.5.1
  Enigmail1.9 (20160223-1641)

  gpg (GnuPG) 2.0.28
  libgcrypt   1.6.3

  Enigmail is installed from addons.mozilla.org, not the OS package.


2016-03-01 19:35 GMT+02:00 Ludwig Hügelschäfer :

> Hi,
>
> On 01.03.16 16:20, Lachezar Dobrev wrote:
> >   When replying of forwarding a message that is in a Latin/ASCII
> > compatible character set and typing text that is not Latin?ASCII sub-set
> > the newly added text is lost.
> >
> >   Example:
> >   - Incoming mail in Windows-1252 encoding
> >   - Reply/Forward to mail with Cyrillic content
> >   - Send encrypted using Inline
> >   
> >   - The encrypted content is Latin (Base64), Thunderbird does not change
> > or warn about the encoding failure.
> >   - The mail is irreversibly broken, including the copy in Sent mail.
> >
> >   This problem (seems to) does not occur with MIME multi-part messages.
> > The encoded multi-part has UTF-8 encoding (and quoted-printable).
>
> which Enigmail version do you have installed on which OS?
>
> Ludwig
>
>
>
> ___
> 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
>
>
___
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] [BUG] Character encoding mix-up when encrypting Inline.

2016-03-01 Thread Patrick Brunschwig
On 01.03.16 16:20, Lachezar Dobrev wrote:
>   When replying of forwarding a message that is in a Latin/ASCII
> compatible character set and typing text that is not Latin?ASCII sub-set
> the newly added text is lost.
> 
>   Example:
>   - Incoming mail in Windows-1252 encoding
>   - Reply/Forward to mail with Cyrillic content
>   - Send encrypted using Inline
>   
>   - The encrypted content is Latin (Base64), Thunderbird does not change
> or warn about the encoding failure.
>   - The mail is irreversibly broken, including the copy in Sent mail.
> 
>   This problem (seems to) does not occur with MIME multi-part messages.
> The encoded multi-part has UTF-8 encoding (and quoted-printable).

I would recommend to enable the Thunderbird option "When possible, use
the default text encoding in replies" (in Preferences > Display >
Advanced), and to set the default to UTF-8 for outgoing mail.

-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] [BUG] Character encoding mix-up when encrypting Inline.

2016-03-01 Thread Ludwig Hügelschäfer
Hi,

On 01.03.16 16:20, Lachezar Dobrev wrote:
>   When replying of forwarding a message that is in a Latin/ASCII
> compatible character set and typing text that is not Latin?ASCII sub-set
> the newly added text is lost.
> 
>   Example:
>   - Incoming mail in Windows-1252 encoding
>   - Reply/Forward to mail with Cyrillic content
>   - Send encrypted using Inline
>   
>   - The encrypted content is Latin (Base64), Thunderbird does not change
> or warn about the encoding failure.
>   - The mail is irreversibly broken, including the copy in Sent mail.
> 
>   This problem (seems to) does not occur with MIME multi-part messages.
> The encoded multi-part has UTF-8 encoding (and quoted-printable).

which Enigmail version do you have installed on which OS?

Ludwig




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