]>
xmof Git - DeDRM.git/log
Josh Cotton [Sun, 10 Nov 2024 13:14:59 +0000 (05:14 -0800)]
Fix Obok import in Calibre flatpak by using /sys/class/net/IFACE/address instead of `ip` (#586)
Fix #585.
Use /sys/class/net/IFACE/address for the MAC address instead of the ip
command.
precondition [Fri, 11 Aug 2023 15:48:42 +0000 (17:48 +0200)]
Obok.py/action.py: invoke _() only once
precondition [Thu, 10 Aug 2023 09:09:49 +0000 (11:09 +0200)]
Catch FileNotFoundError due to undownloaded ebooks
Ben Combee [Thu, 22 Aug 2024 23:17:47 +0000 (18:17 -0500)]
Fix crash using bare sha1 symbol
Use sha1 from hashlib, as it isn't imported globally, fixed crash trying to decrypt a eReader PDB file
Martin Rys [Sun, 27 Oct 2024 21:57:43 +0000 (22:57 +0100)]
DeDRM ion: Correctly throw last exception if decrypt fails
Martin Rys [Sun, 27 Oct 2024 21:56:15 +0000 (22:56 +0100)]
DeDRM ion: Clean out errorneous whitespace and UTF8 definition from python 2 times
NoDRM [Fri, 15 Mar 2024 12:13:45 +0000 (13:13 +0100)]
Add binascii import, fixes FileOpen #514
NoDRM [Thu, 21 Dec 2023 11:35:11 +0000 (12:35 +0100)]
Update kfxdedrm as suggested in #440
NoDRM [Thu, 21 Dec 2023 10:57:39 +0000 (11:57 +0100)]
More FileOpen fixes
NoDRM [Sun, 3 Dec 2023 09:45:09 +0000 (10:45 +0100)]
Bunch of updates for the FileOpen script
NoDRM [Sun, 3 Dec 2023 09:42:41 +0000 (10:42 +0100)]
Fix file lock issue in androidkindlekey.py
NoDRM [Sun, 6 Aug 2023 13:49:52 +0000 (15:49 +0200)]
Fix more Py2/Py3 stuff
NoDRM [Thu, 3 Aug 2023 19:21:49 +0000 (21:21 +0200)]
Enable autorelease into 2nd repo
NoDRM [Thu, 3 Aug 2023 18:45:06 +0000 (20:45 +0200)]
More Python2 fixes
NoDRM [Thu, 3 Aug 2023 18:14:33 +0000 (20:14 +0200)]
More Py2 fixes
NoDRM [Thu, 3 Aug 2023 18:01:38 +0000 (20:01 +0200)]
More Python2 bugfixes
NoDRM [Thu, 3 Aug 2023 08:50:06 +0000 (10:50 +0200)]
Fix python2 issues in kgenpids and kindlekey
NoDRM [Wed, 2 Aug 2023 16:13:42 +0000 (18:13 +0200)]
Fix PDF decryption for 256-bit AES with V=5
NoDRM [Wed, 2 Aug 2023 14:55:41 +0000 (16:55 +0200)]
Fix PDF decryption of ancient 40-bit RC4 with R=2
NoDRM [Wed, 2 Aug 2023 05:39:35 +0000 (07:39 +0200)]
Prepare release candidate v10.0.9
NoDRM [Wed, 2 Aug 2023 05:30:39 +0000 (07:30 +0200)]
Add warning to the standalone code
NoDRM [Sun, 25 Jun 2023 16:51:46 +0000 (18:51 +0200)]
Disable auto-prerelease again (#358)
NoDRM [Sun, 25 Jun 2023 15:22:51 +0000 (17:22 +0200)]
Update CI to create an automatic beta release
Satsuoni [Sun, 25 Jun 2023 14:38:55 +0000 (16:38 +0200)]
Added several more scramble functions to Kindle decrypt
NoDRM [Sun, 25 Jun 2023 14:27:31 +0000 (16:27 +0200)]
Added fix for padding being correct on accident
Co-authored-by: Satsuoni <satsuoni@hotmail.com>
NoDRM [Sat, 24 Jun 2023 07:53:55 +0000 (09:53 +0200)]
Fix python2 issues in Kindle and Nook code (#355)
NoDRM [Fri, 23 Jun 2023 17:44:24 +0000 (19:44 +0200)]
Fix font decryption with multiple IDs (#347)
NoDRM [Fri, 23 Jun 2023 17:30:06 +0000 (19:30 +0200)]
Try to add support for new K4PC
Co-authored-by: Andrew Innes <andrew.c12@gmail.com>
Co-authored-by: Satsuoni <satsuoni@hotmail.com>
NoDRM [Fri, 6 Jan 2023 13:32:25 +0000 (14:32 +0100)]
Support for Adobe's 'aes128-cbc-uncompressed' encryption (see #242)
NoDRM [Fri, 6 Jan 2023 13:29:56 +0000 (14:29 +0100)]
Fix issue with remaining data in encryption.xml
NoDRM [Thu, 29 Dec 2022 18:58:29 +0000 (19:58 +0100)]
Try fixing a Python2 bug in the Obok plugin (#235)
NoDRM [Thu, 29 Dec 2022 18:53:59 +0000 (19:53 +0100)]
Update CHANGELOG
NoDRM [Thu, 29 Dec 2022 18:52:08 +0000 (19:52 +0100)]
PDF: Ignore invalid objid in non-strict mode, fixes #233
NoDRM [Fri, 23 Dec 2022 09:44:45 +0000 (10:44 +0100)]
Fix Python3 bug in stylexml2css.py, fixes #232
NoDRM [Fri, 23 Dec 2022 09:42:25 +0000 (10:42 +0100)]
Fix exception in error logging in ineptpdf
NoDRM [Wed, 19 Oct 2022 15:14:26 +0000 (17:14 +0200)]
Untested code for the Obok plugin to allow adding duplicate books.
See #148
NoDRM [Wed, 19 Oct 2022 14:39:39 +0000 (16:39 +0200)]
Strip whitespace from Kindle serials (#158)
NoDRM [Mon, 17 Oct 2022 15:12:03 +0000 (17:12 +0200)]
Add support for empty arrays (<>) in PDF objects. Fixes #183.
NoDRM [Sat, 10 Sep 2022 09:57:35 +0000 (11:57 +0200)]
Update changelog
NoDRM [Sat, 10 Sep 2022 09:47:15 +0000 (11:47 +0200)]
Update README, fixes #136
NoDRM [Sat, 10 Sep 2022 09:44:55 +0000 (11:44 +0200)]
Cleanup
NoDRM [Sat, 10 Sep 2022 09:42:59 +0000 (11:42 +0200)]
Fix key import sometimes generating corrupted keys.
Should fix #145, #134, #119, #116, #115, #109 and maybe others.
Roland W-H [Tue, 9 Aug 2022 16:10:26 +0000 (17:10 +0100)]
fix 2 spelling errors in FAQs.md
NoDRM [Sun, 7 Aug 2022 13:58:01 +0000 (15:58 +0200)]
Fix tons of PDF-related issues
NoDRM [Sun, 7 Aug 2022 07:31:49 +0000 (09:31 +0200)]
Fix DeACSM import for PDF files
NoDRM [Sun, 7 Aug 2022 07:30:24 +0000 (09:30 +0200)]
Cleanup / SafeUnbuffered bugfix
NoDRM [Sat, 6 Aug 2022 18:25:07 +0000 (20:25 +0200)]
More stuff I missed
NoDRM [Sat, 6 Aug 2022 18:19:36 +0000 (20:19 +0200)]
Cleanup
NoDRM [Sat, 6 Aug 2022 18:19:18 +0000 (20:19 +0200)]
Move unicode_argv to its own file
NoDRM [Sat, 6 Aug 2022 18:13:19 +0000 (20:13 +0200)]
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.
NoDRM [Sat, 6 Aug 2022 18:10:51 +0000 (20:10 +0200)]
Couple Python 2 fixes in (unsupported) standalone scripts
NoDRM [Sat, 6 Aug 2022 18:09:30 +0000 (20:09 +0200)]
Move SafeUnbuffered to own Python file
NoDRM [Sat, 6 Aug 2022 17:57:20 +0000 (19:57 +0200)]
Another Python2 Bugfix for Obok
NoDRM [Sat, 6 Aug 2022 17:56:18 +0000 (19:56 +0200)]
Delete unused files
NoDRM [Sat, 6 Aug 2022 13:29:05 +0000 (15:29 +0200)]
Fix PDF corruption in Calibre 4 (#104)
NoDRM [Sat, 6 Aug 2022 11:53:03 +0000 (13:53 +0200)]
Fix ZIP attribute "external_attr" getting reset
NoDRM [Wed, 3 Aug 2022 17:49:20 +0000 (19:49 +0200)]
Fix plugin crash with invalid ADE key
NoDRM [Wed, 3 Aug 2022 15:16:42 +0000 (17:16 +0200)]
Fix Calibre 6 issue in Obok plugin
NoDRM [Sat, 16 Jul 2022 07:48:27 +0000 (09:48 +0200)]
Fix RSA.import_key (fixes #101)
Apparently "import_key" only exists in newer versions (as an alias to
"importKey"). "importKey" works in all versions ...
NoDRM [Wed, 13 Jul 2022 15:21:49 +0000 (17:21 +0200)]
Prepare release v10.0.3
NoDRM [Wed, 13 Jul 2022 15:31:14 +0000 (17:31 +0200)]
Add some Python2 compat code I forgot to add earlier
NoDRM [Wed, 13 Jul 2022 13:34:47 +0000 (15:34 +0200)]
Fix Obok plugin on Calibre 6 (#98)
Yuki Liu [Fri, 15 Apr 2022 16:02:18 +0000 (11:02 -0500)]
fix the regular expression
NoDRM [Tue, 22 Mar 2022 14:49:44 +0000 (15:49 +0100)]
Fix Nook study key retrieval
NoDRM [Sun, 20 Mar 2022 13:32:22 +0000 (14:32 +0100)]
Fix Kindle for real
NoDRM [Sun, 20 Mar 2022 07:09:00 +0000 (08:09 +0100)]
Hopefully fix Kindle books
NoDRM [Sat, 19 Mar 2022 15:41:59 +0000 (16:41 +0100)]
Fix print-replica Amazon books
NoDRM [Sat, 19 Mar 2022 15:02:33 +0000 (16:02 +0100)]
Bugfix for Nook PDFs?
NoDRM [Sat, 19 Mar 2022 14:23:07 +0000 (15:23 +0100)]
Some untested Python2 Kindle bugfixes
NoDRM [Sat, 19 Mar 2022 14:08:36 +0000 (15:08 +0100)]
(Hopefully) fix WineGetKeys for Kindle
NoDRM [Sat, 19 Mar 2022 09:14:45 +0000 (10:14 +0100)]
Add back unpad to fix Python2 support
NoDRM [Sat, 19 Mar 2022 08:26:39 +0000 (09:26 +0100)]
Update plugin readme
NoDRM [Sat, 19 Mar 2022 08:17:29 +0000 (09:17 +0100)]
Improve error message
NoDRM [Fri, 18 Mar 2022 16:45:07 +0000 (17:45 +0100)]
Make B&N plugin skip invalid hashes in Windows app
NoDRM [Fri, 18 Mar 2022 16:36:55 +0000 (17:36 +0100)]
Debugging for __version issue
NoDRM [Fri, 18 Mar 2022 16:26:17 +0000 (17:26 +0100)]
Try to fix V3 PDF files
NoDRM [Fri, 18 Mar 2022 16:09:51 +0000 (17:09 +0100)]
Update FAQs
Co-authored-by: ZolaLa <49111160+ZolaLa9@users.noreply.github.com>
Brose Johnstone [Sun, 30 Jan 2022 06:23:23 +0000 (22:23 -0800)]
Obok: Fix invalid UTF-8 causing UI to not open
For some reason, the title of a book on my device causes Obok to choke. Apparently it's not valid UTF-8.
This fixes that by ignoring decode errors.
a980e066a01 [Tue, 22 Feb 2022 23:47:51 +0000 (23:47 +0000)]
Add support for "hardened" Adobe DRM
What took the most time was not reverse-engineering
the scheme, but actually finding books using it...
Closes #20, #25, #45
a980e066a01 [Tue, 22 Feb 2022 23:16:03 +0000 (23:16 +0000)]
Remove OpenSSL support; only support PyCryptodome
This allows us to clean up the code a lot.
On Windows, it isn't installed by default and
most of the time not be found at all.
On M1 Macs, the kernel will kill the process instead.
Closes #33.
NoDRM [Tue, 11 Jan 2022 11:02:44 +0000 (12:02 +0100)]
Update FAQ
NoDRM [Tue, 11 Jan 2022 07:42:37 +0000 (08:42 +0100)]
Remove LCP references from Readme
NoDRM [Tue, 11 Jan 2022 06:57:02 +0000 (07:57 +0100)]
Add empty placeholder file for LCP
NoDRM [Tue, 4 Jan 2022 15:56:02 +0000 (16:56 +0100)]
Fix IndexError in mobidedrm.py
NoDRM [Sun, 2 Jan 2022 20:18:13 +0000 (21:18 +0100)]
Make plugin work in Calibre 6 (Qt 6)
NoDRM [Sun, 2 Jan 2022 18:13:15 +0000 (19:13 +0100)]
Add "MemoryError" to FAQ
NoDRM [Sun, 2 Jan 2022 17:52:07 +0000 (18:52 +0100)]
Fix FileNotFoundError during PassHash handling
NoDRM [Sun, 2 Jan 2022 16:29:27 +0000 (17:29 +0100)]
Fix libcrypto DLL path search (see #13 and #14)
Co-authored-by: Adriano Caloiaro <code@adriano.fyi>
NoDRM [Sun, 2 Jan 2022 15:23:36 +0000 (16:23 +0100)]
Try to fix B&N issues
NoDRM [Sat, 1 Jan 2022 13:09:56 +0000 (14:09 +0100)]
More work on standalone version, fix plugin
Aldo Bleeker [Tue, 28 Dec 2021 17:34:11 +0000 (18:34 +0100)]
Python 3 fixes
NoDRM [Wed, 29 Dec 2021 12:00:45 +0000 (13:00 +0100)]
Add passhash interface to CLI
NoDRM [Wed, 29 Dec 2021 10:36:59 +0000 (11:36 +0100)]
Bugfixes in standalone code for Calibre < 5 / Python 2
NoDRM [Wed, 29 Dec 2021 08:26:29 +0000 (09:26 +0100)]
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.
NoDRM [Wed, 29 Dec 2021 08:14:35 +0000 (09:14 +0100)]
Cleanup
NoDRM [Mon, 27 Dec 2021 13:23:26 +0000 (14:23 +0100)]
Correct user pass padding, fix PDFStream export
NoDRM [Mon, 27 Dec 2021 09:46:27 +0000 (10:46 +0100)]
Update Changelog
NoDRM [Mon, 27 Dec 2021 09:45:36 +0000 (10:45 +0100)]
Fix broken key management
NoDRM [Mon, 27 Dec 2021 09:45:12 +0000 (10:45 +0100)]
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
NoDRM [Mon, 27 Dec 2021 09:39:41 +0000 (10:39 +0100)]
Update watermark code