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: Wherein I argue for the inclusion of libnettle in Emacs 24.5 Date: Fri, 07 Feb 2014 18:07:35 +0900 Message-ID: References: <87ha8f3jt1.fsf@building.gnus.org> <87ppn2qz0f.fsf@building.gnus.org> <87y51qcace.fsf@lifelogs.com> <874n4e3rkm.fsf@uwakimon.sk.tsukuba.ac.jp> <87txcdd6d0.fsf@lifelogs.com> <87wqh8n877.fsf@uwakimon.sk.tsukuba.ac.jp> <87lhxocvfq.fsf@lifelogs.com> <87sirwmgd9.fsf@uwakimon.sk.tsukuba.ac.jp> <87d2j0ck3q.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391764056 5456 80.91.229.3 (7 Feb 2014 09:07:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2014 09:07:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 07 10:07:44 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WBhPT-0003RV-Q8 for ged-emacs-devel@m.gmane.org; Fri, 07 Feb 2014 10:07:43 +0100 Original-Received: from localhost ([::1]:40325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBhPT-0006TE-AR for ged-emacs-devel@m.gmane.org; Fri, 07 Feb 2014 04:07:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBhPQ-0006T9-GA for emacs-devel@gnu.org; Fri, 07 Feb 2014 04:07:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBhPP-0004Xp-GB for emacs-devel@gnu.org; Fri, 07 Feb 2014 04:07:40 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBhPP-0004Xc-DW for emacs-devel@gnu.org; Fri, 07 Feb 2014 04:07:39 -0500 Original-Received: from du-a.org ([2001:e41:db5e:fb14::1]:46599 helo=localhost.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1WBhPO-0002Ut-R2 for emacs-devel@gnu.org; Fri, 07 Feb 2014 04:07:39 -0500 In-Reply-To: <87d2j0ck3q.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 06 Feb 2014 10:54:33 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169455 Archived-At: Ted Zlatanov writes: > What do you think happens when you open a .gpg file using GnuPG > externally, even disregarding the OS channels traveled? That data is > certainly not safe from defadvice. Didn't I ever say: - Once an attacker successfully takes over your desktop session, he can do almost everything. We can't do much on that situation. Why don't you lock the screen before leaving? - More possible threat is inspecting persistent data (e.g. core files on a disk attached to a stolen note PC). GnuPG is designed to be secure against this, using "secure core". - On the other hand, Emacs copies small strings around. If passwords (normally not too long) are managed poorly in Emacs, they might appear repeatedly in a core file, when it crashes. > Emacs as a whole could use a way to hide "data not intended for direct > user inspection" better, and provide for a "tainting" trace of data > (to use the Perl term). Interesting. Any prior art on that area? I haven't heard the word "tainting" used in that way. Isn't it for preventing untrusted data being injected to, say, SQL? -- Daiki Ueno