5
1
If I have a PDF and I have its password, I can merely send it to a PDF printer to get a new PDF with the same contents and no password. The process is not exactly painless though (Ubuntu's inbuilt PDF printer, for example, doesn't seem too interested in honoring my page orientation settings; PDFCreator for Windows merely looked at me funny and printed an error message, etc.)
I'd like to make this process a little less painful and I imagine ImageMagick could come to my help. However...
convert foo.pdf -authenticate baz bar.pdf
...doesn't give me joy.
**** This file requires a password for access.
**** The file was produced by:
**** >>>> �Sh�Ў,bd� a���߰�
�u�|!
���� <<<<
Error: /invalidfileaccess in pdf_process_Encrypt
Now... I guess that if there's pdf_process_Encrypt
, chances are there's also support for a pdf_process_Decrypt
operation, right?
How can I do this then?
1
Wouldn't this be a lot easier?
– Flimzy – 2012-05-06T17:41:54.617@Flimzy None of those options appeal to me, to be honest... They're all various shades of unnecessarily shady. – badp – 2012-05-06T17:46:37.817
1Heh... And password-circumvention isn't already shady? The phrase "honest thief" comes to mind :) – Flimzy – 2012-05-06T17:47:28.183
@Flimzy uh? I have the password already. I didn't need to crack it or anything. There's absolutely no "thievery" involved here. – badp – 2012-05-06T17:48:00.187
I'm not really accusing you of being a thief. I just think it's funny to be picky about how to remove a password (whether for honest purposes or not). Anyway, I don't have enough knowledge to answer your question directly. Good luck. – Flimzy – 2012-05-06T17:49:47.570