<<< Date Index >>>     <<< Thread Index >>>

GNATS attachments?



Werner, Christoph,

is there any chance to convince GNATS to send decent MIME attachment
instead of the strange stuff below?

Thanks,
-- 
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.





----- Forwarded message from ttakah@xxxxxxxxxxxxxxxxx -----

From: ttakah@xxxxxxxxxxxxxxxxx
To: cb@xxxxxxxx
Cc: 
Date: Wed, 27 Jul 2005 14:20:00 +0200
Subject: mutt/2004: S/MIME UI is different between GPGME and Classic (pending)
Reply-To: ttakah@xxxxxxxxxxxxxxxxx
X-Spam-Level: 

>Number:         2004
>Notify-List:    
>Category:       mutt
>Synopsis:       S/MIME UI is different between GPGME and Classic
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 27 14:20:00 +0200 2005
>Originator:     Tamo
>Release:        1.5.9
>Organization:
Momonga Project (http://www.momonga-linux.org/)
>Environment:
Any OS with GPGME.
>Description:
smime.c was changed after discussion on mutt-dev,
But crypt-gpgme.c has not followed to it.

1.
  switch (mutt_multi_choice (_("S/MIME (e)ncrypt, (s)ign, encrypt (w)ith, sign 
(a)s, (b)oth, or (c)lear? "),
                             _("eswabfc")))
2.
  case 1: /* (e)ncrypt */
    msg->security |= ENCRYPT;
    msg->security &= ~SIGN;
3.
  case 2: /* (s)ign */
 ....
      msg->security |= SIGN;
      msg->security &= ~ENCRYPT;
4.
  case 4: /* sign (a)s */
 ....
  #if 0
    else
      msg->security &= ~SIGN;
  #endif
5.
  case 6: /* (f)orget it */
  case 7: /* (c)lear */

These changes are well-discussed. Please apply to crypt-gpgme.c as well.


My POTFILE patch was to fix this problem.
But I attach another patch
because my POTFILE patch is partially applied to the CVS.

>How-To-Repeat:
Build mutt with GPGME.
Invoke the S/MIME menu.

>Fix:
Sync with smime.c.
>Add-To-Audit-Trail:

>Unformatted:
 ----gnatsweb-attachment----
 Content-Type: application/octet-stream; name="patch-1.5.9.tamo.gpgme-ui.1"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="patch-1.5.9.tamo.gpgme-ui.1"
 
 PyBwYXRjaC0xLjUuOS50YW1vLlBPVEZJTEUuNApJbmRleDogY3J5cHQtZ3BnbWUuYwo9PT09PT09
 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
 PT09ClJDUyBmaWxlOiAvaG9tZS9yb2Vzc2xlci9jdnMvbXV0dC9jcnlwdC1ncGdtZS5jLHYKcmV0
 cmlldmluZyByZXZpc2lvbiAzLjMKZGlmZiAtcCAtdSAtcjMuMyBjcnlwdC1ncGdtZS5jCi0tLSBj
 cnlwdC1ncGdtZS5jCTI2IEp1bCAyMDA1IDE4OjQ1OjAxIC0wMDAwCTMuMworKysgY3J5cHQtZ3Bn
 bWUuYwkyNyBKdWwgMjAwNSAxMTowODowMSAtMDAwMApAQCAtNDEyMSwyMSArNDE2NywyMyBAQCBz
 dGF0aWMgaW50IGdwZ21lX3NlbmRfbWVudSAoSEVBREVSICptc2csCiAKICAgaWYgKGlzX3NtaW1l
 KQogICAgIGNob2ljZSA9IG11dHRfbXVsdGlfY2hvaWNlICgKLSAgICBfKCJTL01JTUUgKGUpbmNy
 eXB0LCAocylpZ24sIHNpZ24gKGEpcywgKGIpb3RoLCAodClvZ2dsZSBvciAoZilvcmdldCBpdD8i
 KSwKLSAgICAgICAgICAgICBfKCJlc2FidGYiKSk7CisgICAgXygiUy9NSU1FIChlKW5jcnlwdCwg
 KHMpaWduLCBzaWduIChhKXMsIChiKW90aCwgKHApZ3Agb3IgKGMpbGVhcj8iKSwKKyAgICAgICAg
 ICAgICBfKCJlc2FicGZjIikpOwogICBlbHNlIAogICAgIGNob2ljZSA9IG11dHRfbXVsdGlfY2hv
 aWNlICgKLSAgICBfKCJQR1AgKGUpbmNyeXB0LCAocylpZ24sIHNpZ24gKGEpcywgKGIpb3RoLCAo
 dClvZ2d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MTYgKzQyMTEsMTcgQEAgc3RhdGljIGludCBncGdtZV9zZW5kX21l
 bnUgKEhFQURFUiAqbXNnLAogICAgIG1zZy0+c2VjdXJpdHkgPSAoaXNfc21pbWU/IChTTUlNRUVO
 Q1JZUFR8U01JTUVTSUdOKTooUEdQRU5DUllQVHxQR1BTSUdOKSk7CiAgICAgYnJlYWs7CiAKLSAg
 Y2FzZSA1OiAvKiAodClvZ2dsZSAqLworICBjYXNlIDU6IC8qIChwKWdwIG9yIHMvKG0paW1lICov
 CiAgICAgaXNfc21pbWUgPSAhaXNfc21pbWU7CiAgICAgYnJlYWs7CiAKICAgY2FzZSA2OiAvKiAo
 ZilvcmdldCBpdCAqLworICBjYXNlIDc6IC8qIChjKWxlYXIgKi8KICAgICBtc2ctPnNlY3VyaXR5
 ID0gMDsKICAgICBicmVhazsKICAgfQogCi0gIGlmIChjaG9pY2UgPT0gNikKKyAgaWYgKGNob2lj
 ZSA9PSA2IHx8IGNob2ljZSA9PSA3KQogICAgIDsKICAgZWxzZSBpZiAoaXNfc21pbWUpCiAgICAg
 ewo=
 



----- End forwarded message -----