Re: [PATCH 04/14] new: Don't report version after upgrade
[notmuch-archives.git] / bc / 6e63b013ae5c80aee0be68b3a73f88df40ad8e
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 ECBB2429E36\r
6         for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 11:09:39 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 RETEvMc1flE3 for <notmuch@notmuchmail.org>;\r
16         Wed, 25 Jan 2012 11:09:39 -0800 (PST)\r
17 Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
18         by olra.theworths.org (Postfix) with ESMTP id 4010C431FBC\r
19         for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 11:09:39 -0800 (PST)\r
20 Received: from [192.168.23.207] (dsl254-070-154.nyc1.dsl.speakeasy.net\r
21         [216.254.70.154])\r
22         by che.mayfirst.org (Postfix) with ESMTPSA id B899FF970;\r
23         Wed, 25 Jan 2012 14:09:33 -0500 (EST)\r
24 Message-ID: <4F205368.4020402@fifthhorseman.net>\r
25 Date: Wed, 25 Jan 2012 14:09:28 -0500\r
26 From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
27 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20120104 Icedove/8.0\r
28 MIME-Version: 1.0\r
29 To: Jameson Graef Rollins <jrollins@finestructure.net>\r
30 Subject: Re: Emacs: Crypto: How to get automatic encryption?\r
31 References: <87pqejj5nl.fsf@marcos.anarcat.ath.cx>\r
32         <cunfwfer8i0.fsf@hotblack-desiato.hh.sledj.net>\r
33         <87ehuo7pjr.fsf@algae.riseup.net>\r
34         <87ehuoljzs.fsf@servo.finestructure.net>\r
35         <cunvco0nvwa.fsf@hotblack-desiato.hh.sledj.net>\r
36         <87liow6slg.fsf@servo.finestructure.net>\r
37         <cund3a8nkwl.fsf@hotblack-desiato.hh.sledj.net>\r
38         <878vkv7k2q.fsf@servo.finestructure.net>\r
39 In-Reply-To: <878vkv7k2q.fsf@servo.finestructure.net>\r
40 X-Enigmail-Version: 1.3.4\r
41 Content-Type: multipart/signed; micalg=pgp-sha512;\r
42         protocol="application/pgp-signature";\r
43         boundary="------------enigA0474EB29AD29C958F179AF8"\r
44 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Wed, 25 Jan 2012 19:09:40 -0000\r
58 \r
59 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)\r
60 --------------enigA0474EB29AD29C958F179AF8\r
61 Content-Type: text/plain; charset=UTF-8\r
62 Content-Transfer-Encoding: quoted-printable\r
63 \r
64 On 01/25/2012 12:45 PM, Jameson Graef Rollins wrote:\r
65 > Here's a behavior that I think would be reasonable:\r
66 >=20\r
67 >  * notmuch reply outputs JSON encrypted flag\r
68 >=20\r
69 >  * emacs does a quick check to see if the needed key is available\r
70 >=20\r
71 >  * if key not available: give a nice mini-buffer prompt, something like=\r
72 :\r
73 > =20\r
74 >     'encryption key for "Foo Bar <foo@bar.com>" not found.  Retrieve?'\r
75 >=20\r
76 >    * if response is yes: call gpg to retrieve the key\r
77 >=20\r
78 >  * if key available: add encrypt flag\r
79 >=20\r
80 >    else: I feel like this should abort, but maybe there's something to\r
81 >          be done here.  Allow reply but don't quote the original?\r
82 \r
83 I note from observing my own correspondence practices that there are\r
84 some other heuristics that might be reasonable, if we're willing to be\r
85 more sophisticated here too.\r
86 \r
87 For example:\r
88 \r
89  * if the entire encrypted message body was signed by key X (which we\r
90 either have or fetch), and\r
91  * X has a User ID which matches the address to which we're replying, and=\r
92 \r
93  * we don't have a technically-valid matching User ID for the e-mail\r
94 address (so we wouldn't normally want to encrypt mail to key X),\r
95 \r
96 then\r
97 \r
98  we could offer (or default) to encrypt the reply to that key anyway, on\r
99 the grounds that the keyholder in question knew the contents of the\r
100 original message anyway.\r
101 \r
102 Some visual indication of being in this corner-case state would be nice,\r
103 of course.\r
104 \r
105 While i'm dreaming, I'd also love to be able to get some statistics\r
106 about how many messages in a given thread have this kind\r
107 encryption/signing response.  It would be interesting for some sort of\r
108 measurement of e-mail+keyholding continuity, which would be useful in a\r
109 more generalized contacts+crypto manager.\r
110 \r
111         --dkg\r
112 \r
113 \r
114 --------------enigA0474EB29AD29C958F179AF8\r
115 Content-Type: application/pgp-signature; name="signature.asc"\r
116 Content-Description: OpenPGP digital signature\r
117 Content-Disposition: attachment; filename="signature.asc"\r
118 \r
119 -----BEGIN PGP SIGNATURE-----\r
120 Version: GnuPG v1.4.11 (GNU/Linux)\r
121 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\r
122 \r
123 iQJ8BAEBCgBmBQJPIFNoXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
124 ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwRUU1QkU5NzkyODJEODBCOUY3NTQwRjFD\r
125 Q0QyRUQ5NEQyMTczOUU5AAoJEMzS7ZTSFznpLKoQAKDWSK5n/2YIkTtCVx5rNRWJ\r
126 TW6H4TZTICVNlUKuI6wEPo6BEm1olMmd1yiSivdsHVso8MZs/OrXIdWv0M/4XRnh\r
127 kVZfmFBjojIQz1eVurMtkfMXflpq1sB8a39iFSDjlbhAx5RFWt1HmUTfrv7vMXkc\r
128 kHE9HJGntz5f7krDCK4oBps3bENRqJ/bj+kaxaRvi17QYOiJXUHe2rPkhl1gxIgF\r
129 +B6zT5FdsIRJodlCzDs8EipztF8ZPPwHTxNUyQTnnOt2mkNsIghRUOMcsK686OSi\r
130 uIWZmIEYfvJT0U+v2XMVrjw/Tk7WDxmJdjIKYXuH//I3XD8K+JhSykv8mHc3ror4\r
131 9xI+8S2brPQaifQlH3B7dG9TdknGvzVvTjqzOte+BwY5wJ59OgFw1XwYaHuSYZ66\r
132 /mNBuTs+ce3pRZnZeBfNP7AKDup0C5sLc8BCsiWhWTcMF+I7zgXIU7ilZre7lKnI\r
133 CJ2zv/+2rqN+Fx+uSIYJjDjIkYLZyeBp6gruWfUSrYIldxe51UAEqDtf+BSdsxSp\r
134 QpVfU8e2oBRM/a02uA0MEQhbzzT59M/a+Yu8Zo4YyYDagie7LzMPfOBRA49v4Z+g\r
135 qBAn610Kc5gOItVvXDyaasFRJ+HhSkDmMnKD7EPnVh5M5YBVlA/bcVfy9dmz5YYk\r
136 8D5dL7Udv/Tt1fBQDYSW\r
137 =MH2G\r
138 -----END PGP SIGNATURE-----\r
139 \r
140 --------------enigA0474EB29AD29C958F179AF8--\r