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: package.el + DVCS for security and convenience Date: Fri, 04 Jan 2013 14:06:30 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y5g8n4y1.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> <87sj6xg9p2.fsf_-_@lifelogs.com> <87k3s78hsc.fsf@lifelogs.com> <87ehi65uv4.fsf@lifelogs.com> <87hamxndc7.fsf@lifelogs.com> 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 1357326413 6925 80.91.229.3 (4 Jan 2013 19:06:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2013 19:06:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 04 20:07:10 2013 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 1TrCbk-0001UG-3K for ged-emacs-devel@m.gmane.org; Fri, 04 Jan 2013 20:07:08 +0100 Original-Received: from localhost ([::1]:57663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrCbU-0002CW-Nd for ged-emacs-devel@m.gmane.org; Fri, 04 Jan 2013 14:06:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrCbS-0002CN-Ii for emacs-devel@gnu.org; Fri, 04 Jan 2013 14:06:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrCbR-0001Qp-G3 for emacs-devel@gnu.org; Fri, 04 Jan 2013 14:06:50 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:38069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrCbR-0001Qj-9U for emacs-devel@gnu.org; Fri, 04 Jan 2013 14:06:49 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TrCbb-0001MN-Mw for emacs-devel@gnu.org; Fri, 04 Jan 2013 20:06:59 +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, 04 Jan 2013 20:06:59 +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, 04 Jan 2013 20:06:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 30 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:J5uJ7t2h8U2XoXZhG3LyUuGSgm8= 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:156084 Archived-At: On Fri, 04 Jan 2013 13:11:09 -0500 Stefan Monnier wrote: >> Now, since everyone but Xue Fuqiao has told me that tying package.el to >> the DVCS is a bad idea, we need to decide how these signatures will be >> stored in the ELPA, and how they can fit into the existing ELPA >> structure. Nic Ferrier's proposal of a "key package" seems workable; >> that package can be signed with the GNU ELPA maintainer's public key to >> bootstrap the rest of the process. SM> The signatures should be added to the `archive-contents' file. I think `archive-contents' should contain just the keys allowed to sign the package, not the signatures whole. Otherwise, for multi-file packages, the file could get large and the format could be awkward. To support both single-file and multi-file packages, I propose a X.sig signature file for each file X in the package directory hierarchy. I think it's better to have the GNU ELPA maintainers sign package releases, not to delegate that to the authors. That would make it unnecessary to modify the `archive-contents' format at all to store the author keys. It's more work for the GNU ELPA maintainers, but much less work for the authors. I imagine it would work, on the maintainer side, by modifying `archive-contents' with the new version, and then the deployment script would sign each file as it deploys it in place. Either way, the entire `archive-contents' file will be signed by one of the GNU ELPA maintainer keys in `archive-contents.sig', right? How do we distribute the GNU ELPA maintainer keys? With Emacs itself? Ted