I commented with a link to the CPRNG you should be using.
421 karma · joined September 12, 2011
[ my public key: https://keybase.io/richo; my proof: https://keybase.io/richo/sigs/6BEdMPB9A3K5j8kz-G7J_nFkbHpHzr1cCswu9oV3M4Y ]
I commented with a link to the CPRNG you should be using.
https://github.com/davidmoreno/onion/blob/master/src/onion/s...
The fact that in amongst the doc comment is "not really safe" should probably be a big red flag.
Then this happens:
https://github.com/davidmoreno/onion/blob/master/src/onion/s...
Not to mention that here:
https://github.com/davidmoreno/onion/blob/master/src/onion/h...
It'll just let you in if you can guess someone else's session.
Seriously. Systems ship with crypto API's. And uuid libraries.
USE THEM, FFS.
We use well audited crypto primitives with formal proofs because they're known safe, or at least orders of magnitude safer than whatever these fools cooked up.
tl;dr provide proof or gtfo. We're not here to audit you.
Their statutory minimum to investigate is 5k, but they suggested it's worth getting in touch with them either way. If nothing else, it'll give them an excuse to say "cyber" a few more times.
Between this and your "but we totes destroy ciphertext after T seconds" (which is just flat out untennable, and unprovable) I'm pretty spectacularly weary.
I'm also pretty curious to know how you're deriving keys from the users passwords. How is the exchange of key material handled?
I weep for all the claims this makes about security.
I was hating c++ for vague reasons I couldn't place. I was wrong.
Edit: Just saw the author explain why that won't happen.
I'm still pretty stunned you weren't able to get in touch with them.
Ages ago I was hacking linux onto an ARM soc that claimed to have memory it didn't (it wasn't aware of the display's DMA segment). It was near the top of the address space, so generally speaking it didn't cause too many problems, but until I could debug it I needed to keep memory usage low, wchih meant disabling the disk cache. What a shitshow that was :/
When I read the linkbait title, I implicitly thought "writing code? FIND your boundaries". Think threading is simple? Write something nontrivial with threads. Discover how outrageously hard threads are!
The memory and parse time argument is invalid imo. Lexing a file with wildly abudant whitespace is going to take a delta longer that's insignificant compared to the parse time.
Loading it is normally a concern because of network bandwidth and latency, especially if it'll push you over MTU.
<?xml version="1.0" encoding="UTF-8"?> <Response><Errors><Error><Code>Unavailable</Code><Message>The service is unavailable. Please try again shortly.</Message></Error></Errors><RequestID>d063a1f7-9fa9-41bb-8792-xxxxxxxxxxxxxx</RequestID></Response>
If they respond nicely, and with a plausible explaination I'll generally thank for them for their interest, but tell them I'm not interested and have a nice day.
If they're hostile about it/obviously lie I'll typically blackhole them and mark as spam/internally subscribe them to my "people I will personally ruin when I'm godking of this domain" list.
That said, that's the least important reason, the more important one being that you can't just nail people with any kind of gun at an infosec conference, no matter how unconf it is.
That said, I doubt anyone interested in working for the NSA would be put off by this/the recent leaks, or that anyone who didn't want to work for the NSA was going to change their mind at DEF CON.
Personally I feel SPDY was a huge benefit to the internet, but in saying that it was a huge benefit in the form of "a cautionary tale to others"
Having known vulnerabilities baked into a standard with "weird looking" mitigation strategies is really poor choice IMO.
That said, I do see your point. There are also other edgecases, like serving statics on a seperate, uncookied domain that benefit greatly from SPDY in the here and now.
Choose one, SPDY mandates gzip, and gzip in SSL/TLS is vulnerable to leaking repeated plaintext, eg cookies in nearly every implementation.