Gentoo Archives: gentoo-user

From: Jean-Christophe Bach <jc.bach@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: mutt+gnupg: how do you name the attached signature file ?
Date: Sat, 11 Dec 2010 13:33:30
Message-Id: 20101211133141.GB5708@Sauron
In Reply to: Re: [gentoo-user] Re: mutt+gnupg: how do you name the attached signature file ? by Jean-Christophe Bach
1 * Jean-Christophe Bach <jc.bach@×××××.com> [08.12.2010. @00:14:03 +0100]:
2
3 > * walt <w41ter@×××××.com> [07.12.2010. @11:44:18 -0800]:
4 >
5 > > On 12/06/2010 12:07 PM, Jean-Christophe Bach wrote:
6 > > > * walt<w41ter@×××××.com> [06.12.2010. @11:44:12 -0800]:
7 > > >
8 > > >> On 12/06/2010 11:11 AM, Jean-Christophe Bach wrote:
9 > > >>> Hi all,
10 > > >>>
11 > > >>> I am using mutt and gnupg for my mail and I do not understand something:
12 > > >>> when I sign and send an email, my gpg signature appears as an attached
13 > > >>> "noname" file while friends have an attached "signature.asc" file.
14 > > >>
15 > > >> I notice that the mutt ebuild reads two different useflags concerning gpg:
16 > > >> 'crypt' and 'gpg'. Do you have them both enabled?
17 > > >
18 > > > Yes, I do. Should I have only one of them ?
19 > >
20 > > Heh. I have no idea -- but I would try fiddling with them to see what
21 > > difference it may make.
22 > >
23 > > Does your attached 'noname' file contain an appropriate ascii sig?
24 >
25 > Yes, it seems to be OK and friends are able to check my signed mails
26 > without any problem. It is not an important problem, but it is very
27 > strange.
28 >
29 > JC
30
31 Hi all,
32
33 I understood why I had the problem and I succeeded in naming my pgp
34 signature with mutt. Here are the details :
35
36 First, Google is great :)
37 I read somewherethat the variable which allows to name the pgp signature
38 is pgp_mime_signature_filename. However this variable is not in the
39 standard mutt package. By googling a bit more I found the
40 vk.pgp_verbose_mime patch (here: http://www.doorstop.net/projects ). I
41 adapted it to my current version of mutt (~)1.5.21-r1 and I wrote an
42 overlay. After patching, compiling and installing, it works perfectly.
43
44 For those who are interested in this patch, look at the attached files
45 (patch-1.5.21-r1.vk.pgp_verbose_mime and mutt-1.5.21-r1.ebuild.patch).
46 Then, just add these two lines in your .muttrc file :
47 set pgp_mime_signature_filename="signature.asc"
48 set pgp_mime_signature_description="Digital signature"
49
50 It would be great if this patch were added to the gentoo-patches when
51 gpg flag is enabled for mutt.
52
53 Regards,
54
55 JC

Attachments

File name MIME type
mutt-1.5.21-r1.ebuild.patch text/plain
patch-1.5.21-r1.vk.pgp_verbose_mime text/plain
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Re: mutt+gnupg: how do you name the attached signature file ? Willie Wong <wwong@××××××××××××××.EDU>