From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.devel Subject: Re: pgg-encrypt is a pain in the neck Date: Sun, 31 Dec 2006 10:02:10 +0900 Message-ID: References: <93fed91b-cb8a-4de7-9a16-62c85654bab6@well-done.deisui.org> <6662a3b9-1148-4aa0-bd2d-29a67be38d76@well-done.deisui.org> <5a520e06-4ee3-4c4f-9345-d49a666516f9@well-done.deisui.org> <7f60c21d-2f66-4c4b-9abb-e377ca24a153@well-done.deisui.org> <844cd50a-ec18-4b09-a057-35bdfb5173fd@well-done.deisui.org> <8ba25607-9381-4a27-ae53-8b0f3ccc3ac1@well-done.deisui.org> <366fa6ab-42a0-4df5-a17f-4ac3d1744d78@well-done.deisui.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1167526978 2775 80.91.229.12 (31 Dec 2006 01:02:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Dec 2006 01:02:58 +0000 (UTC) Cc: rms@kenny.sha-bang.de, peterb@kenny.sha-bang.de, emacs-devel@gnu.org, rms@gnu.org, Reiner Steib Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 31 02:02:48 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H0p62-0004AB-H5 for ged-emacs-devel@m.gmane.org; Sun, 31 Dec 2006 02:02:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0p62-0008Kp-1N for ged-emacs-devel@m.gmane.org; Sat, 30 Dec 2006 20:02:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H0p5p-0008KX-0n for emacs-devel@gnu.org; Sat, 30 Dec 2006 20:02:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H0p5m-0008KC-Nf for emacs-devel@gnu.org; Sat, 30 Dec 2006 20:02:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0p5m-0008K7-IJ for emacs-devel@gnu.org; Sat, 30 Dec 2006 20:02:26 -0500 Original-Received: from [210.231.96.69] (helo=localhost) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H0p5i-0004Fa-SK; Sat, 30 Dec 2006 20:02:23 -0500 Original-Received: from localhost ([127.0.0.1] helo=well-done.deisui.org) by localhost with esmtp (Exim 4.63) (envelope-from ) id 1H0p5W-0006Bh-LW; Sun, 31 Dec 2006 10:02:10 +0900 Original-To: Sascha Wilde X-Attribution: DU Mail-Copies-To: poster In-Reply-To: (Sascha Wilde's message of "Sat, 30 Dec 2006 20:41:21 +0100") User-Agent: T-gnus/6.17.2 (based on No Gnus v0.2) EMIKO/1.14.1 (Choanoflagellata) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 EasyPG/0.0.8 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i686-pc-linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64538 Archived-At: >>>>> In >>>>> Sascha Wilde wrote: > > One way to fix pgg-encrypt would be to give it heuristics like the > > ones mailcrypt-encrypt uses. Another would be to declare pgg-encrypt > > to be a "low level" interface, reliable for programs with no DWIM, and > > define a different command for users to encrypt their messages. > PGG is rather "low level" in context of mail encryption, but please > bear in mind, that there are other uses for GnuPG: You can encrypt > other private or confidential stuff just to keep it safe without > sending it per mail, and that's where the currently available user > functions come in handy. I think it's not a bad idea to make pgg-encrypt (not pgg-encrypt-region) use such a heuristics, and actually it's not hard to implement. By the way, it could be a nightmare if mailcrypt were included right now. After a brief look at mailcrypt.el and mc-gpg.el, I found that it has the same security problem which once PGG had, and currently no support for gpg-agent. We have to work on two different "low level" (and not smart, I think) interfaces? -- Daiki Ueno