News for hackers. Stuff that matters.
Re:Tptacek's Review of "Practical Cryptography With Go" by thrownaway2424 on Wednesday April 16, 2014 @10:23AM (#7597924)
That's a very weird lesson to learn from the heartbleed bug. What I learned is cryptography experts should be consulted on matters of math and ignored on matters of software. Any non-zero application of software development best practices would have prevented the heartbleed flaw, including:

1: Don't implement features you don't need. Nobody needs TLS heartbeat. Nobody. Don't implement it until you have a use case and the calling code in hand.

2: Test the features you do implement. What happens if this field is the minimum? The maximum? A power of 2? A power of 2, less 1? Negative when treated as signed?

There are no comments on this comment yet.