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: package.el + DVCS for security and convenience (was: ELPA security) Date: Sat, 22 Dec 2012 14:37:13 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87sj6xg9p2.fsf_-_@lifelogs.com> References: <8738zf70ep.fsf@riseup.net> <871uejlbm1.fsf@lifelogs.com> <87obhmzl2f.fsf@bzg.ath.cx> <20121222141742.7494b429fe36e5ccef50cf6f@gmail.com> <87d2y2w9j5.fsf@uwakimon.sk.tsukuba.ac.jp> <87wqwas0gr.fsf@bzg.ath.cx> <87d2y2p6d7.fsf@bzg.ath.cx> 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 1356205063 4664 80.91.229.3 (22 Dec 2012 19:37:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Dec 2012 19:37:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 22 20:37:59 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 1TmUtS-0007pa-BN for ged-emacs-devel@m.gmane.org; Sat, 22 Dec 2012 20:37:58 +0100 Original-Received: from localhost ([::1]:36671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmUtE-0003Xd-EZ for ged-emacs-devel@m.gmane.org; Sat, 22 Dec 2012 14:37:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmUt8-0003XN-NV for emacs-devel@gnu.org; Sat, 22 Dec 2012 14:37:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TmUt3-0007P3-LP for emacs-devel@gnu.org; Sat, 22 Dec 2012 14:37:38 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:56888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmUt3-0007Oz-EZ for emacs-devel@gnu.org; Sat, 22 Dec 2012 14:37:33 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TmUtC-0007Pe-Gr for emacs-devel@gnu.org; Sat, 22 Dec 2012 20:37:42 +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 ; Sat, 22 Dec 2012 20:37:42 +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 ; Sat, 22 Dec 2012 20:37:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 31 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:fnhl8FQWunK2U6oeCJnVyxnMW9g= 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:155780 Archived-At: I propose to require signatures for ELPA packages and make package.el aware of signatures: http://doc.bazaar.canonical.com/beta/en/user-guide/gpg_signatures.html (the same idea for Git: http://git-scm.com/book/en/Git-Basics-Tagging) The key is to make package.el talk to a repository, not to a web site. Then, package.el can verify the history of the package as a series of revisions and verify their signatures. That would require much better integration with Bazaar and Git for package.el, but I actually think that's a good thing and would give users convenient tools like seeing the history of a package with all the commits. Maybe `vc-dir' already has code to do this, so package.el can simply ride on top of it. This has several benefits: - doesn't introduce new infrastructure or ELPA/Emacs packages - is entirely optional to package.el, so repositories and individual packages within them can choose to use this mechanism - does not depend on a central authority like SSL - if the tools to verify the GPG signature are not available, we can fall back to warning the user instead of failing altogether Ted