]> xmof Git - DeDRM.git/log
DeDRM.git
2 years agoFix file lock issue in androidkindlekey.py
NoDRM [Sun, 3 Dec 2023 09:42:41 +0000 (10:42 +0100)]
Fix file lock issue in androidkindlekey.py

2 years agoFix more Py2/Py3 stuff
NoDRM [Sun, 6 Aug 2023 13:49:52 +0000 (15:49 +0200)]
Fix more Py2/Py3 stuff

2 years agoEnable autorelease into 2nd repo
NoDRM [Thu, 3 Aug 2023 19:21:49 +0000 (21:21 +0200)]
Enable autorelease into 2nd repo

2 years agoMore Python2 fixes
NoDRM [Thu, 3 Aug 2023 18:45:06 +0000 (20:45 +0200)]
More Python2 fixes

2 years agoMore Py2 fixes
NoDRM [Thu, 3 Aug 2023 18:14:33 +0000 (20:14 +0200)]
More Py2 fixes

2 years agoMore Python2 bugfixes
NoDRM [Thu, 3 Aug 2023 18:01:38 +0000 (20:01 +0200)]
More Python2 bugfixes

2 years agoFix python2 issues in kgenpids and kindlekey
NoDRM [Thu, 3 Aug 2023 08:50:06 +0000 (10:50 +0200)]
Fix python2 issues in kgenpids and kindlekey

2 years agoFix PDF decryption for 256-bit AES with V=5
NoDRM [Wed, 2 Aug 2023 16:13:42 +0000 (18:13 +0200)]
Fix PDF decryption for 256-bit AES with V=5

2 years agoFix PDF decryption of ancient 40-bit RC4 with R=2
NoDRM [Wed, 2 Aug 2023 14:55:41 +0000 (16:55 +0200)]
Fix PDF decryption of ancient 40-bit RC4 with R=2

2 years agoPrepare release candidate v10.0.9
NoDRM [Wed, 2 Aug 2023 05:39:35 +0000 (07:39 +0200)]
Prepare release candidate v10.0.9

2 years agoAdd warning to the standalone code
NoDRM [Wed, 2 Aug 2023 05:30:39 +0000 (07:30 +0200)]
Add warning to the standalone code

