From 227bda1ea670d601ce6c115f3eced699bfd4d5bd Mon Sep 17 00:00:00 2001 From: NoDRM Date: Fri, 18 Mar 2022 17:26:17 +0100 Subject: [PATCH] Try to fix V3 PDF files --- CHANGELOG.md | 1 + DeDRM_plugin/ineptpdf.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d746c1..92d6670 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,3 +61,4 @@ List of changes since the fork of Apprentice Harper's repository: - Add support for books with the new ADE3.0+ DRM by merging #48 by a980e066a01. Thanks a lot! - Remove OpenSSL support, now the plugin will always use the Python crypto libraries. - Obok: Fix issues with invalid UTF-8 characters by merging #26 by baby-bell. +- Try to fix PDF files with V3 key obfuscation algorithm. diff --git a/DeDRM_plugin/ineptpdf.py b/DeDRM_plugin/ineptpdf.py index 22cd148..4319997 100755 --- a/DeDRM_plugin/ineptpdf.py +++ b/DeDRM_plugin/ineptpdf.py @@ -1720,7 +1720,7 @@ class PDFDocument(object): objid = struct.pack('