Conversation
Using http:// for APT repositories by default made sense for Debian and debos years ago for client performance, server load and caching friendliness, but it compromised privacy and can be seen under a bad light when looking at it from a cybersecurity standpoint. Change the default Debian mirror (deb.debian.org) from http to https. Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Use https instead of http for the Debian mirror when creating build chroots. Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
This typically won't help for caching, but is symetric to http proxy handling and can help with connectivity. Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Contributor
|
I'm OK with shipping sources.list with https, but can we continue to use plain http for development and testing please? Otherwise caching becomes impossible. |
Contributor
|
(which is going to slow down development iterations massively) |
Test jobs for commit 8b58150 |
Contributor
|
I understand this will be more of a pain to implement whatever we do. The best I can think of is to parameterise whether we want http or https, perhaps default to https for safety, allow the developer to override for local builds, and maybe add some tests to ensure that there are no plain http:// in sources.list at the end. |
Contributor
Author
|
After feedback from upstream, I'm not sure I'll pursue this branch, but I should at least move it to draft. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Review http vs https usage in the project and use https where it makes sense.
This is particularly important in the context of compliance as http:// might be seen as insecure, or at least lacking confidentiality.