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: [PATCH] package.el: check tarball signature Date: Sat, 05 Oct 2013 06:11:51 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8738ogrpqw.fsf@flea.lifelogs.com> References: <874n92x9em.fsf@flea.lifelogs.com> <87fvsk9m8b.fsf-ueno@gnu.org> <877gdutp1l.fsf@flea.lifelogs.com> <83pprkc02t.fsf@gnu.org> <87fvsgspq3.fsf@flea.lifelogs.com> <83mwmob3dm.fsf@gnu.org> 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 1380967924 18555 80.91.229.3 (5 Oct 2013 10:12:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Oct 2013 10:12:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 05 12:12:07 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 1VSOqF-0007lj-Av for ged-emacs-devel@m.gmane.org; Sat, 05 Oct 2013 12:12:07 +0200 Original-Received: from localhost ([::1]:51375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSOqE-0002sb-Ng for ged-emacs-devel@m.gmane.org; Sat, 05 Oct 2013 06:12:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSOq7-0002re-2Q for emacs-devel@gnu.org; Sat, 05 Oct 2013 06:12:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VSOq1-0003Mi-Tg for emacs-devel@gnu.org; Sat, 05 Oct 2013 06:11:59 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:43548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSOq1-0003Mb-N5 for emacs-devel@gnu.org; Sat, 05 Oct 2013 06:11:53 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VSOq0-0007bn-3f for emacs-devel@gnu.org; Sat, 05 Oct 2013 12:11:52 +0200 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Oct 2013 12:11:52 +0200 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Oct 2013 12:11:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.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.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:A+y6ONudoJv/lkJE6SWZhj8l2i4= 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:163872 Archived-At: On Sat, 05 Oct 2013 10:09:25 +0300 Eli Zaretskii wrote: >> From: Ted Zlatanov >> Date: Fri, 04 Oct 2013 17:14:44 -0400 >> >> >> Actually, let's wait. If all turn out well, most/all ELPA archives will >> >> start providing signatures in the not too distant future and there'll be >> >> no need for per-archive settings (and we can change the default to t). >> EZ> Are you saying that verification will not need gpg be installed? >> >> If my work with libnettle progresses well, I think we'll be able to at >> least verify GPG signatures without calling out to GnuPG or other tools >> on all the platforms that have libnettle+libhogweed (any platforms with >> GnuTLS support AFAIK). EZ> And what about users whose Emacs doesn't have GnuTLS? Are we saying EZ> they will not be able to install packages from ELPA without being EZ> annoyed by prompts and error messages? No one has said that AFAIK. My suggestion was to give users the choice (per archive) to always, maybe, or never verify packages. Currently this choice is global in Daiki Ueno's changes that were committed recently, but it's still a choice. The signature verification method will be anything that can take a .sig file and check that it's been signed by a maintainer's key, according to the OpenPGP protocol in RFC 4880. Daiki Ueno has implemented a epg.el-backed verification method using calls to the external GnuPG that works today. I will (perhaps with others' help) try to implement a libnettle+libhogweed-backed verification method that only requires those libraries and makes no external calls. I expect the user will be able to decide which one to use, or even both if they wish. Ted