2 years agoDisable auto-prerelease again (#358)
NoDRM [Sun, 25 Jun 2023 16:51:46 +0000 (18:51 +0200)]
Disable auto-prerelease again (#358)

2 years agoUpdate CI to create an automatic beta release
NoDRM [Sun, 25 Jun 2023 15:22:51 +0000 (17:22 +0200)]
Update CI to create an automatic beta release

2 years agoAdded several more scramble functions to Kindle decrypt
Satsuoni [Sun, 25 Jun 2023 14:38:55 +0000 (16:38 +0200)]
Added several more scramble functions to Kindle decrypt

2 years agoAdded fix for padding being correct on accident
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>
2 years agoFix python2 issues in Kindle and Nook code (#355)
NoDRM [Sat, 24 Jun 2023 07:53:55 +0000 (09:53 +0200)]
Fix python2 issues in Kindle and Nook code (#355)

2 years agoFix font decryption with multiple IDs (#347)
NoDRM [Fri, 23 Jun 2023 17:44:24 +0000 (19:44 +0200)]
Fix font decryption with multiple IDs (#347)

2 years agoTry to add support for new K4PC
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>
2 years agoSupport for Adobe's 'aes128-cbc-uncompressed' encryption (see #242)
NoDRM [Fri, 6 Jan 2023 13:32:25 +0000 (14:32 +0100)]
Support for Adobe's 'aes128-cbc-uncompressed' encryption (see #242)

2 years agoFix issue with remaining data in encryption.xml
NoDRM [Fri, 6 Jan 2023 13:29:56 +0000 (14:29 +0100)]
Fix issue with remaining data in encryption.xml

2 years agoTry fixing a Python2 bug in the Obok plugin (#235)
NoDRM [Thu, 29 Dec 2022 18:58:29 +0000 (19:58 +0100)]
Try fixing a Python2 bug in the Obok plugin (#235)

2 years agoUpdate CHANGELOG
NoDRM [Thu, 29 Dec 2022 18:53:59 +0000 (19:53 +0100)]
Update CHANGELOG

2 years agoPDF: Ignore invalid objid in non-strict mode, fixes #233
NoDRM [Thu, 29 Dec 2022 18:52:08 +0000 (19:52 +0100)]
PDF: Ignore invalid objid in non-strict mode, fixes #233

2 years agoFix Python3 bug in stylexml2css.py, fixes #232
NoDRM [Fri, 23 Dec 2022 09:44:45 +0000 (10:44 +0100)]
Fix Python3 bug in stylexml2css.py, fixes #232

2 years agoFix exception in error logging in ineptpdf
NoDRM [Fri, 23 Dec 2022 09:42:25 +0000 (10:42 +0100)]
Fix exception in error logging in ineptpdf

3 years agoUntested code for the Obok plugin to allow adding duplicate books.
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

3 years agoStrip whitespace from Kindle serials (#158)
NoDRM [Wed, 19 Oct 2022 14:39:39 +0000 (16:39 +0200)]
Strip whitespace from Kindle serials (#158)

3 years agoAdd support for empty arrays (<>) in PDF objects. Fixes #183.
NoDRM [Mon, 17 Oct 2022 15:12:03 +0000 (17:12 +0200)]
Add support for empty arrays (<>) in PDF objects. Fixes #183.

3 years agoUpdate changelog
NoDRM [Sat, 10 Sep 2022 09:57:35 +0000 (11:57 +0200)]
Update changelog

3 years agoUpdate README, fixes #136
NoDRM [Sat, 10 Sep 2022 09:47:15 +0000 (11:47 +0200)]
Update README, fixes #136

3 years agoCleanup
NoDRM [Sat, 10 Sep 2022 09:44:55 +0000 (11:44 +0200)]
Cleanup

3 years agoFix key import sometimes generating corrupted keys.
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.

3 years agofix 2 spelling errors in FAQs.md
Roland W-H [Tue, 9 Aug 2022 16:10:26 +0000 (17:10 +0100)]
fix 2 spelling errors in FAQs.md

3 years agoFix tons of PDF-related issues
NoDRM [Sun, 7 Aug 2022 13:58:01 +0000 (15:58 +0200)]
Fix tons of PDF-related issues

3 years agoFix DeACSM import for PDF files
NoDRM [Sun, 7 Aug 2022 07:31:49 +0000 (09:31 +0200)]
Fix DeACSM import for PDF files

3 years agoCleanup / SafeUnbuffered bugfix
NoDRM [Sun, 7 Aug 2022 07:30:24 +0000 (09:30 +0200)]
Cleanup / SafeUnbuffered bugfix

3 years agoMore stuff I missed
NoDRM [Sat, 6 Aug 2022 18:25:07 +0000 (20:25 +0200)]
More stuff I missed

3 years agoCleanup
NoDRM [Sat, 6 Aug 2022 18:19:36 +0000 (20:19 +0200)]
Cleanup

3 years agoMove unicode_argv to its own file
NoDRM [Sat, 6 Aug 2022 18:19:18 +0000 (20:19 +0200)]
Move unicode_argv to its own file

3 years agoRemove AlfCrypto libraries and perform everything in Python
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.

3 years agoCouple Python 2 fixes in (unsupported) standalone scripts
NoDRM [Sat, 6 Aug 2022 18:10:51 +0000 (20:10 +0200)]
Couple Python 2 fixes in (unsupported) standalone scripts

3 years agoMove SafeUnbuffered to own Python file
NoDRM [Sat, 6 Aug 2022 18:09:30 +0000 (20:09 +0200)]
Move SafeUnbuffered to own Python file

3 years agoAnother Python2 Bugfix for Obok
NoDRM [Sat, 6 Aug 2022 17:57:20 +0000 (19:57 +0200)]
Another Python2 Bugfix for Obok

3 years agoDelete unused files
NoDRM [Sat, 6 Aug 2022 17:56:18 +0000 (19:56 +0200)]
Delete unused files

3 years agoFix PDF corruption in Calibre 4 (#104)
NoDRM [Sat, 6 Aug 2022 13:29:05 +0000 (15:29 +0200)]
Fix PDF corruption in Calibre 4 (#104)

3 years agoFix ZIP attribute "external_attr" getting reset
NoDRM [Sat, 6 Aug 2022 11:53:03 +0000 (13:53 +0200)]
Fix ZIP attribute "external_attr" getting reset

3 years agoFix plugin crash with invalid ADE key
NoDRM [Wed, 3 Aug 2022 17:49:20 +0000 (19:49 +0200)]
Fix plugin crash with invalid ADE key

3 years agoFix Calibre 6 issue in Obok plugin
NoDRM [Wed, 3 Aug 2022 15:16:42 +0000 (17:16 +0200)]
Fix Calibre 6 issue in Obok plugin

3 years agoFix RSA.import_key (fixes #101)
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 ...

3 years agoPrepare release v10.0.3
NoDRM [Wed, 13 Jul 2022 15:21:49 +0000 (17:21 +0200)]
Prepare release v10.0.3

3 years agoAdd some Python2 compat code I forgot to add earlier
NoDRM [Wed, 13 Jul 2022 15:31:14 +0000 (17:31 +0200)]
Add some Python2 compat code I forgot to add earlier

3 years agoFix Obok plugin on Calibre 6 (#98)
NoDRM [Wed, 13 Jul 2022 13:34:47 +0000 (15:34 +0200)]
Fix Obok plugin on Calibre 6 (#98)

3 years agofix the regular expression
Yuki Liu [Fri, 15 Apr 2022 16:02:18 +0000 (11:02 -0500)]
fix the regular expression

3 years agoFix Nook study key retrieval
NoDRM [Tue, 22 Mar 2022 14:49:44 +0000 (15:49 +0100)]
Fix Nook study key retrieval

3 years agoFix Kindle for real
NoDRM [Sun, 20 Mar 2022 13:32:22 +0000 (14:32 +0100)]
Fix Kindle for real

3 years agoHopefully fix Kindle books
NoDRM [Sun, 20 Mar 2022 07:09:00 +0000 (08:09 +0100)]
Hopefully fix Kindle books

3 years agoFix print-replica Amazon books
NoDRM [Sat, 19 Mar 2022 15:41:59 +0000 (16:41 +0100)]
Fix print-replica Amazon books

3 years agoBugfix for Nook PDFs?
NoDRM [Sat, 19 Mar 2022 15:02:33 +0000 (16:02 +0100)]
Bugfix for Nook PDFs?

3 years agoSome untested Python2 Kindle bugfixes
NoDRM [Sat, 19 Mar 2022 14:23:07 +0000 (15:23 +0100)]
Some untested Python2 Kindle bugfixes

3 years ago(Hopefully) fix WineGetKeys for Kindle
NoDRM [Sat, 19 Mar 2022 14:08:36 +0000 (15:08 +0100)]
(Hopefully) fix WineGetKeys for Kindle

3 years agoAdd back unpad to fix Python2 support
NoDRM [Sat, 19 Mar 2022 09:14:45 +0000 (10:14 +0100)]
Add back unpad to fix Python2 support

3 years agoUpdate plugin readme
NoDRM [Sat, 19 Mar 2022 08:26:39 +0000 (09:26 +0100)]
Update plugin readme

3 years agoImprove error message
NoDRM [Sat, 19 Mar 2022 08:17:29 +0000 (09:17 +0100)]
Improve error message

3 years agoMake B&N plugin skip invalid hashes in Windows app
NoDRM [Fri, 18 Mar 2022 16:45:07 +0000 (17:45 +0100)]
Make B&N plugin skip invalid hashes in Windows app

3 years agoDebugging for __version issue
NoDRM [Fri, 18 Mar 2022 16:36:55 +0000 (17:36 +0100)]
Debugging for __version issue

3 years agoTry to fix V3 PDF files
NoDRM [Fri, 18 Mar 2022 16:26:17 +0000 (17:26 +0100)]
Try to fix V3 PDF files

3 years agoUpdate FAQs
NoDRM [Fri, 18 Mar 2022 16:09:51 +0000 (17:09 +0100)]
Update FAQs

Co-authored-by: ZolaLa <49111160+ZolaLa9@users.noreply.github.com>
3 years agoObok: Fix invalid UTF-8 causing UI to not open
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.

3 years agoAdd support for "hardened" Adobe DRM
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

3 years agoRemove OpenSSL support; only support PyCryptodome
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.

3 years agoUpdate FAQ
NoDRM [Tue, 11 Jan 2022 11:02:44 +0000 (12:02 +0100)]
Update FAQ

3 years agoRemove LCP references from Readme
NoDRM [Tue, 11 Jan 2022 07:42:37 +0000 (08:42 +0100)]
Remove LCP references from Readme

3 years agoAdd empty placeholder file for LCP
NoDRM [Tue, 11 Jan 2022 06:57:02 +0000 (07:57 +0100)]
Add empty placeholder file for LCP

3 years agoFix IndexError in mobidedrm.py
NoDRM [Tue, 4 Jan 2022 15:56:02 +0000 (16:56 +0100)]
Fix IndexError in mobidedrm.py

3 years agoMake plugin work in Calibre 6 (Qt 6)
NoDRM [Sun, 2 Jan 2022 20:18:13 +0000 (21:18 +0100)]
Make plugin work in Calibre 6 (Qt 6)

3 years agoAdd "MemoryError" to FAQ
NoDRM [Sun, 2 Jan 2022 18:13:15 +0000 (19:13 +0100)]
Add "MemoryError" to FAQ

3 years agoFix FileNotFoundError during PassHash handling
NoDRM [Sun, 2 Jan 2022 17:52:07 +0000 (18:52 +0100)]
Fix FileNotFoundError during PassHash handling

3 years agoFix libcrypto DLL path search (see #13 and #14)
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>
3 years agoTry to fix B&N issues
NoDRM [Sun, 2 Jan 2022 15:23:36 +0000 (16:23 +0100)]
Try to fix B&N issues

3 years agoMore work on standalone version, fix plugin
NoDRM [Sat, 1 Jan 2022 13:09:56 +0000 (14:09 +0100)]
More work on standalone version, fix plugin

3 years agoPython 3 fixes
Aldo Bleeker [Tue, 28 Dec 2021 17:34:11 +0000 (18:34 +0100)]
Python 3 fixes

3 years agoAdd passhash interface to CLI
NoDRM [Wed, 29 Dec 2021 12:00:45 +0000 (13:00 +0100)]
Add passhash interface to CLI

3 years agoBugfixes in standalone code for Calibre < 5 / Python 2
NoDRM [Wed, 29 Dec 2021 10:36:59 +0000 (11:36 +0100)]
Bugfixes in standalone code for Calibre < 5 / Python 2

3 years agoBegin work on standalone version
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.

3 years agoCleanup
NoDRM [Wed, 29 Dec 2021 08:14:35 +0000 (09:14 +0100)]
Cleanup

3 years agoCorrect user pass padding, fix PDFStream export
NoDRM [Mon, 27 Dec 2021 13:23:26 +0000 (14:23 +0100)]
Correct user pass padding, fix PDFStream export

3 years agoUpdate Changelog
NoDRM [Mon, 27 Dec 2021 09:46:27 +0000 (10:46 +0100)]
Update Changelog

3 years agoFix broken key management
NoDRM [Mon, 27 Dec 2021 09:45:36 +0000 (10:45 +0100)]
Fix broken key management

3 years agoTon of PDF DeDRM updates
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

3 years agoUpdate watermark code
NoDRM [Mon, 27 Dec 2021 09:39:41 +0000 (10:39 +0100)]
Update watermark code

3 years agoRemove ancient code to import keys from ancient plugins
NoDRM [Mon, 27 Dec 2021 09:35:02 +0000 (10:35 +0100)]
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.

3 years agoEdit .gitignore
NoDRM [Mon, 27 Dec 2021 09:26:39 +0000 (10:26 +0100)]
Edit .gitignore

3 years agoKey retrieval updates
NoDRM [Sat, 25 Dec 2021 22:35:59 +0000 (23:35 +0100)]
Key retrieval updates

3 years agoSupport for extracting PassHashes from ADE
NoDRM [Fri, 24 Dec 2021 13:35:53 +0000 (14:35 +0100)]
Support for extracting PassHashes from ADE

3 years agoUpdate PassHash documentation
NoDRM [Thu, 23 Dec 2021 14:53:52 +0000 (15:53 +0100)]
Update PassHash documentation

3 years agoLots of B&N updates
NoDRM [Thu, 23 Dec 2021 10:29:58 +0000 (11:29 +0100)]
Lots of B&N updates

3 years agoUpdate changelog
NoDRM [Mon, 20 Dec 2021 20:16:03 +0000 (21:16 +0100)]
Update changelog

3 years agoDetect Kobo & Apple DRM in epubtest.py
NoDRM [Mon, 20 Dec 2021 20:11:09 +0000 (21:11 +0100)]
Detect Kobo & Apple DRM in epubtest.py

3 years agoSupport importing multiple keys from ADE
NoDRM [Mon, 20 Dec 2021 20:10:21 +0000 (21:10 +0100)]
Support importing multiple keys from ADE

3 years agoFix username decryption with unicode chars in Python2
NoDRM [Mon, 20 Dec 2021 20:07:44 +0000 (21:07 +0100)]
Fix username decryption with unicode chars in Python2