Conversation

The PDF Viewer app based on sandboxed pdf.js has been revived and is now located at github.com/GrapheneOS/Pdf. It's currently very barebones, but Tommy-Geenexus has proof of concept implementations of various planned features so a lot of it just needs to be ported and cleaned up.
2
11
The idea behind the PDF Viewer app is to reuse the browser renderer sandbox and hardened font / image handling without granting it internet access or exposing it to untrusted JavaScript or CSS. The app pipes each document from the content provider into a fresh local PDF renderer.
1
7
Replying to
Eventually, maybe there will be a pure Rust stack that I could run in an isolatedProcess with a solid seccomp-bpf filter, but this is already close to matching that with existing software. I ended up with this approach after looking into Java PDF libraries and being disappointed.
4
Replying to
Is an idea for similar to what qubes os does feasible or needed even ? That is, ocr the source pdf in a sandbox and show the outcome to the user