Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] mutt+gnupg: how do you name the attached signature file ?

75 views
Skip to first unread message

Jean-Christophe Bach

unread,
Dec 6, 2010, 2:20:01 PM12/6/10
to
Hi all,

I am using mutt and gnupg for my mail and I do not understand something:
when I sign and send an email, my gpg signature appears as an attached
"noname" file while friends have an attached "signature.asc" file. How
do you do to change this not so important issue? Is it mutt or gnupg
related?
Have you any idea?

Thanks in advance,

JC

walt

unread,
Dec 6, 2010, 2:50:02 PM12/6/10
to
On 12/06/2010 11:11 AM, Jean-Christophe Bach wrote:
> Hi all,
>
> I am using mutt and gnupg for my mail and I do not understand something:
> when I sign and send an email, my gpg signature appears as an attached
> "noname" file while friends have an attached "signature.asc" file.

I notice that the mutt ebuild reads two different useflags concerning gpg:
'crypt' and 'gpg'. Do you have them both enabled?

Jean-Christophe Bach

unread,
Dec 6, 2010, 3:20:01 PM12/6/10
to
* walt <w41...@gmail.com> [06.12.2010. @11:44:12 -0800]:

Yes, I do. Should I have only one of them ?

JC

walt

unread,
Dec 7, 2010, 2:50:02 PM12/7/10
to

Heh. I have no idea -- but I would try fiddling with them to see what
difference it may make.

Does your attached 'noname' file contain an appropriate ascii sig?

Jean-Christophe Bach

unread,
Dec 7, 2010, 6:20:02 PM12/7/10
to
* walt <w41...@gmail.com> [07.12.2010. @11:44:18 -0800]:

Yes, it seems to be OK and friends are able to check my signed mails
without any problem. It is not an important problem, but it is very
strange.

JC

Jean-Christophe Bach

unread,
Dec 11, 2010, 8:40:01 AM12/11/10
to
* Jean-Christophe Bach <jc....@gmail.com> [08.12.2010. @00:14:03 +0100]:

Hi all,

I understood why I had the problem and I succeeded in naming my pgp
signature with mutt. Here are the details :

First, Google is great :)
I read somewherethat the variable which allows to name the pgp signature
is pgp_mime_signature_filename. However this variable is not in the
standard mutt package. By googling a bit more I found the
vk.pgp_verbose_mime patch (here: http://www.doorstop.net/projects ). I
adapted it to my current version of mutt (~)1.5.21-r1 and I wrote an
overlay. After patching, compiling and installing, it works perfectly.

For those who are interested in this patch, look at the attached files
(patch-1.5.21-r1.vk.pgp_verbose_mime and mutt-1.5.21-r1.ebuild.patch).
Then, just add these two lines in your .muttrc file :
set pgp_mime_signature_filename="signature.asc"
set pgp_mime_signature_description="Digital signature"

It would be great if this patch were added to the gentoo-patches when
gpg flag is enabled for mutt.

Regards,

JC

mutt-1.5.21-r1.ebuild.patch
patch-1.5.21-r1.vk.pgp_verbose_mime
signature.asc

Willie Wong

unread,
Dec 11, 2010, 12:20:02 PM12/11/10
to
Jean-Christophe:

On Sat, Dec 11, 2010 at 02:31:41PM +0100, Jean-Christophe Bach wrote:
> It would be great if this patch were added to the gentoo-patches when
> gpg flag is enabled for mutt.

Thanks for the work! If you want the patch merged into the gentoo
patch set, I think you should file a bug on bugs.gentoo.org, if you
haven't already done so.

Cheers,

W

--
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
et vice versa ~~~ I. Newton

Jean-Christophe Bach

unread,
Dec 12, 2010, 3:40:02 AM12/12/10
to
* Willie Wong <ww...@Math.Princeton.EDU> [11.12.2010. @12:13:27 -0500]:

> Thanks for the work! If you want the patch merged into the gentoo
> patch set, I think you should file a bug on bugs.gentoo.org, if you
> haven't already done so.

You are right, I have just filled a bug here (my first one \\o \o/ o//):
http://bugs.gentoo.org/show_bug.cgi?id=348477

Regards,

JC

signature.asc
0 new messages