today at 11:07 PM
What is wrong with software engineers that we keep making really stupid basic mistakes like this? Sometimes I think programming should require licensing and regular testing.
today at 11:09 PM
[delayed]
today at 11:09 PM
Those are not the "software engineers" but coders, those who like to say that the university degree doesn't add anything in programming.
today at 10:38 PM
"MuPDF versions before 1.28.5 use an implementation of the drand48 family" yeah, ok, so they're basically not doing real encryption. The number of bits in the key space isn't the real story; the keys simply aren't cryptographically random.
today at 10:27 PM
Rule #1 of rolling your own RNG: donβt.
Rule #2? Please donβt.
today at 10:39 PM
That's why we use the system RNG !
today at 10:55 PM
btw, the idea that the system rng isnt good enough, or "runs out" or whatever, is no longer true on pretty much every modern, widely used os.
btw... im sure there's some legacy rng in windows or some shit that isnt good. read the docs but if it's the blessed system rng, you're probably fine!
although... i suppose if this is news to you (the person reading this), then you probably shouldn't be implementing whatever you are that really requires prng. ask a friend for help. im not trying to be a jerk, i just want to make sure you dont hurt yourself!
today at 10:13 PM
Wonderful.
today at 9:01 PM
it's like the weak hardware wallet entropy bug
today at 9:46 PM
You'd have to be completely off your rocker to use a PDF tool written in C anyway.
today at 10:09 PM
very VERY few people judge tools like this by the language used to develop them.
today at 10:18 PM
How many people judge their tools based on the AES key entropy?
today at 10:33 PM
A lot actually.
You're confusing just assuming by default its enough for purpose rather than not caring at all.
today at 10:43 PM
just down vote it.
You can downvote anything not interesting.
If he have list some alternative or give example, it might be interesting.
today at 10:01 PM
What are the alternatives?
today at 10:45 PM
PDF.js, for example. It's what Firefox uses, and most websites with integrated on-page PDF viewing functionality.
today at 9:56 PM
Genuine question, since I'm not very knowledgeable about this: why is using C for a PDF tool such a bad idea?
today at 10:39 PM
I think the claim is hyperbolic, since most people memory-unsafe PDF implementations, but PDF is a monster format, a metaformat that brings in virtually every conceivable display format, and their renderer implementations with them, often poorly-maintained, never-touched reference implementations from the before times. PDF is pretty scary.
today at 10:39 PM
buffer overflow vulnerability in code dealing with user generated data and a complex file format.