Re: new gmime/gpg bug



Am 05.07.04 19:41 schrieb(en) Jeffrey Stedfast:
Unfortunately, I don't think I can "fix" GMime 2.2 to treat
multipart/signed content streams 100% opaquely without breaking
API/ABI :-\

That's a pity, but I would prefer a bullet-proof implementation with a new A(P|B)I!


header reformatting as much as I could for the Content-* headers... it
should help, but there's still no 100% guarentee.

Yes, I noticed that the double quotes problem (i.e. gmime removing it from Content-Type headers) is apparently gone? However, when comparing the data fed by 2.0.17 and by 2.1/gmime into GnuPG, I see e.g.


<snip-2.0.17>
Content-Type: multipart/mixed; boundary="fdj2RfSjLxBAspz7"
Content-Disposition: inline


--fdj2RfSjLxBAspz7 </snip-2.0.17>

and

<snip-2.1-gmime>
Content-Type: multipart/mixed; boundary="fdj2RfSjLxBAspz7"
Content-Disposition: inline

--fdj2RfSjLxBAspz7
</snip-2.1-gmime>

(notice a missing empty line) and later on in the same message

<snip-2.0.17>
Content-Type: application/x-gzip
Content-Disposition: attachment; filename="balsa-2.0-libmutt-patch.2004- 07-02.diff.gz"
Content-Transfer-Encoding: base64
</snip-2.0.17>


(plz ignore the break in the Disposition line above) which is still folded with gmime:

<snip-2.1-gmime>
--fdj2RfSjLxBAspz7
Content-Type: application/x-gzip
Content-Disposition: attachment;
       filename="balsa-2.0-libmutt-patch.2004-07-02.diff.gz"
Content-Transfer-Encoding: base64
<snip-2.1-gmime>

Maybe it's worth noting that in Balsa's "show message source" window, this header is *not* folded.

as far as the GMIME_DISABLE_DEPRECATED, I don't plan on removing them
[snip discussion about depracted in general and g_mime_part_get_content in particular]
gmime would have to re-encode the content.

IMHO, the new concept is clearly an improvement and makes understanding the code much easier. I already have a patch eliminating everything which is marked as depracted from the GnuPG/gpgme related stuff. I mentioned this function only because it is used quite frequently in balsa...


Cheers, Albrecht.


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


Attachment: signature.asc
Description: PGP signature



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