News for hackers. Stuff that matters.
Re:"Unknown or expired link." - Why? by wnight on Tuesday October 11, 2011 @04:39PM (#3100201)
It's not a druthers kind of thing. If you need to trust that it hasn't been tampered with you must sign it.

And if you don't care you might as well not add authentication because without signing it's just a fancy CRC - ie, totally replicable by an attacker. As cookies and links are sent over TCP there should be vanishingly few errors in transmission - you're far more likely to introduce false positives with buggy code, and ...

You need to sanity check your inputs anyways. Just do it. This is also how you avoid bugs normally.

Re:"Unknown or expired link." - Why? by Dylan16807 on Tuesday October 11, 2011 @04:52PM (#3100253)
I'm not sure what your argument is.

Yes if you want to trust it you have to sign it and make sure you implement all the crypto correctly. But I don't see a need for that here.

Also TCP's checksum sucks.

Re:"Unknown or expired link." - Why? by wnight on Thursday October 13, 2011 @11:46PM (#3109834)
You said "sign or sanity check it", as if you can do whichever you want. But in the area suggested they have vast differences and security implications.

How many corrupted web pages do you see because of CRC failure in TCP?