Summary: | Pin HTTPS support of Pakfire mirrors | ||
---|---|---|---|
Product: | Pakfire | Reporter: | Peter Müller <peter.mueller> |
Component: | Base | Assignee: | Michael Tremer <michael.tremer> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Security | ||
Priority: | - Unknown - | ||
Version: | unspecified | ||
Hardware: | all | ||
OS: | All | ||
See Also: | https://bugzilla.ipfire.org/show_bug.cgi?id=11539 | ||
Attachments: | attachment-32191-0.html |
Description
Peter Müller
2018-03-03 21:36:38 UTC
Have you tried to change this line, so that https:// is added instead of http://? https://git.ipfire.org/?p=ipfire-2.x.git;a=blob;f=src/pakfire/lib/functions.pl;h=0bf702e5b0f5618c15348f95910313dba9949d3c;hb=HEAD#l178 You can get the protocol from the $proto variable. It probably wasn't wise to never check this in the current version, but clients will automatically try HTTP, even if we change the field to HTTPS. Sent in second patch: https://patchwork.ipfire.org/patch/1716/ Created attachment 567 [details]
attachment-32191-0.html
Patch accepted. I added the upstream proxy for HTTPS, too. We need to make sure that the initial server list is also being downloaded over HTTPS. Should be a separate ticket.
Lists have now been updated, too: https://mirror1.ipfire.org/pakfire2/2.19-x86_64/lists/server-list.db Great, thank you. I will test at the weekend... Core Update 120 has been released. |