How to Break PDF Signatures
pdf-insecurity.org
pdf-insecurity.org
HTML/CSS/JS covers almost any usecase. Then there is ePub (kind of HTML.. anyway) for eBooks, CBR for Comics, DJVU for scanned content and so on. There probably is a better format for any niche usecase you can imagine.
If you insist to download and archive it DJVU is fine for the documents you mentioned because it contains rendered graphics as well as searchable text. ePub is another option if you need vector images and outline fonts.
I give you the point about academic papers because math in the browser is subpar. I would have written "still subpar" but I think that is what I have been saying for at least ten years now - I'm not sure there is any hope. On the other hand I often read papers on my mobile and it is not as convenient as reading the web. Especially the two column layout that many papers have is a nuisance. I wish there was a way to distribute papers with beautiful math and reflowable text.
Because you don't want it to 404 on you after a year or two.
And there are always archive.org and archive.is...
This doesn't cover the usecase of something that looks the same across different systems.
Using a rasterized technique is certainly not a good idea in an era where the DPI of screens is increasing.
Also since PDF is the standard in the printing industry I think we can safely say the margin of differences is so small they are non existent.
You cannot rely on that. PDF combined with font and vector graphics rendering is just an insanely complex beast and there is lots of trickery that can change the appearance of the document. For example there is a font that changes its characters with font size and therefore zoom level.
When it comes to verification: see OP how well that works.
If you want verifieable content use plain text and bitmaps. Really that's your best bet.
ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/
So... I compiled it and now I have mutool.
I tried to run `mutool sign SampleSignedPDFDocument.pdf` and it gave me this output:
verifying signature on page 1
result: ''
The PDF I am using: https://blogs.adobe.com/security/SampleSignedPDFDocument.pdfI have no idea how I can format the output. Is there a way to use code blocks on here?
Basically they tested almost everything you could think of, but none of the major open source viewers supports PDF signature verification in the first place.
Seems like it must just be fixable bugs. On the chart showing which viewers are vulnerable, some of them have no vulnerabilities.
So in theory other viewers should be able to be fixed.