News for hackers. Stuff that matters.
Re:Transmission BitTorrent app contained malware by ikeboy on Sunday March 06, 2016 @01:27PM (#11234808)
>unless the main site is secure but the downloads aren't which is idiotic by 2016 standards anyway

https adds a performance hit. The security of "checksum over https and actual file over http", if the checksum is checked, is the same as "actual file over https", barring preimage attacks.

Re:Transmission BitTorrent app contained malware by jakobegger on Sunday March 06, 2016 @02:03PM (#11235002)
This attitude is completely irresponsible.

HTTPS will ensure integrity of your download automatically with no action required from the user.

Checksums require the user to perform the integrity check manually, and 99.9% of users wont bother.

Please don't put your users at risk just to save a negligibly small number of CPU cycles.

Re:Transmission BitTorrent app contained malware by ikeboy on Sunday March 06, 2016 @02:13PM (#11235055)
Granted, the project I saw this reasoning on (https://www.whonix.org/wiki/Download_Security) is one where users are especially likely to do security checks, and they generally aren't satisfied with the security of SSL anyway.

> just to save a negligibly small number of CPU cycles

The link above says they can't afford the additional cost. If it's so negligible, would you sponder the cost of those extra cycles? I'm sure they would host on SSL if someone covered the cost.

Re:Transmission BitTorrent app contained malware by nmjohn on Sunday March 06, 2016 @03:15PM (#11235353)
Quote from a google engineer in 2010 (it's only gotten cheaper in the last 6 years w/ advances in CPU tech) regarding SSL overhead:

> On our production frontend machines, SSL/TLS accounts for less than 1% of the CPU load, less than 10KB of memory per connection and less than 2% of network overhead. Many people believe that SSL takes a lot of CPU time and we hope the above numbers (public for the first time) will help to dispel that. [0]

[0]: https://www.imperialviolet.org/2010/06/25/overclocking-ssl.h...

Re:Transmission BitTorrent app contained malware by ikeboy on Sunday March 06, 2016 @03:17PM (#11235356)
None of affects the point they're making, which is that they can't find SSL mirrors that aren't more expensive. If you find one, let them know and I'm sure they'll be happy to switch over.
Re:Transmission BitTorrent app contained malware by owaislone on Sunday March 06, 2016 @06:54PM (#11236248)
It is 2016. SSL is not slow anymore. Only case it could be deemed slow would be on a webpage where the browser has to download a ton of small files likes images. Each image would require a new connection and each connection would require full SSL handshake. Even then the fix is not to not use SSL but to bundle all the images/files into 1.
Re:Transmission BitTorrent app contained malware by x0 on Sunday March 06, 2016 @09:11PM (#11236661)
Maybe not computationally, but if you're 100ms, 200ms, 300ms or more away from the rest of the internet, all the SSL handshakes really add up.
Re:Transmission BitTorrent app contained malware by nmjohn on Monday March 07, 2016 @12:58AM (#11237372)
Keep in mind the topic at hand is downloading a single large file, the TLS handshake is a rounding error of the total time, regardless of where you are in the world.
Re:Transmission BitTorrent app contained malware by ianlevesque on Sunday March 06, 2016 @01:55PM (#11234958)
This is a persistent myth https://istlsfastyet.com
Re:Transmission BitTorrent app contained malware by ikeboy on Sunday March 06, 2016 @02:10PM (#11235037)
I've seen whonix say this

https://www.whonix.org/wiki/Download_Security

>Practically it is difficult to provide SSL protected downloads at all. Many important software projects can only be downloaded in the clear, such as Ubuntu, Debian, Tails, Qubes OS, etc. This is because someone has to pay the bill and SSL (encryption) makes it more expensive. At the moment we don't have any mirror supporting SSL. We're looking for SSL supported mirrors to share the load.

Is it not true that mirrors supporting SSL are more expensive?

Re:Transmission BitTorrent app contained malware by snom380 on Sunday March 06, 2016 @02:42PM (#11235205)
No, it's not true anymore. From the link you replied to:

"On our production frontend machines, SSL/TLS accounts for less than 1% of the CPU load, less than 10 KB of memory per connection and less than 2% of network overhead. Many people believe that SSL/TLS takes a lot of CPU time and we hope the preceding numbers will help to dispel that." - Adam Langley, Google

Getting an SSL certificate used to be a cost, but that's taken care of now by https://letsencrypt.org/.

Re:Transmission BitTorrent app contained malware by ikeboy on Sunday March 06, 2016 @02:55PM (#11235265)
So can you recommend a mirror for them that supports SSL?

There are multiple named projects there that aren't using SSL, and I don't think it's just laziness. If you know of a way for them to use SSL mirrors for no additional cost, I'll work on getting them to switch over.

Re:Transmission BitTorrent app contained malware by codehusker on Sunday March 06, 2016 @04:35PM (#11235655)
Debian, Ubuntu, Qubes, and others are on https://mirrors.kernel.org.

I suspect that wiki page you linked might be out of date. It seems like all of the Whonix download links on their website are over https, like the VirtualBox images https://www.whonix.org/download/12.0.0.3.2/Whonix-Workstatio....

Whonix also runs a tor mirror, which has significantly more overhead than TLS.

Re:Transmission BitTorrent app contained malware by codehusker on Sunday March 06, 2016 @04:54PM (#11235732)
I know the last time I played with Whonix it was http, so I think you're right that it's a recent change.

For tails: https://tails.thecthulhu.com/. It appears to be the same server behind http://dl.amnesia.boum.org/ based on the TLS cert.

The situation is messy to actually use https for all of these projects, but I think the issue now is organization rather than overhead.

Re:Transmission BitTorrent app contained malware by ikeboy on Sunday March 06, 2016 @04:46PM (#11235698)
Huh. The language there seems to be from 2013.

I seem to remember downloading whonix from their site over HTTP around a year ago.

Do you see a tails HTTPS mirror?

Re:Transmission BitTorrent app contained malware by tbirdz on Sunday March 06, 2016 @08:28PM (#11236528)
This is only true for Intel and AMD x86_64 servers that have hardware accelerated AES with the AES-NI instruction set. Software implementations of AES and the other ciphers are much, much slower than AES with hardware acceleration. RC4 was the fastest decent software cipher for a while, but that has been found to be insecure and its use is discouraged. The fastest possible replacement would probably be ChaCha20, but that cipher is not widely supported yet. The other software ciphers are very slow, and certainly wouldn't be considered as "fast yet".