On Tue, 1 Apr 2014,
tim.t...@gmail.com wrote:
> Well, if I rename a pdf file to some other extention it no longer opens, so I presume the MIME type isn't as important. The "proper" thing to do, would be to make evince(or whatever your pdf viewer of choice is) not automatically open .pdf files at all. Set it up so that it is bound to open only ".trusted-pdf" files... (perhaps with a random hash so that an attacker couldn't send you a non-trusted pdf with the trusted extension.)
Someone who's using such sorts of attacks has a pretty advanced
infrastructure at home encryption technical spoken. Means you need also
a safe function to hash stuff.
Tim the Lion, what sort of algorithm did you have in mind for a secure
hash?
You'll have to show up first with a new hashing algorithm that's better
than the current crap that's out there.
Better design that first.
If you already design such form of hash - also interesting thought is to
make it future proof - as in easy to be calculated using manycore
hardware. Obviously the famous manycores we've got now are built in gpu's.
The advantage of all the GPU's is that they also can multiply pretty fast
32 bits integers, so that allows for producing a deterministic and nearby
unbreakable hashing function at relative cheap number of clockcycles per byte.
> Tim
> For more options, visit
https://groups.google.com/d/optout.
>