Better HN
topnewbestaskshowjobs
Log inSign up

_mpu

19 karma · joined Mar 25, 2012 (14y ago) · 10 submissions

Submissions

comment 11y ago · link · parent

In your case, PGP would be the best and not so hard to implement.

If you don't want/know how to use PGP you can also publish the SHA1 sums of the files available on your download page. It's better than nothing.

The second alternative is weaker because an attacker would simply need to change the binary and the sum on the website. In the PGP case, the attacker must get access to your PGP private key, and provided that you use PGP reasonably (no private key on your web server), this is harder.

comment 11y ago · link · parent

Are people serious when they say they "love the idea" of copying a binary to their server to run a blog service? It sounds very much like installing a shareware in the 90s.

In the current context (NSA, generalized spying, ...), I hope that everybody realizes it's not an ideal way to distribute software.

Please provide cryptographic signatures or at least sha sums, if you really think this is the best way to distribute software.

comment 13y ago · link · parent

Wrapping an if in a lambda is unlikely to work as expected.

comment 13y ago · link · parent

By experience, it just lets you avoid getting a shitload of brute-force attacks. So I do it.

comment 13y ago · link · parent

WOuld you stop creating useless stuff?

comment 13y ago · link · parent

The speed at which they get regexps out is kind of frightening, I find...

comment 13y ago · link · parent

Not sure how inotify is different from while+stat?

comment 13y ago · link · parent

Common, this is pure Apple dope... And how cliché! The neat and clean hacker standing straight in front of an espresso and his shiny Macbook lying a sweet wooden table...

Hacking is sooooooo cool and clean!

comment 13y ago · link · parent

I agree. I don't understand why people keep trying to deface C. This "indentation" scheme is by all mean ridiculous and not practical. One thing we learn from this article is that the author actually does not program in C.

comment 13y ago · link · parent

Less typing, less lines, more information on the screen and the readability is not impaired.