From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: ELPA security Date: Fri, 21 Dec 2012 09:32:22 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <871uejlbm1.fsf@lifelogs.com> References: <8738zf70ep.fsf@riseup.net> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1356100374 27420 80.91.229.3 (21 Dec 2012 14:32:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2012 14:32:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 21 15:33:08 2012 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 1Tm3eu-0006M3-FM for ged-emacs-devel@m.gmane.org; Fri, 21 Dec 2012 15:33:08 +0100 Original-Received: from localhost ([::1]:36500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm3eg-0001lZ-Iw for ged-emacs-devel@m.gmane.org; Fri, 21 Dec 2012 09:32:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm3ed-0001lN-Gj for emacs-devel@gnu.org; Fri, 21 Dec 2012 09:32:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tm3eX-0005kZ-Dj for emacs-devel@gnu.org; Fri, 21 Dec 2012 09:32:51 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:40668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm3eX-0005k7-7G for emacs-devel@gnu.org; Fri, 21 Dec 2012 09:32:45 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tm3ee-00069R-Rd for emacs-devel@gnu.org; Fri, 21 Dec 2012 15:32:52 +0100 Original-Received: from c-65-96-148-157.hsd1.ma.comcast.net ([65.96.148.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Dec 2012 15:32:52 +0100 Original-Received: from tzz by c-65-96-148-157.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Dec 2012 15:32:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-65-96-148-157.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:gfnkTsVrAbJ/UngHOiy7+1XPuVE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:155726 Archived-At: On Sun, 09 Dec 2012 16:41:50 +0200 George Kadianakis wrote: GK> I've been looking into ELPA (the Emacs Lisp Package Archive) and I GK> noticed that package.el provides no security of any kind. It doesn't GK> do signatures, SSL, timestamps or anything. GK> Are you actually considering deploying a system that downloads GK> untrusted code from the Internet every time a user asks for a new GK> package or asks to upgrade his current packages? Who would *you* like to entrust with the user's security? I am not questioning your direction, just thinking about it. GK> Package management is serious business [0]. It's sad to see ELPA GK> approaching the problem so insecurely. GK> Can't you at the very least, enable HTTPS on tromey.com and pin its GK> public key on package.el? SSL can easily be compromised and may not be available on all platforms. I think the signing solution should be per-package, optional, functional in older Emacsen without binary dependencies, and the user should be able to override it on an individual or global basis. So it can't use `curl', `gpg', or GnuTLS... I also think `M-x list-packages' should define a `v' shortcut to file-find the .el file or tarball that constitutes the package without installing it. That will contribute to security and it's really convenient, too. Ted