* [Buildroot] github tarball urls: http vs https @ 2013-11-02 16:53 Thomas De Schampheleire 2013-11-02 17:47 ` Jerzy Grzegorek 0 siblings, 1 reply; 7+ messages in thread From: Thomas De Schampheleire @ 2013-11-02 16:53 UTC (permalink / raw) To: buildroot Hi, Packages that are hosted on github and downloaded with the tarball method, can either have a http or https URL. It seems that a download from http is redirected to the corresponding https URL. To avoid such an unnecessary redirect, we could update all github .mk files to use https directly. I vaguely recall a discussion on the mailing list about this, but I don't know what the outcome was. Was there a problem using the https URLs with respect to certificates? If we can clarify this point, we can cleanup and update the manual (which talks about http). Thanks, Thomas ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] github tarball urls: http vs https 2013-11-02 16:53 [Buildroot] github tarball urls: http vs https Thomas De Schampheleire @ 2013-11-02 17:47 ` Jerzy Grzegorek 2013-11-02 18:04 ` Thomas De Schampheleire 0 siblings, 1 reply; 7+ messages in thread From: Jerzy Grzegorek @ 2013-11-02 17:47 UTC (permalink / raw) To: buildroot Hi Thomas, > Hi, > > Packages that are hosted on github and downloaded with the tarball > method, can either have a http or https URL. It seems that a download > from http is redirected to the corresponding https URL. To avoid such > an unnecessary redirect, we could update all github .mk files to use > https directly. > > I vaguely recall a discussion on the mailing list about this, but I > don't know what the outcome was. Was there a problem using the https > URLs with respect to certificates? It was my proposal. Please look here: http://lists.busybox.net/pipermail/buildroot/2013-October/079209.html Regards, Jerzy > If we can clarify this point, we can cleanup and update the manual > (which talks about http). > > Thanks, > Thomas > ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] github tarball urls: http vs https 2013-11-02 17:47 ` Jerzy Grzegorek @ 2013-11-02 18:04 ` Thomas De Schampheleire 2013-11-04 6:47 ` Arnout Vandecappelle 0 siblings, 1 reply; 7+ messages in thread From: Thomas De Schampheleire @ 2013-11-02 18:04 UTC (permalink / raw) To: buildroot Hi Jerzy, Arnout, all, On Sat, Nov 2, 2013 at 6:47 PM, Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> wrote: [..] >> Packages that are hosted on github and downloaded with the tarball >> method, can either have a http or https URL. It seems that a download >> from http is redirected to the corresponding https URL. To avoid such >> an unnecessary redirect, we could update all github .mk files to use >> https directly. >> >> I vaguely recall a discussion on the mailing list about this, but I >> don't know what the outcome was. Was there a problem using the https >> URLs with respect to certificates? > > > It was my proposal. > Please look here: > http://lists.busybox.net/pipermail/buildroot/2013-October/079209.html > Thanks for the link. However, besides a comment from Arnout, the discussion was more about the VERSION part rather than the URL itself. Arnout, in that thread you wrote: "Also you change the URL to https here. With the recent problems with https URLs that we've seen on the autobuilders recently, I wonder if this is a good idea?" Could you clarify what problems you were talking about? Thanks, Thomas ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] github tarball urls: http vs https 2013-11-02 18:04 ` Thomas De Schampheleire @ 2013-11-04 6:47 ` Arnout Vandecappelle 2013-11-04 8:33 ` Thomas De Schampheleire 0 siblings, 1 reply; 7+ messages in thread From: Arnout Vandecappelle @ 2013-11-04 6:47 UTC (permalink / raw) To: buildroot On 02/11/13 19:04, Thomas De Schampheleire wrote: > Hi Jerzy, Arnout, all, > > On Sat, Nov 2, 2013 at 6:47 PM, Jerzy Grzegorek > <jerzy.grzegorek@trzebnica.net> wrote: > [..] >>> Packages that are hosted on github and downloaded with the tarball >>> method, can either have a http or https URL. It seems that a download >>> from http is redirected to the corresponding https URL. To avoid such >>> an unnecessary redirect, we could update all github .mk files to use >>> https directly. >>> >>> I vaguely recall a discussion on the mailing list about this, but I >>> don't know what the outcome was. Was there a problem using the https >>> URLs with respect to certificates? >> >> >> It was my proposal. >> Please look here: >> http://lists.busybox.net/pipermail/buildroot/2013-October/079209.html >> > > Thanks for the link. However, besides a comment from Arnout, the > discussion was more about the VERSION part rather than the URL itself. > > Arnout, in that thread you wrote: > "Also you change the URL to https here. With the recent problems with > https URLs that we've seen on the autobuilders recently, I wonder if this > is a good idea?" First of all: I didn't realize that the http URL just redirects to an https URL. In that case, obviously, using the https URL is better. > > Could you clarify what problems you were talking about? IIRC, at some point there was a problem that a download site used a certificate signed by a recent CA that was not included in the autobuilder's trusted certificate list, so wget would not accept it. It was discussed that an option was to run wget with --no-check-certificate, but this would defeat the purpose of https so was rejected. Of course, using an http URL instead of an https has the same result. Regards, Arnout -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] github tarball urls: http vs https 2013-11-04 6:47 ` Arnout Vandecappelle @ 2013-11-04 8:33 ` Thomas De Schampheleire 2013-11-04 21:28 ` Arnout Vandecappelle 0 siblings, 1 reply; 7+ messages in thread From: Thomas De Schampheleire @ 2013-11-04 8:33 UTC (permalink / raw) To: buildroot Hi Arnout, On Mon, Nov 4, 2013 at 7:47 AM, Arnout Vandecappelle <arnout@mind.be> wrote: > On 02/11/13 19:04, Thomas De Schampheleire wrote: [..] >> Arnout, in that thread you wrote: >> "Also you change the URL to https here. With the recent problems with >> https URLs that we've seen on the autobuilders recently, I wonder if this >> is a good idea?" > > > First of all: I didn't realize that the http URL just redirects to an https > URL. In that case, obviously, using the https URL is better. > > >> >> Could you clarify what problems you were talking about? > > > IIRC, at some point there was a problem that a download site used a > certificate signed by a recent CA that was not included in the autobuilder's > trusted certificate list, so wget would not accept it. It was discussed that > an option was to run wget with --no-check-certificate, but this would defeat > the purpose of https so was rejected. Of course, using an http URL instead > of an https has the same result. But this seems to be a temporary problem only. Besides, what happens in that scenario if you try http, and the server redirects it to https? I would expect the certificate to fail, or does wget pass an implicit --no-check-certificate in this case? Best regards, Thomas ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] github tarball urls: http vs https 2013-11-04 8:33 ` Thomas De Schampheleire @ 2013-11-04 21:28 ` Arnout Vandecappelle 2013-11-05 8:11 ` Thomas De Schampheleire 0 siblings, 1 reply; 7+ messages in thread From: Arnout Vandecappelle @ 2013-11-04 21:28 UTC (permalink / raw) To: buildroot On 04/11/13 09:33, Thomas De Schampheleire wrote: > Hi Arnout, > > On Mon, Nov 4, 2013 at 7:47 AM, Arnout Vandecappelle <arnout@mind.be> wrote: >> On 02/11/13 19:04, Thomas De Schampheleire wrote: > [..] >>> Arnout, in that thread you wrote: >>> "Also you change the URL to https here. With the recent problems with >>> https URLs that we've seen on the autobuilders recently, I wonder if this >>> is a good idea?" >> >> >> First of all: I didn't realize that the http URL just redirects to an https >> URL. In that case, obviously, using the https URL is better. >> >> >>> >>> Could you clarify what problems you were talking about? >> >> >> IIRC, at some point there was a problem that a download site used a >> certificate signed by a recent CA that was not included in the autobuilder's >> trusted certificate list, so wget would not accept it. It was discussed that >> an option was to run wget with --no-check-certificate, but this would defeat >> the purpose of https so was rejected. Of course, using an http URL instead >> of an https has the same result. > > But this seems to be a temporary problem only. "Temporary" until the autobuilder's CA certificates are updated, you mean? > Besides, what happens in that scenario if you try http, and the server > redirects it to https? I would expect the certificate to fail, or does > wget pass an implicit --no-check-certificate in this case? If it redirects, it will still fail. That's why using the https URL is better in that case, as I mentioned above. Regards, Arnout > > Best regards, > Thomas > > -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] github tarball urls: http vs https 2013-11-04 21:28 ` Arnout Vandecappelle @ 2013-11-05 8:11 ` Thomas De Schampheleire 0 siblings, 0 replies; 7+ messages in thread From: Thomas De Schampheleire @ 2013-11-05 8:11 UTC (permalink / raw) To: buildroot Hi Arnout, all, On Mon, Nov 4, 2013 at 10:28 PM, Arnout Vandecappelle <arnout@mind.be> wrote: > On 04/11/13 09:33, Thomas De Schampheleire wrote: >> >>> IIRC, at some point there was a problem that a download site used a >>> certificate signed by a recent CA that was not included in the >>> autobuilder's >>> trusted certificate list, so wget would not accept it. It was discussed >>> that >>> an option was to run wget with --no-check-certificate, but this would >>> defeat >>> the purpose of https so was rejected. Of course, using an http URL >>> instead >>> of an https has the same result. >> >> >> But this seems to be a temporary problem only. > > > "Temporary" until the autobuilder's CA certificates are updated, you mean? > Yes, that's what I meant. > >> Besides, what happens in that scenario if you try http, and the server >> redirects it to https? I would expect the certificate to fail, or does >> wget pass an implicit --no-check-certificate in this case? > > > If it redirects, it will still fail. That's why using the https URL is > better in that case, as I mentioned above. > Ok, great, so it looks like we have a plan: we implement a github helper, and have that use https directly. Now we need a volunteer to do this. I have no problem in doing it but it would end up on my todo list first, so if there is anyone else who has time, then please be my guest. Best regards, Thomas ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-11-05 8:11 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-11-02 16:53 [Buildroot] github tarball urls: http vs https Thomas De Schampheleire 2013-11-02 17:47 ` Jerzy Grzegorek 2013-11-02 18:04 ` Thomas De Schampheleire 2013-11-04 6:47 ` Arnout Vandecappelle 2013-11-04 8:33 ` Thomas De Schampheleire 2013-11-04 21:28 ` Arnout Vandecappelle 2013-11-05 8:11 ` Thomas De Schampheleire
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.