-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OWNER PASSWORD REQUIRED ERROR #28
Comments
Yep -- try If you can't open it in Preview without the password, then it's truly locked down. |
Thanks. Would it be possible to bake this into docsplit? I feel more than obliged to contribute at this point. |
Hmm. Perhaps it would. We'd have to be able to detect the password protection ... but maybe a try/catch is good enough for getting that done. It would also be one more dependency, so making it optional would be ideal: if qpdf is installed, enable the feature, otherwise, no worries. |
My Ruby fu is weaker than a Drake rhyme, but would that be somewheres around here? |
Yep: https://github.com/documentcloud/docsplit/blob/master/lib/docsplit.rb#L104 But that doesn't tell you why it broke, so we don't just want to catch all exceptions ... only the ones where the PDF has an encryption problem. |
Okay. I have to grind some work stuff yet today, but I'll try to get back to this and stop being a total leech. |
Closing as stale. |
Anything I can do to blow through this?
The text was updated successfully, but these errors were encountered: