]> xmof Git - DeDRM.git/log
DeDRM.git
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

3 years agoCleanup
NoDRM [Mon, 20 Dec 2021 20:06:50 +0000 (21:06 +0100)]
Cleanup

4 years agoUpdate to v10.0.2
NoDRM [Mon, 29 Nov 2021 16:06:18 +0000 (17:06 +0100)]
Update to v10.0.2

4 years agoFix watermark stuff
NoDRM [Mon, 29 Nov 2021 15:33:45 +0000 (16:33 +0100)]
Fix watermark stuff

4 years agoAllow packaging without version number
NoDRM [Mon, 29 Nov 2021 15:27:51 +0000 (16:27 +0100)]
Allow packaging without version number

4 years agoFix username code for ADE key retrieval
Florian Bach [Sun, 28 Nov 2021 11:51:22 +0000 (12:51 +0100)]
Fix username code for ADE key retrieval

4 years agoFix typo in kindlekey.py that broke Mac version
Daniele Metilli [Sun, 21 Nov 2021 21:30:58 +0000 (22:30 +0100)]
Fix typo in kindlekey.py that broke Mac version

4 years agoFixes a bug that sometimes caused the plugin to fail
NoDRM [Fri, 19 Nov 2021 11:42:29 +0000 (12:42 +0100)]
Fixes a bug that sometimes caused the plugin to fail

4 years agoLCP support
NoDRM [Wed, 17 Nov 2021 20:53:24 +0000 (21:53 +0100)]
LCP support

4 years agoMake CI auto-package the plugin
NoDRM [Wed, 17 Nov 2021 20:38:08 +0000 (21:38 +0100)]
Make CI auto-package the plugin

4 years agoAdd some more watermark removal code
NoDRM [Wed, 17 Nov 2021 15:17:30 +0000 (16:17 +0100)]
Add some more watermark removal code

4 years agoSupport Python 2.7 and Python 3 winreg imports on Windows
Derek Tracy [Thu, 25 Feb 2021 01:54:39 +0000 (20:54 -0500)]
Support Python 2.7 and Python 3 winreg imports on Windows

4 years agoObok plugin cleanup
NoDRM [Tue, 16 Nov 2021 20:22:09 +0000 (21:22 +0100)]
Obok plugin cleanup

4 years agoFix font deobfuscation for Python 2
NoDRM [Tue, 16 Nov 2021 19:09:24 +0000 (20:09 +0100)]
Fix font deobfuscation for Python 2

4 years agoAuto-import keys from DeACSM plugin
NoDRM [Tue, 16 Nov 2021 16:14:03 +0000 (17:14 +0100)]
Auto-import keys from DeACSM plugin

4 years agoRemove CDP watermark from EPUBs
NoDRM [Tue, 16 Nov 2021 14:23:54 +0000 (15:23 +0100)]
Remove CDP watermark from EPUBs

4 years agoAdd B&N PDF DeDRM (untested), match UUID for Adobe PDFs
NoDRM [Tue, 16 Nov 2021 10:48:53 +0000 (11:48 +0100)]
Add B&N PDF DeDRM (untested), match UUID for Adobe PDFs

4 years agoFix ADE key import through plugin settings
NoDRM [Tue, 16 Nov 2021 10:21:03 +0000 (11:21 +0100)]
Fix ADE key import through plugin settings

4 years agoAdd back Python2 support (ADEPT)
NoDRM [Tue, 16 Nov 2021 10:09:03 +0000 (11:09 +0100)]
Add back Python2 support (ADEPT)

4 years agoAdd useful error message for the new, uncracked ADEPT DRM
NoDRM [Mon, 15 Nov 2021 18:51:36 +0000 (19:51 +0100)]
Add useful error message for the new, uncracked ADEPT DRM

4 years agoNo longer break obfuscated fonts on DRM removal
NoDRM [Mon, 15 Nov 2021 17:38:34 +0000 (18:38 +0100)]
No longer break obfuscated fonts on DRM removal

4 years agoAdd IETF and Adobe font deobfuscation code
NoDRM [Mon, 15 Nov 2021 16:59:48 +0000 (17:59 +0100)]
Add IETF and Adobe font deobfuscation code

4 years agoFAQ: note that Kindle 1.17 on Mac is 32-bit
John Belmonte [Sun, 16 May 2021 04:07:54 +0000 (13:07 +0900)]
FAQ: note that Kindle 1.17 on Mac is 32-bit

4 years agoFix for decryption check
Aldo Bleeker [Mon, 28 Jun 2021 14:59:15 +0000 (16:59 +0200)]
Fix for decryption check

4 years agoEnable issue forms
NoDRM [Mon, 15 Nov 2021 13:39:48 +0000 (14:39 +0100)]
Enable issue forms

4 years agoAdd old B&N algorihm (optional) just in case it's needed
NoDRM [Mon, 15 Nov 2021 13:30:32 +0000 (14:30 +0100)]
Add old B&N algorihm (optional) just in case it's needed

4 years agoRemove library flag from MOBI book
NoDRM [Mon, 15 Nov 2021 13:14:36 +0000 (14:14 +0100)]
Remove library flag from MOBI book

4 years agoAdded a code to remove Kindle watermark.
matimatik [Thu, 30 Apr 2015 06:24:00 +0000 (01:24 -0500)]
Added a code to remove Kindle watermark.
https://github.com/matimatik/DeDRM_tools/commit/f3fbc3573eadc4b505ed296176f35cd5a917cdbf

4 years agoRemove library book block
NoDRM [Mon, 15 Nov 2021 12:59:20 +0000 (13:59 +0100)]
Remove library book block

4 years agoImprove key detection for PDFs, too
NoDRM [Mon, 15 Nov 2021 12:38:39 +0000 (13:38 +0100)]
Improve key detection for PDFs, too

4 years agoImprove key detection
NoDRM [Mon, 15 Nov 2021 10:59:56 +0000 (11:59 +0100)]
Improve key detection

4 years agoUpdate Readme
NoDRM [Mon, 15 Nov 2021 10:00:06 +0000 (11:00 +0100)]
Update Readme

4 years agoMake keys fit into listbox
NoDRM [Mon, 15 Nov 2021 09:56:26 +0000 (10:56 +0100)]
Make keys fit into listbox

4 years agoAdd UUID to adobekey DER file names
NoDRM [Mon, 15 Nov 2021 09:47:09 +0000 (10:47 +0100)]
Add UUID to adobekey DER file names

4 years agoUpdate obok.py
journeyman88 [Mon, 26 Apr 2021 10:24:57 +0000 (12:24 +0200)]
Update obok.py

Changed MAC address fetching code to address possibile regression

4 years agoRemove broken CI
NoDRM [Mon, 15 Nov 2021 08:43:12 +0000 (09:43 +0100)]
Remove broken CI

4 years agoMore PDF fixes
NoDRM [Mon, 15 Nov 2021 07:40:18 +0000 (08:40 +0100)]
More PDF fixes