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: serving ELPA over HTTP/S Date: Mon, 04 May 2015 15:54:44 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <871tiw86ez.fsf@lifelogs.com> References: <87oam08ofr.fsf@lifelogs.com> <87k2wo8kd7.fsf@lifelogs.com> <87d22g8h7d.fsf@lifelogs.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1430769310 22370 80.91.229.3 (4 May 2015 19:55:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 May 2015 19:55:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 04 21:55:02 2015 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 1YpMSB-0007Ow-U7 for ged-emacs-devel@m.gmane.org; Mon, 04 May 2015 21:55:00 +0200 Original-Received: from localhost ([::1]:35811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpMSB-0006oF-AA for ged-emacs-devel@m.gmane.org; Mon, 04 May 2015 15:54:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpMRy-0006oA-9B for emacs-devel@gnu.org; Mon, 04 May 2015 15:54:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpMRv-00078d-2K for emacs-devel@gnu.org; Mon, 04 May 2015 15:54:46 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:34253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpMRu-00078Y-Rj for emacs-devel@gnu.org; Mon, 04 May 2015 15:54:42 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YpMRr-0007Di-Kr for emacs-devel@gnu.org; Mon, 04 May 2015 21:54:39 +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 ; Mon, 04 May 2015 21:54:39 +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 ; Mon, 04 May 2015 21:54:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 43 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.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:/7Ca6xJ4cH1tte4d95uMlP+O81w= 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:186205 Archived-At: On Mon, 04 May 2015 15:16:01 -0400 Stefan Monnier wrote: SM> * warn and possibly abort when ELPA transfers are done over HTTP SM> * offer to switch the "gnu" ELPA archive to https://elpa.gnu.org SM> Why? >> Because HTTP is worse than HTTP/S as a software delivery channel in >> almost every way. SM> Better/worse is not sufficient in itself to justify annoying the user. SM> So the "why" was really saying "why is it a big enough deal"? Clearly, because I think it's worth annoying the user, since plain HTTP should be the exception. SM> Package installation should indeed work even without those SM> certificate chains. Either by accepting the "unverified" certificates, SM> or by falling back to HTTP. OK, I think we can accommodate that. >> OK. Perhaps it's best to simply make it a list instead of a string and >> try each one in sequence. SM> Why? Why not just SM> (if (we-have-gnutls) ) 1) so ELPA archives can have multiple URLs. Assuming there's just one is not ideal in the long term. 2) because I don't think this should be set in the code. It's a user choice. On Mon, 04 May 2015 17:20:46 +0000 Ivan Shmakov wrote: TZ> Because HTTP is worse than HTTP/S as a software delivery channel in TZ> almost every way. IS> … Except for the cache-ability, where HTTP is a sure winner. I don't think that matters too much in our case, but yes, that's one of the ways HTTP is better. Ted