Some mail clients display "noname" for the gpg signature
attachment. This patch sets the mime name to "signature.asc".
The patch is based on
http://dev.mutt.org/trac/attachment/ticket/3478/gpg_signature_name.patch
with the changes:
- removes the configuration options
- removes mime description
else
{
t->subtype = safe_strdup ("pgp-signature");
+ mutt_set_parameter ("name", "signature.asc", &t->parameter);
t->use_disp = 0;
t->disposition = DISPNONE;
t->encoding = ENC7BIT;
t->disposition = DISPNONE;
t->encoding = ENC7BIT;
t->unlink = 1; /* ok to remove this file after sending. */
+ mutt_set_parameter ("name", "signature.asc", &t->parameter);
return (a);
}