unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: serving ELPA over HTTP/S
Date: Mon, 04 May 2015 15:16:01 -0400	[thread overview]
Message-ID: <jwvwq0oyx5m.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87d22g8h7d.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 04 May 2015 12:01:42 -0400")

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.

Better/worse is not sufficient in itself to justify annoying the user.
So the "why" was really saying "why is it a big enough deal"?

SM> * maybe add the GNU ELPA SSL certificate chain explicitly to Emacs
SM> IIUC it's not necessary because that should already be installed on
SM> your system.
> Unfortunately it's not always the case. If we want package installation
> to always work, we should provide a safety net.  But I'm not insisting
> on this, only suggesting it.

Package installation should indeed work even without those
certificate chains.  Either by accepting the "unverified" certificates,
or by falling back to HTTP.

>>> We can switch to an external binary for the data transfer, for instance.
SM> Why bother?
> To provide a fallback.  But I agree that it's better to just ask for GnuTLS.

We already have a fallback to HTTP.  I think it's sufficient.

> OK. Perhaps it's best to simply make it a list instead of a string and
> try each one in sequence.

Why?  Why not just

  (if (we-have-gnutls) <thehttpsurl> <thehttpurl>)


-- Stefan



  parent reply	other threads:[~2015-05-04 19:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-04 13:25 serving ELPA over HTTP/S Ted Zlatanov
2015-05-04 14:22 ` Stefan Monnier
2015-05-04 14:53   ` Ted Zlatanov
2015-05-04 15:41     ` Stefan Monnier
2015-05-04 16:01       ` Ted Zlatanov
2015-05-04 17:20         ` Ivan Shmakov
2015-05-04 19:16         ` Stefan Monnier [this message]
2015-05-04 19:54           ` Ted Zlatanov
2015-05-05 11:50             ` Stefan Monnier
2015-05-05 14:19               ` Ted Zlatanov
2015-05-05 14:53                 ` Artur Malabarba
2015-05-05 17:38                 ` Stefan Monnier
2015-05-04 14:42 ` Artur Malabarba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvwq0oyx5m.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).