-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
is-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFworkflow-encryptionFrom a users perspective, encryption is the affected feature/workflowFrom a users perspective, encryption is the affected feature/workflow
Description
I am trying to split a pdf into its pages. For few documents I get the error: PdfReadError: File has not been decrypted

I tried the following fixes, but nothing works.
Fix 1: Manually decrypt the file using: inputpdf.decrypt('')
This throws an NotImplementedError:

Fix 2: Suggested here: https://stackoverflow.com/a/48364988/15368105
This also doesn't work and throws the same error.
Is there a solution for this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
is-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFworkflow-encryptionFrom a users perspective, encryption is the affected feature/workflowFrom a users perspective, encryption is the affected feature/workflow