Commit Graph
100 Commits
Author SHA1 Message Date
NoDRM e82d2b5c9c Fix PDF decryption for 256-bit AES with V=5 2023-08-02 18:13:42 +02:00
NoDRM 7f6dd84389 Fix PDF decryption of ancient 40-bit RC4 with R=2 2023-08-02 16:55:41 +02:00
NoDRM b9bad26d4b Prepare release candidate v10.0.9 2023-08-02 07:39:35 +02:00
NoDRM 2a1413297e Add warning to the standalone code 2023-08-02 07:30:39 +02:00
NoDRM 815f880e34 Disable auto-prerelease again (#358) 2023-06-25 18:51:46 +02:00
NoDRM 9ae77c438f Update CI to create an automatic beta release 2023-06-25 18:21:20 +02:00
NoDRMandSatsuoni 133e67fa03 Added fix for padding being correct on accident
Co-authored-by: Satsuoni <satsuoni@hotmail.com>
2023-06-25 16:27:31 +02:00
NoDRM f86cff285b Fix python2 issues in Kindle and Nook code (#355) 2023-06-24 09:53:55 +02:00
NoDRM a553a71f45 Fix font decryption with multiple IDs (#347) 2023-06-23 19:44:24 +02:00
740b46546f Try to add support for new K4PC
Co-authored-by: Andrew Innes <andrew.c12@gmail.com>
Co-authored-by: Satsuoni <satsuoni@hotmail.com>
2023-06-23 19:30:06 +02:00
NoDRM fb8b003444 Support for Adobe's 'aes128-cbc-uncompressed' encryption (see #242) 2023-01-06 14:32:25 +01:00
NoDRM 3c12806f38 Fix issue with remaining data in encryption.xml 2023-01-06 14:29:56 +01:00
NoDRM 3151dbbd98 Try fixing a Python2 bug in the Obok plugin (#235) 2022-12-29 19:58:29 +01:00
NoDRM 08e7ac79ca Update CHANGELOG 2022-12-29 19:53:59 +01:00
NoDRM a711954323 PDF: Ignore invalid objid in non-strict mode, fixes #233 2022-12-29 19:52:08 +01:00
NoDRM a30405bebf Fix Python3 bug in stylexml2css.py, fixes #232 2022-12-23 10:44:45 +01:00
NoDRM 901a6c091d Fix exception in error logging in ineptpdf 2022-12-23 10:42:25 +01:00
NoDRM e16748e854 Untested code for the Obok plugin to allow adding duplicate books.
See #148
2022-10-19 17:14:26 +02:00
NoDRM 06df18bea3 Strip whitespace from Kindle serials (#158) 2022-10-19 16:39:39 +02:00
NoDRM 06648eeb1c Add support for empty arrays (<>) in PDF objects. Fixes #183. 2022-10-17 17:13:41 +02:00
NoDRM 6c8051eded Update changelog 2022-09-10 11:57:35 +02:00
NoDRM 1cc245b103 Update README, fixes #136 2022-09-10 11:47:15 +02:00
NoDRM eb45c71fd9 Cleanup 2022-09-10 11:44:55 +02:00
NoDRM 2d4c5d2c4b Fix key import sometimes generating corrupted keys.
Should fix #145, #134, #119, #116, #115, #109 and maybe others.
2022-09-10 11:42:59 +02:00
NoDRM 88b0966961 Fix tons of PDF-related issues 2022-08-07 15:58:01 +02:00
NoDRM 52cf3faa59 Fix DeACSM import for PDF files 2022-08-07 09:31:49 +02:00
NoDRM b12e567c5f Cleanup / SafeUnbuffered bugfix 2022-08-07 09:30:24 +02:00
NoDRM ca6d30b2d9 More stuff I missed 2022-08-06 20:25:07 +02:00
NoDRM dfa247bf88 Cleanup 2022-08-06 20:19:36 +02:00
NoDRM a0bb84fbfc Move unicode_argv to its own file 2022-08-06 20:19:18 +02:00
NoDRM 410e086d08 Remove AlfCrypto libraries and perform everything in Python
The old AlfCrypto DLL, SO and DYLIB files are ancient,
I don't have the systems to recompile them all, they
cause issues on ARM Macs, and I doubt with all the Python
improvements over the last years that they have a significant
performance advantage. And even if that's the case, nobody is
importing hundreds of DRM books at the same time so it shouldn't
hurt if some decryptions might take a bit longer.
2022-08-06 20:13:19 +02:00
NoDRM 9276d77f63 Couple Python 2 fixes in (unsupported) standalone scripts 2022-08-06 20:10:51 +02:00
NoDRM de23b5c221 Move SafeUnbuffered to own Python file 2022-08-06 20:09:30 +02:00
NoDRM b404605878 Another Python2 Bugfix for Obok 2022-08-06 19:57:20 +02:00
NoDRM 1cc5d383cc Delete unused files 2022-08-06 19:56:18 +02:00
NoDRM 41df9ecda0 Fix PDF corruption in Calibre 4 (#104) 2022-08-06 15:29:45 +02:00
NoDRM 80cbaa4841 Fix ZIP attribute "external_attr" getting reset 2022-08-06 13:53:03 +02:00
NoDRM 9a11f480b5 Fix plugin crash with invalid ADE key 2022-08-03 19:49:20 +02:00
NoDRM 59839ae5c7 Fix Calibre 6 issue in Obok plugin 2022-08-03 17:16:42 +02:00
NoDRM c15135b12f Fix RSA.import_key (fixes #101)
Apparently "import_key" only exists in newer versions (as an alias to
"importKey"). "importKey" works in all versions ...
2022-07-16 09:54:00 +02:00
NoDRM 077e8f5c2a Prepare release v10.0.3 2022-07-13 17:31:57 +02:00
NoDRM fed8bb716b Add some Python2 compat code I forgot to add earlier 2022-07-13 17:31:57 +02:00
NoDRM c12d214b59 Fix Obok plugin on Calibre 6 (#98) 2022-07-13 15:34:47 +02:00
NoDRM dcbb377566 Fix Nook study key retrieval 2022-03-22 15:49:44 +01:00
NoDRM 76ce6d9c5c Fix Kindle for real 2022-03-20 14:32:22 +01:00
NoDRM 726d72217e Hopefully fix Kindle books 2022-03-20 08:09:00 +01:00
NoDRM 2d51005cf1 Fix print-replica Amazon books 2022-03-19 16:41:59 +01:00
NoDRM 7eb8f07a33 Bugfix for Nook PDFs? 2022-03-19 16:02:33 +01:00
NoDRM e4fe032e47 Some untested Python2 Kindle bugfixes 2022-03-19 15:23:07 +01:00
NoDRM bb170688ba (Hopefully) fix WineGetKeys for Kindle 2022-03-19 15:08:36 +01:00
NoDRM b283777c0a Add back unpad to fix Python2 support 2022-03-19 10:14:45 +01:00
NoDRM cf095a4171 Update plugin readme 2022-03-19 09:26:39 +01:00
NoDRM 263cc1d2cf Improve error message 2022-03-19 09:17:29 +01:00
NoDRM a4689f6ac0 Make B&N plugin skip invalid hashes in Windows app 2022-03-18 17:45:07 +01:00
NoDRM 82a698edf6 Debugging for __version issue 2022-03-18 17:36:55 +01:00
NoDRM 227bda1ea6 Try to fix V3 PDF files 2022-03-18 17:29:19 +01:00
NoDRMandZolaLa 93ff0aac20 Update FAQs
Co-authored-by: ZolaLa <49111160+ZolaLa9@users.noreply.github.com>
2022-03-18 17:09:51 +01:00
NoDRM f4634b5eab Update FAQ 2022-01-11 12:02:44 +01:00
NoDRM 034137962c Remove LCP references from Readme 2022-01-11 08:42:37 +01:00
NoDRM 2b46f61eae Add empty placeholder file for LCP 2022-01-11 07:57:02 +01:00
NoDRM e54bb3f700 Fix IndexError in mobidedrm.py 2022-01-04 16:56:02 +01:00
NoDRM 5b3e3e420f Make plugin work in Calibre 6 (Qt 6) 2022-01-02 21:18:13 +01:00
NoDRM f17b255159 Add "MemoryError" to FAQ 2022-01-02 19:13:37 +01:00
NoDRM b2b55531d3 Fix FileNotFoundError during PassHash handling 2022-01-02 18:52:07 +01:00
NoDRMandAdriano Caloiaro b84cf9aeb8 Fix libcrypto DLL path search (see #13 and #14)
Co-authored-by: Adriano Caloiaro <code@adriano.fyi>
2022-01-02 17:29:27 +01:00
NoDRM d5473f1db0 Try to fix B&N issues 2022-01-02 16:23:36 +01:00
NoDRM a275d5d819 More work on standalone version, fix plugin 2022-01-01 14:11:39 +01:00
NoDRM e0fcd99bcb Add passhash interface to CLI 2021-12-29 13:00:45 +01:00
NoDRM b11aadcca6 Bugfixes in standalone code for Calibre < 5 / Python 2 2021-12-29 11:39:48 +01:00
NoDRM dbf4b54026 Begin work on standalone version
Now the plugin ZIP file (DeDRM_plugin.zip) can be run with a normal
Python interpreter as if it were a Python file (try
`python3 DeDRM_plugin.zip --help`). This way I can begin building a
standalone version (that can run without Calibre) without having to
duplicate a ton of code.
2021-12-29 09:26:29 +01:00
NoDRM 9c40b3ce5a Cleanup 2021-12-29 09:14:35 +01:00
NoDRM 80f511ade9 Correct user pass padding, fix PDFStream export 2021-12-27 14:23:26 +01:00
NoDRM c11db59150 Update Changelog 2021-12-27 10:53:40 +01:00
NoDRM 9c6f4ecc3b Fix broken key management 2021-12-27 10:45:36 +01:00
NoDRM fbe9b5ea89 Ton of PDF DeDRM updates
- Support "Standard" and "Adobe.APS" encryptions
- Support decrypting with owner password instead of user password
- New function to return encryption filter name
- Support for V=5, R=5 and R=6 PDF files
- Support for AES256-encrypted PDF files
- Disable broken cross-reference streams in output
2021-12-27 10:45:12 +01:00
NoDRM 23a454205a Update watermark code 2021-12-27 10:39:41 +01:00
NoDRM 586609bb2c Remove ancient code to import keys from ancient plugins
There were a couple specific DRM removal plugins before the DeDRM plugin
was created. These are obsolete since a long time, there's no need to
still have the code to import their config.

If people are still using these ancient plugins, they'll have to update
to an older version of DeDRM first, and then update to the current one.
2021-12-27 10:35:02 +01:00
NoDRM 96cf14f3ec Edit .gitignore 2021-12-27 10:26:39 +01:00
NoDRM 1958989487 Key retrieval updates 2021-12-25 23:35:59 +01:00
NoDRM 8986855a47 Support for extracting PassHashes from ADE 2021-12-24 14:35:53 +01:00
NoDRM 620c90b695 Update PassHash documentation 2021-12-23 15:53:52 +01:00
NoDRM 3b9c201421 Lots of B&N updates 2021-12-23 11:58:40 +01:00
NoDRM db71d35b40 Update changelog 2021-12-20 21:16:49 +01:00
NoDRM a16e66a023 Detect Kobo & Apple DRM in epubtest.py 2021-12-20 21:11:09 +01:00
NoDRM 3eb4eab18d Support importing multiple keys from ADE 2021-12-20 21:10:21 +01:00
NoDRM cdd6402b9a Fix username decryption with unicode chars in Python2 2021-12-20 21:07:44 +01:00
NoDRM 78ac98fc1b Cleanup 2021-12-20 21:06:50 +01:00
NoDRM d05594dcbc Update to v10.0.2 2021-11-29 17:06:18 +01:00
NoDRM 09a34cf7d9 Fix watermark stuff 2021-11-29 16:33:45 +01:00
NoDRM ca6ec8f6d0 Allow packaging without version number 2021-11-29 16:27:51 +01:00
NoDRM 2edde54c44 Fixes a bug that sometimes caused the plugin to fail 2021-11-19 12:44:10 +01:00
NoDRM a44b50d1d8 LCP support 2021-11-17 21:53:24 +01:00
NoDRM 05e0d0bedb Make CI auto-package the plugin 2021-11-17 21:38:08 +01:00
NoDRM 1b391da815 Add some more watermark removal code 2021-11-17 16:17:30 +01:00
NoDRM d9353bdd93 Obok plugin cleanup 2021-11-16 21:22:09 +01:00
NoDRM 5d10420422 Fix font deobfuscation for Python 2 2021-11-16 20:09:24 +01:00
NoDRM f20bede242 Auto-import keys from DeACSM plugin 2021-11-16 17:14:03 +01:00
NoDRM 39f8595139 Remove CDP watermark from EPUBs 2021-11-16 15:23:54 +01:00
NoDRM 9c41716e5e Add B&N PDF DeDRM (untested), match UUID for Adobe PDFs 2021-11-16 11:48:53 +01:00
NoDRM b4c0e33b8b Fix ADE key import through plugin settings 2021-11-16 11:21:03 +01:00