4 ms·
Remove PDF password protection using qpdf and AppleScript
- ck45 2y agoI used to binary patch PDFKit to nop the password check (in PPC days). I wonder if that's still possible with code signatures. Back then, there were also some other means, like writing your own InputManager to inject code, or F-Script Anywhere, which injected a F-Script interpreter into a process.
- dnh44 2y agoFYI this still requires that you know the password to unlock the PDF to begin with so it won't help open PDFs that you are locked out of. If you were already using print->save-as-pdf to remove passwords from pdfs then I don't think this will give you much more functionality.
- JohnKemeny 2y agoOr just pdftk input.pdf input_pw YOURPASSWORD output output.pdf
- 2Gkashmiri 2y agoyeah. that and it works without any hitches
- deleted 2y ago[deleted]