[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / f5 / 85aaa0ef3565e6ef45a2b96115980c1d6e007e
1 Return-Path: <fgeller@gmail.com>\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 637B0429E2F\r
6         for <notmuch@notmuchmail.org>; Tue, 31 May 2011 10:33:38 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.789\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.789 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01]\r
14         autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id JW8ezTxhEi42 for <notmuch@notmuchmail.org>;\r
18         Tue, 31 May 2011 10:33:37 -0700 (PDT)\r
19 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com\r
20         [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 9F54E429E2B\r
23         for <notmuch@notmuchmail.org>; Tue, 31 May 2011 10:33:36 -0700 (PDT)\r
24 Received: by bwg12 with SMTP id 12so4350381bwg.26\r
25         for <notmuch@notmuchmail.org>; Tue, 31 May 2011 10:33:35 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
27         h=domainkey-signature:from:to:subject:in-reply-to:references\r
28         :user-agent:date:message-id:mime-version:content-type;\r
29         bh=xH5Q8fWHXtV1dusSOczwp/foGtG9hW/cQqy/5GColqM=;\r
30         b=tDhLhNA9FvUmYvGef1QL9WD84IBDUg9F9U1EjXZPHrWWcae1XjzamC/DfihoeVuYx/\r
31         IUujbypzZ8ydof0CRclf6ovI2x8yTR/xyeX6/r80g3NHm4NQsdlZc61LmH+8aOKlj62U\r
32         jtK/cUTJttGYdY5SrxvACuEBPu7z8fDaHfy4Q=\r
33 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
34         h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
35         :mime-version:content-type;\r
36         b=CDrznlIL6/IOuKPOz55CMXS0o8yHVneQQu0+h1shmU2l0QYvX+u6Vj6pKBq6lV6NFl\r
37         +ZN1DuAykHq82g4b00/Ha4jRFZxCyJsQOU6rfvn1WpARIJH7Ce6LfeO1jYoEkyqkTwKv\r
38         iWvzrsl83lsc0mQdbc3O/GWfQxrh3jSimVkOI=\r
39 Received: by 10.204.128.90 with SMTP id j26mr2249089bks.116.1306863215017;\r
40         Tue, 31 May 2011 10:33:35 -0700 (PDT)\r
41 Received: from localhorst.example.com (brln-4d0c69f8.pool.mediaWays.net.\r
42         [77.12.105.248])\r
43         by mx.google.com with ESMTPS id a28sm173251fak.1.2011.05.31.10.33.31\r
44         (version=TLSv1/SSLv3 cipher=OTHER);\r
45         Tue, 31 May 2011 10:33:33 -0700 (PDT)\r
46 Received: by localhorst.example.com (Postfix, from userid 501)\r
47         id 7A2DE4225459; Tue, 31 May 2011 19:33:30 +0200 (CEST)\r
48 From: Felix Geller <fgeller@gmail.com>\r
49 To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
50  notmuch@notmuchmail.org\r
51 Subject: Re: Decryption fails\r
52 In-Reply-To: <87wrh7ibi5.fsf@servo.factory.finestructure.net>\r
53 References: <m2zkm4dm10.fsf@gmail.com>\r
54         <87wrh7ibi5.fsf@servo.factory.finestructure.net>\r
55 User-Agent: Emacs/23.3.1 (x86_64-apple-darwin10.7.0)\r
56 Date: Tue, 31 May 2011 19:33:29 +0200\r
57 Message-ID: <m2wrh6epw6.fsf@gmail.com>\r
58 MIME-Version: 1.0\r
59 Content-Type: multipart/signed; boundary="==-=-=";\r
60         micalg=pgp-sha1; protocol="application/pgp-signature"\r
61 X-BeenThere: notmuch@notmuchmail.org\r
62 X-Mailman-Version: 2.1.13\r
63 Precedence: list\r
64 List-Id: "Use and development of the notmuch mail system."\r
65         <notmuch.notmuchmail.org>\r
66 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
68 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
69 List-Post: <mailto:notmuch@notmuchmail.org>\r
70 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
71 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
72         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
73 X-List-Received-Date: Tue, 31 May 2011 17:33:38 -0000\r
74 \r
75 --==-=-=\r
76 Content-Type: multipart/mixed; boundary="=-=-="\r
77 \r
78 --=-=-=\r
79 \r
80 On Tue, 31 May 2011 00:18:26 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
81 > Hey, Felix.  As David said, all crypto tests should be passing with\r
82 > libgmime 2.4.24.  It would probably be instructive to know which crypto\r
83 > tests failed and why.  Maybe you could supply some output from the\r
84 > failed crypto tests.\r
85 \r
86 Ok, so the following tests pass:\r
87 \r
88  PASS   emacs delivery of signed message\r
89  PASS   emacs delivery of encrypted + signed message\r
90  PASS   emacs delivery of encrypted message with attachment\r
91 \r
92 I'm attaching the full output for the cypto tests.\r
93 \r
94 I get the following trace when using show --decrypt to decrypt a\r
95 specific message (have to kill the process to actually get the trace):\r
96 \r
97 #0  0x00000001006121a6 in poll ()\r
98 #1  0x000000010006d3d2 in gpg_ctx_op_step ()\r
99 #2  0x000000010006e5c7 in gpg_decrypt ()\r
100 #3  0x00000001000566cf in g_mime_multipart_encrypted_decrypt ()\r
101 #4  0x000000010000a413 in show_message_part (part=0x10606fc20,\r
102 #state=0x7fff5fbfd1c0, format=0x10002ef80, params=0x7fff5fbfd2c0,\r
103 #first=1) at show-message.c:71\r
104 \r
105 So I guess it ends up looping or waiting in poll(), but I can't tell why\r
106 it would do that. I guess the next step is to post to the gmime mailing\r
107 list, or?\r
108 \r
109 \r
110 Cheers,\r
111 Felix\r
112 \r
113 \r
114 \r
115 --=-=-=\r
116 Content-Disposition: attachment; filename=crypto_tests.txt\r
117 Content-Transfer-Encoding: quoted-printable\r
118 \r
119 crypto: Testing PGP/MIME signature verification and decryption\r
120  PASS   emacs delivery of signed message\r
121  FAIL   signature verification\r
122         --- crypto.2.expected   2011-05-31 17:30:47.000000000 +0000\r
123         +++ crypto.2.output     2011-05-31 17:30:47.000000000 +0000\r
124         @@ -1,23 +1 @@\r
125         -[[[{"id": "XXXXX",\r
126         - "match": true,\r
127         - "filename": "YYYYY",\r
128         - "timestamp": 946728000,\r
129         - "date_relative": "2000-01-01",\r
130         - "tags": ["inbox","signed"],\r
131         - "headers": {"Subject": "test signed message 001",\r
132         - "From": "Notmuch Test Suite <test_suite@notmuchmail.org>",\r
133         - "To": "test_suite@notmuchmail.org",\r
134         - "Cc": "",\r
135         - "Bcc": "",\r
136         - "Date": "01 Jan 2000 12:00:00 -0000"},\r
137         - "body": [{"id": 1,\r
138         - "sigstatus": [{"status": "good",\r
139         - "fingerprint": "5AEAB11F5E33DCE875DDB75B6D92612D94E46381",\r
140         - "created": 946728000}],\r
141         - "content-type": "multipart/signed",\r
142         - "content": [{"id": 2,\r
143         - "content-type": "text/plain",\r
144         - "content": "This is a test signed message.\n"},\r
145         - {"id": 3,\r
146         - "content-type": "application/pgp-signature"}]}]},\r
147         - []]]]\r
148         +[]\r
149  FAIL   signature verification with full owner trust\r
150         --- crypto.3.expected   2011-05-31 17:30:47.000000000 +0000\r
151         +++ crypto.3.output     2011-05-31 17:30:47.000000000 +0000\r
152         @@ -1,24 +1 @@\r
153         -[[[{"id": "XXXXX",\r
154         - "match": true,\r
155         - "filename": "YYYYY",\r
156         - "timestamp": 946728000,\r
157         - "date_relative": "2000-01-01",\r
158         - "tags": ["inbox","signed"],\r
159         - "headers": {"Subject": "test signed message 001",\r
160         - "From": "Notmuch Test Suite <test_suite@notmuchmail.org>",\r
161         - "To": "test_suite@notmuchmail.org",\r
162         - "Cc": "",\r
163         - "Bcc": "",\r
164         - "Date": "01 Jan 2000 12:00:00 -0000"},\r
165         - "body": [{"id": 1,\r
166         - "sigstatus": [{"status": "good",\r
167         - "fingerprint": "5AEAB11F5E33DCE875DDB75B6D92612D94E46381",\r
168         - "created": 946728000,\r
169         - "userid": " Notmuch Test Suite <test_suite@notmuchmail.org> (INSECURE!)"=\r
170 }],\r
171         - "content-type": "multipart/signed",\r
172         - "content": [{"id": 2,\r
173         - "content-type": "text/plain",\r
174         - "content": "This is a test signed message.\n"},\r
175         - {"id": 3,\r
176         - "content-type": "application/pgp-signature"}]}]},\r
177         - []]]]\r
178         +[]\r
179  FAIL   signature verification with signer key unavailable\r
180         --- crypto.4.expected   2011-05-31 17:30:47.000000000 +0000\r
181         +++ crypto.4.output     2011-05-31 17:30:47.000000000 +0000\r
182         @@ -1,23 +1 @@\r
183         -[[[{"id": "XXXXX",\r
184         - "match": true,\r
185         - "filename": "YYYYY",\r
186         - "timestamp": 946728000,\r
187         - "date_relative": "2000-01-01",\r
188         - "tags": ["inbox","signed"],\r
189         - "headers": {"Subject": "test signed message 001",\r
190         - "From": "Notmuch Test Suite <test_suite@notmuchmail.org>",\r
191         - "To": "test_suite@notmuchmail.org",\r
192         - "Cc": "",\r
193         - "Bcc": "",\r
194         - "Date": "01 Jan 2000 12:00:00 -0000"},\r
195         - "body": [{"id": 1,\r
196         - "sigstatus": [{"status": "error",\r
197         - "keyid": "6D92612D94E46381",\r
198         - "errors": 2}],\r
199         - "content-type": "multipart/signed",\r
200         - "content": [{"id": 2,\r
201         - "content-type": "text/plain",\r
202         - "content": "This is a test signed message.\n"},\r
203         - {"id": 3,\r
204         - "content-type": "application/pgp-signature"}]}]},\r
205         - []]]]\r
206         +[]\r
207  PASS   emacs delivery of encrypted message with attachment\r
208  FAIL   decryption, --format=3Dtext\r
209         --- crypto.6.expected   2011-05-31 17:30:48.000000000 +0000\r
210         +++ crypto.6.output     2011-05-31 17:30:48.000000000 +0000\r
211         @@ -1,25 +1 @@\r
212         -\f\r
213 message{ id:XXXXX depth:0 match:1 filename:XXXXX\r
214         -\f\r
215 header{\r
216         -Notmuch Test Suite <test_suite@notmuchmail.org> (2000-01-01) (encrypted i=\r
217 nbox)\r
218         -Subject: test encrypted message 001\r
219         -From: Notmuch Test Suite <test_suite@notmuchmail.org>\r
220         -To: test_suite@notmuchmail.org\r
221         -Date: 01 Jan 2000 12:00:00 -0000\r
222         -\f\r
223 header}\r
224         -\f\r
225 body{\r
226         -\f\r
227 part{ ID: 1, Content-type: multipart/encrypted\r
228         -\f\r
229 part{ ID: 2, Content-type: application/pgp-encrypted\r
230         -Non-text part: application/pgp-encrypted\r
231         -\f\r
232 part}\r
233         -\f\r
234 part{ ID: 3, Content-type: multipart/mixed\r
235         -\f\r
236 part{ ID: 4, Content-type: text/plain\r
237         -This is a test encrypted message.\r
238         -\f\r
239 part}\r
240         -\f\r
241 attachment{ ID: 5, Content-type: application/octet-stream\r
242         -Attachment: TESTATTACHMENT (application/octet-stream)\r
243         -Non-text part: application/octet-stream\r
244         -\f\r
245 attachment}\r
246         -\f\r
247 part}\r
248         -\f\r
249 part}\r
250         -\f\r
251 body}\r
252         -\f\r
253 message}\r
254         +\r
255  FAIL   decryption, --format=3Djson\r
256         --- crypto.7.expected   2011-05-31 17:30:48.000000000 +0000\r
257         +++ crypto.7.output     2011-05-31 17:30:48.000000000 +0000\r
258         @@ -1,27 +1 @@\r
259         -[[[{"id": "XXXXX",\r
260         - "match": true,\r
261         - "filename": "YYYYY",\r
262         - "timestamp": 946728000,\r
263         - "date_relative": "2000-01-01",\r
264         - "tags": ["encrypted","inbox"],\r
265         - "headers": {"Subject": "test encrypted message 001",\r
266         - "From": "Notmuch Test Suite <test_suite@notmuchmail.org>",\r
267         - "To": "test_suite@notmuchmail.org",\r
268         - "Cc": "",\r
269         - "Bcc": "",\r
270         - "Date": "01 Jan 2000 12:00:00 -0000"},\r
271         - "body": [{"id": 1,\r
272         - "encstatus": [{"status": "good"}],\r
273         - "sigstatus": [],\r
274         - "content-type": "multipart/encrypted",\r
275         - "content": [{"id": 2,\r
276         - "content-type": "application/pgp-encrypted"},\r
277         - {"id": 3,\r
278         - "content-type": "multipart/mixed",\r
279         - "content": [{"id": 4,\r
280         - "content-type": "text/plain",\r
281         - "content": "This is a test encrypted message.\n"},\r
282         - {"id": 5,\r
283         - "content-type": "application/octet-stream",\r
284         - "filename": "TESTATTACHMENT"}]}]}]},\r
285         - []]]]\r
286         +[]\r
287  FAIL   decryption, --format=3Djson, --part=3D4\r
288         --- crypto.8.expected   2011-05-31 17:30:48.000000000 +0000\r
289         +++ crypto.8.output     2011-05-31 17:30:48.000000000 +0000\r
290         @@ -1,3 +1 @@\r
291         -{"id": 4,\r
292         - "content-type": "text/plain",\r
293         - "content": "This is a test encrypted message.\n"}\r
294         +\r
295 Error: search term did not match precisely one message.\r
296  FAIL   decrypt attachment (--part=3D5 --format=3Draw)\r
297         --- crypto.9.expected   2011-05-31 17:30:47.000000000 +0000\r
298         +++ crypto.9.output     2011-05-31 17:30:48.000000000 +0000\r
299         @@ -1 +0,0 @@\r
300         -This is a test file.\r
301 Error: search term did not match precisely one message.\r
302  FAIL   decryption failure with missing key\r
303         --- crypto.10.expected  2011-05-31 17:30:49.000000000 +0000\r
304         +++ crypto.10.output    2011-05-31 17:30:49.000000000 +0000\r
305         @@ -1,20 +1 @@\r
306         -[[[{"id": "XXXXX",\r
307         - "match": true,\r
308         - "filename": "YYYYY",\r
309         - "timestamp": 946728000,\r
310         - "date_relative": "2000-01-01",\r
311         - "tags": ["encrypted","inbox"],\r
312         - "headers": {"Subject": "test encrypted message 001",\r
313         - "From": "Notmuch Test Suite <test_suite@notmuchmail.org>",\r
314         - "To": "test_suite@notmuchmail.org",\r
315         - "Cc": "",\r
316         - "Bcc": "",\r
317         - "Date": "01 Jan 2000 12:00:00 -0000"},\r
318         - "body": [{"id": 1,\r
319         - "encstatus": [{"status": "bad"}],\r
320         - "content-type": "multipart/encrypted",\r
321         - "content": [{"id": 2,\r
322         - "content-type": "application/pgp-encrypted"},\r
323         - {"id": 3,\r
324         - "content-type": "application/octet-stream"}]}]},\r
325         - []]]]\r
326         +[]\r
327  PASS   emacs delivery of encrypted + signed message\r
328  FAIL   decryption + signature verification\r
329         --- crypto.12.expected  2011-05-31 17:30:50.000000000 +0000\r
330         +++ crypto.12.output    2011-05-31 17:30:50.000000000 +0000\r
331         @@ -1,25 +1 @@\r
332         -[[[{"id": "XXXXX",\r
333         - "match": true,\r
334         - "filename": "YYYYY",\r
335         - "timestamp": 946728000,\r
336         - "date_relative": "2000-01-01",\r
337         - "tags": ["encrypted","inbox"],\r
338         - "headers": {"Subject": "test encrypted message 002",\r
339         - "From": "Notmuch Test Suite <test_suite@notmuchmail.org>",\r
340         - "To": "test_suite@notmuchmail.org",\r
341         - "Cc": "",\r
342         - "Bcc": "",\r
343         - "Date": "01 Jan 2000 12:00:00 -0000"},\r
344         - "body": [{"id": 1,\r
345         - "encstatus": [{"status": "good"}],\r
346         - "sigstatus": [{"status": "good",\r
347         - "fingerprint": "5AEAB11F5E33DCE875DDB75B6D92612D94E46381",\r
348         - "created": 946728000,\r
349         - "userid": " Notmuch Test Suite <test_suite@notmuchmail.org> (INSECURE!)"=\r
350 }],\r
351         - "content-type": "multipart/encrypted",\r
352         - "content": [{"id": 2,\r
353         - "content-type": "application/pgp-encrypted"},\r
354         - {"id": 3,\r
355         - "content-type": "text/plain",\r
356         - "content": "This is another test encrypted message.\n"}]}]},\r
357         - []]]]\r
358         +[]\r
359  FAIL   reply to encrypted message\r
360         --- crypto.13.expected  2011-05-31 17:30:50.000000000 +0000\r
361         +++ crypto.13.output    2011-05-31 17:30:50.000000000 +0000\r
362         @@ -1,7 +1 @@\r
363         -From: Notmuch Test Suite <test_suite@notmuchmail.org>\r
364         -Subject: Re: test encrypted message 002\r
365 =09=20\r
366         -On 01 Jan 2000 12:00:00 -0000, Notmuch Test Suite <test_suite@notmuchmail=\r
367 .org> wrote:\r
368         -Non-text part: multipart/encrypted\r
369         -Non-text part: application/pgp-encrypted\r
370         -> This is another test encrypted message.\r
371  FAIL   signature verification with revoked key\r
372         --- crypto.14.expected  2011-05-31 17:30:50.000000000 +0000\r
373         +++ crypto.14.output    2011-05-31 17:30:50.000000000 +0000\r
374         @@ -1,23 +1 @@\r
375         -[[[{"id": "XXXXX",\r
376         - "match": true,\r
377         - "filename": "YYYYY",\r
378         - "timestamp": 946728000,\r
379         - "date_relative": "2000-01-01",\r
380         - "tags": ["inbox","signed"],\r
381         - "headers": {"Subject": "test signed message 001",\r
382         - "From": "Notmuch Test Suite <test_suite@notmuchmail.org>",\r
383         - "To": "test_suite@notmuchmail.org",\r
384         - "Cc": "",\r
385         - "Bcc": "",\r
386         - "Date": "01 Jan 2000 12:00:00 -0000"},\r
387         - "body": [{"id": 1,\r
388         - "sigstatus": [{"status": "error",\r
389         - "keyid": "6D92612D94E46381",\r
390         - "errors": 8}],\r
391         - "content-type": "multipart/signed",\r
392         - "content": [{"id": 2,\r
393         - "content-type": "text/plain",\r
394         - "content": "This is a test signed message.\n"},\r
395         - {"id": 3,\r
396         - "content-type": "application/pgp-signature"}]}]},\r
397         - []]]]\r
398         +[]\r
399 gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model\r
400 gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u\r
401 \r
402 --=-=-=--\r
403 \r
404 --==-=-=\r
405 Content-Type: application/pgp-signature\r
406 \r
407 -----BEGIN PGP SIGNATURE-----\r
408 Version: GnuPG/MacGPG2 v2.0.17 (Darwin)\r
409 \r
410 iEYEARECAAYFAk3lJmoACgkQMxgKfMb9y5ZIOwCg9get97nGgNgNmxbuvCqHZr7E\r
411 V7cAoPKiJJefIIKjNsXnS2FTeTVqxGiC\r
412 =+Atj\r
413 -----END PGP SIGNATURE-----\r
414 --==-=-=--\r