4 ms·
This is addressed in the "privacy" section. Basically, your premise is wrong. TLS does not provide additionally privacy for this usecase. The short summary i
by loeg 8y ago
This is addressed in the "privacy" section. Basically, your premise is wrong. TLS does not provide additionally privacy for this usecase. The short summary is: the size of transmitted data makes inferring what you've downloaded from a public file mirror trivial for a passive observer, even with TLS.
- hopler 8y agoPerhaps apt should pad its downloads
- loeg 8y agoPadding doesn't solve the privacy problem without unacceptable tradeoffs (i.e., pad all packages to the same size).
- sattoshi 8y agoPad all packages to the nearest in a list of sizes?
- loeg 8y agoHow many bits of privacy are you willing to give up here? Debian only has about 48,000 packages. That's almost 16 bits, total, with perfect privacy — all packages enlarged to the same size. You can select a list of sizes trading off collisions (2 packages with same size => 1 bit of privacy; 4 => 2 bits, etc). But the most you ever get is (nearly) 16. The amount of padding you need to even get 2 bits of privacy (giving up almost 14) on the long tail of large packages is going to be "a lot" and it grows as you want more bits.
- shasheene 8y agoSome further pros and cons of padding is discussed elsewhere in the thread. Providing privacy for the packages that, including dependencies, are less than 100MB in size is something that's probably worth doing. The cost of padding an apt-get process to the nearest say, 100MB, is not necessarily infeasible as far as bandwidth goes. Instead of padding individual files, how about a means to arbitrarily download some number of bytes from an infinite stream? That would appear to be sufficient to prevent file size analysis (but probably not timing attacks). Exposing something like /dev/random via a symbolic link and allowing the apt-get client to close the stream after the total transfer reaches 100MB would appear to make it harder to infer packages based on the transferred bytes, without being very difficult to roll out.
- JdeBP 8y agoThis has already been discussed in this very discussion. * https://news.ycombinator.com/item?id=18959470 https://news.ycombinator.com/item?id=18959470
- dcbadacd 8y agoIt's a big step from "just `cat` the traffic to know" to "start comparing file-sizes and hope no sizes match" in terms of privacy.
- loeg 8y agoI'd say you're flat out wrong — there is no big step. We'll have to agree to disagree, I guess.
- JdeBP 8y agoThis has already been discussed in this very discussion. * https://news.ycombinator.com/item?id=18958679 https://news.ycombinator.com/item?id=18958679 * https://news.ycombinator.com/item?id=18962084 https://news.ycombinator.com/item?id=18962084 * https://news.ycombinator.com/item?id=18961014 https://news.ycombinator.com/item?id=18961014 * https://news.ycombinator.com/item?id=18960255 https://news.ycombinator.com/item?id=18960255