Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 7a / c53f63def27acdf03156bd5d643fce483146e3
1 Return-Path: <dkg@fifthhorseman.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 58036431FB6\r
6         for <notmuch@notmuchmail.org>; Sat, 27 Nov 2010 11:35:13 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
12         tests=[UNPARSEABLE_RELAY=0.001] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id ZbYJOwGaBZYk for <notmuch@notmuchmail.org>;\r
16         Sat, 27 Nov 2010 11:35:12 -0800 (PST)\r
17 Received: from rodolpho.mayfirst.org (rodolpho.mayfirst.org [209.234.253.107])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 9962F431FB5\r
21         for <notmuch@notmuchmail.org>; Sat, 27 Nov 2010 11:35:12 -0800 (PST)\r
22 Received: from localhost (localhost [127.0.0.1])\r
23         by rodolpho.mayfirst.org (Postfix) with ESMTP id E14A63CD67\r
24         for <notmuch@notmuchmail.org>; Sat, 27 Nov 2010 14:35:09 -0500 (EST)\r
25 X-Virus-Scanned: Debian amavisd-new at rodolpho.mayfirst.org\r
26 Received: from rodolpho.mayfirst.org ([127.0.0.1])\r
27         by localhost (rodolpho.mayfirst.org [127.0.0.1]) (amavisd-new,\r
28         port 10024) with ESMTP id GzAOTGS6JLw8 for <notmuch@notmuchmail.org>;\r
29         Sat, 27 Nov 2010 14:35:09 -0500 (EST)\r
30 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender:\r
31         smtpauth@rodolpho.mayfirst.org) with ESMTPSA id B25FB3CD61\r
32 Message-ID: <4CF15D67.1070904@fifthhorseman.net>\r
33 Date: Sat, 27 Nov 2010 14:35:03 -0500\r
34 From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
35 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;\r
36         rv:1.9.2.12) Gecko/20101110 Icedove/3.1.6\r
37 MIME-Version: 1.0\r
38 To: notmuch <notmuch@notmuchmail.org>\r
39 Subject: PGP/MIME signature verification\r
40 X-Enigmail-Version: 1.1.2\r
41 OpenPGP: id=D21739E9\r
42 Content-Type: multipart/signed; micalg=pgp-sha512;\r
43         protocol="application/pgp-signature";\r
44         boundary="------------enig9659FA14D89BBA62DEF020C0"\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 Reply-To: notmuch <notmuch@notmuchmail.org>\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Sat, 27 Nov 2010 19:35:13 -0000\r
59 \r
60 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)\r
61 --------------enig9659FA14D89BBA62DEF020C0\r
62 Content-Type: text/plain; charset=UTF-8\r
63 Content-Transfer-Encoding: quoted-printable\r
64 \r
65 hey folks--\r
66 \r
67 the signature-verification branch on my git repo [0] contains functional\r
68 PGP/MIME signature verification if you supply the --verify argument to\r
69 \r
70  notmuch show --format=3Djson\r
71 \r
72 It relies on gpg being in the path, and on the user having the signer's\r
73 key in their gnupg keyring.\r
74 \r
75 The patchset depends on the MIME reorganization produced initially by\r
76 dme (and rebased against 0.5 in my mp3-on-0.5 branch).\r
77 \r
78 the emacs frontend doesn't yet know how to deal with the resultant data,\r
79 so the signature verification doesn't reach the user yet.\r
80 \r
81 The JSON this change produces is similar (but not identical) to my\r
82 earlier proposal on this list.\r
83 \r
84 In particular, the parent MIME part (content-type: multipart/signed) is\r
85 what gets the sigstatus object, which is itself a list of signature\r
86 objects, like this:\r
87 \r
88 "sigstatus": [\r
89  {\r
90   "created": 1290557507,\r
91   "fingerprint": "0EE5BE979282D80B9F7540F1CCD2ED94D21739E9",\r
92   "status": "good"\r
93  },\r
94  {\r
95   "keyid": "DEADBEEFDECAFBAD",\r
96   "status": "bad"\r
97  }\r
98 ]\r
99 \r
100 (this example shows a mime part signed by two keys, the signature from\r
101 one checking out properly, and the signature from the other failing --\r
102 most multipart/signed MIME parts will only be signed by one party)\r
103 \r
104 I'd appreciate any feedback people have on the change, and any\r
105 suggestions on how to integrate its results into the emacs interface.\r
106 \r
107 Also, i'm curious what i can do to make these changes more acceptable\r
108 for the mainline.  should i rebase them against mainline master?  or\r
109 demonstrate a functional merge?  i'm new to how this community likes to\r
110 use git, so pointers to suggested approaches would be welcome.\r
111 \r
112 I should also note that in the course of pursuing this, i found that\r
113 GMime's upstream author is very receptive to suggestions and feedback\r
114 about crypto.  If anyone else in the notmuch community wants to make\r
115 suggestions about what we might need for future extensions in this\r
116 direction, he's probably a good resource to help us get there.\r
117 \r
118 Regards,\r
119 \r
120         --dkg\r
121 \r
122 [0] git://lair.fifthhorseman.net/~dkg/notmuch\r
123 \r
124 \r
125 --------------enig9659FA14D89BBA62DEF020C0\r
126 Content-Type: application/pgp-signature; name="signature.asc"\r
127 Content-Description: OpenPGP digital signature\r
128 Content-Disposition: attachment; filename="signature.asc"\r
129 \r
130 -----BEGIN PGP SIGNATURE-----\r
131 Version: GnuPG v1.4.11 (GNU/Linux)\r
132 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\r
133 \r
134 iQIcBAEBCgAGBQJM8V1nAAoJEMzS7ZTSFznpRYoP/RWLtozm6Nh3HB1vA+Hk1tFl\r
135 YtPdzbSu3masLY6QHViNckowp1l5SzAfIKBssbZUXH2J6Fj7492JVm49sb0LmPdp\r
136 33ZX8XojD/PGJH3kthpGTCyhYg6w6XqmDiviYiF+66w8eiZefl4lhvzahxoARvkz\r
137 k7yp53u9l4vbJB+ac/++EbyfvwdfyxR8voyex5a6aRAA68OBRV6ut11pa7+eagzw\r
138 fCEL1QzMEJKYfvsQ9OlHo6g9bbK6N5lTKWgjo9eKTMFRx6hE5YPBC8sZOdEYZDtv\r
139 MyliQp1AWEnYQYiOu5BK3+w7la4nvOpBuuu9dHR9uSRLBxGMvFV+asuG/HNz0HmV\r
140 Z4PMFVnj/8PVd52yZKwdsy0MtOJZHJNuB8x4WYdtbriebnnAa55MUCCkFOBeQdrz\r
141 7xo4jHwhHA+/kLYa44vZzsDQNllzGMbaARrrMP8cWQ/3YjVSi0Rs7+Nu9OLjn4X4\r
142 Q3pmDp08m569Ct3m6jsiB/O+IHHosunPjqYbZuRXFoANZg4qjxvEoev4GnMjRozg\r
143 pBUxSWXCXCKa89iGj7uzhboDILpwgyVSBS8xfhn+Px56x/17mefC+XqAfwoJW7mI\r
144 4wBoOOtSTdDIexzAkWITQZoo5DzdBaWaq/LSBZnfZMDKpo+iaiFc6rwfB91QRL/u\r
145 82ReY28t/BqeHD0qAqTh\r
146 =1wrH\r
147 -----END PGP SIGNATURE-----\r
148 \r
149 --------------enig9659FA14D89BBA62DEF020C0--\r