[GnuPG: new patch] use encoding fallback for OpenPGP encrypted messages



Hi all,

I created a new patch, extending balsa's gpg support for OpenPGP encrypted 
messages.

It fixes a problem which occurs e.g. when pine/pgp4pine sends an encrypted 
message with 8-bit characters. pine calculates the charset needed only 
after encryption, which (as gpg adds an ascii armor) is always US-ASCII, 
leading to "?" chars when balsa decrypts the message and converts it to 
utf-8. This is not a bug (in the sense of violating any rfc), but 
obviously not what the sender intended... With the patch, the 8-bit 
fallback methods introduced a short while ago (see libbalsa-utf8_sanitize) 
are applied to such messages.

The patch is available from my (restructured ;-)) web page

http://home.arcor.de/dralbrecht.dress/balsa/balsa2-gpg.html

or directly from

http://home.arcor.de/dralbrecht.dress/balsa/balsa-rfc3156-patch-2003-04-
22.bz2

I decided to merge my pending gpg patches (passphrase cache, identity and 
toolbar extension; the pending RFC 2298 fix is *not* included!) into this 
file to simplify attaching it to a current cvs tree. Please tell me if you 
think that the old solution is better.

As always, any comment is welcome!

Cheers, Albrecht.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
        Phone (+49) 228 6199571  -  mailto:albrecht.dress@arcor.de
_________________________________________________________________________

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]