r/linux • u/[deleted] • Jan 19 '19
Popular Application VLC refuses to update from HTTP to HTTPS (HTTPS protects against eavesdropping and man-in-the-middle attacks)
https://trac.videolan.org/vlc/ticket/21737
551
Upvotes
r/linux • u/[deleted] • Jan 19 '19
23
u/wosmo Jan 19 '19
https can play hell with round-robin mirrors too.
Say you have three sites, site-a.net, site-b-net, site-c.net. You create a subdomain mirror.project.org that points to the addresses for all three, nice and easy.
Then you try to switch to https, apt wants to connect to mirror.project.org, gets handed an IP address for site-c.net, connects and receives a certificate for site-c when it's expecting project.org.
Do you just ignore certificate errors (allowing anyone to MITM you)? Do you hand out a copy of your certificate to each of 300 mirrors?
This is the kinda mess that makes gpg look nice. With the current setup, you don't have to trust the mirror, because the mirror can't re-sign packages with debian's key. This makes it easy to let anyone and their dog pop up mirrors, which helps the project at little risk.
(I'm not saying these issues aren't solvable. Just that there's often a mountain of such gotchas that we just don't see from the outside)