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

4 years agoIssue 1635: Decypting PDF ebboks fixed
Olaf Fricke [Sat, 1 May 2021 19:11:53 +0000 (21:11 +0200)]
Issue 1635: Decypting PDF ebboks fixed

4 years agowhitespace and some unicode/bytes
Apprentice Harper [Sun, 11 Apr 2021 15:43:16 +0000 (16:43 +0100)]
whitespace and some unicode/bytes

Minor changes.

4 years agoUpdate version and FAQs
Apprentice Harper [Sun, 11 Apr 2021 14:28:33 +0000 (15:28 +0100)]
Update version and FAQs

Version 7.2.0 with all the latest pull requests, including on for the latest KFX encryption.

4 years agoMerge pull request #1490 from llrosy798/patch-1
Apprentice Harper [Sun, 11 Apr 2021 14:14:08 +0000 (15:14 +0100)]
Merge pull request #1490 from llrosy798/patch-1

update voucher envelope obfuscation table

4 years agoMerge pull request #1650 from romanbsd/bugfix
Apprentice Harper [Sun, 11 Apr 2021 14:10:32 +0000 (15:10 +0100)]
Merge pull request #1650 from romanbsd/bugfix

Python 3.x fix

4 years agoMerge pull request #1615 from ableeker/python3
Apprentice Harper [Sun, 11 Apr 2021 14:09:39 +0000 (15:09 +0100)]
Merge pull request #1615 from ableeker/python3

Python 3 fix

4 years agoMerge pull request #1586 from raiden64/master
Apprentice Harper [Sun, 11 Apr 2021 14:07:17 +0000 (15:07 +0100)]
Merge pull request #1586 from raiden64/master

Fix in keyfetch for obok on MacOS

4 years agoMerge pull request #1575 from journeyman88/master
Apprentice Harper [Sun, 11 Apr 2021 13:05:09 +0000 (14:05 +0100)]
Merge pull request #1575 from journeyman88/master

Fix in keyfetch for obok on win10

4 years agoMerge pull request #1560 from Threak/master
Apprentice Harper [Sun, 11 Apr 2021 13:04:04 +0000 (14:04 +0100)]
Merge pull request #1560 from Threak/master

Try new openssl library name

4 years agoMerge pull request #1546 from mkb79/master
Apprentice Harper [Sun, 11 Apr 2021 13:00:21 +0000 (14:00 +0100)]
Merge pull request #1546 from mkb79/master

Enhance parsing DrmIon files

4 years agoMerge pull request #1545 from lejando/patch-1
Apprentice Harper [Sun, 11 Apr 2021 12:57:29 +0000 (13:57 +0100)]
Merge pull request #1545 from lejando/patch-1

Update FAQs.md. Thanks, lejando.

4 years agoMerge pull request #1539 from josdion/master
Apprentice Harper [Sun, 11 Apr 2021 12:56:19 +0000 (13:56 +0100)]
Merge pull request #1539 from josdion/master

Preserve filename encoding flag when fixing epub archive

4 years agoPython 3.x fix
Roman Shterenzon [Thu, 8 Apr 2021 13:46:14 +0000 (16:46 +0300)]
Python 3.x fix

4 years agoAnother Python 3 fix
Aldo Bleeker [Mon, 5 Apr 2021 15:06:24 +0000 (17:06 +0200)]
Another Python 3 fix

4 years agoAnother Python 3 fix
Aldo Bleeker [Mon, 5 Apr 2021 10:16:02 +0000 (12:16 +0200)]
Another Python 3 fix

4 years agoPython 3 fix
Aldo Bleeker [Mon, 22 Mar 2021 18:24:34 +0000 (19:24 +0100)]
Python 3 fix

4 years agoFix in keyfetch for obok on MacOS
raiden64 [Fri, 5 Mar 2021 21:54:53 +0000 (22:54 +0100)]
Fix in keyfetch for obok on MacOS

4 years agoFix in keyfetch for obok on win10
journeyman88 [Mon, 1 Mar 2021 20:15:20 +0000 (21:15 +0100)]
Fix in keyfetch for obok on win10

According to calibre debug the ipconfig command returned some invalid utf-8 characters (I think is maybe an issue due to the Python2 switch-off as the 4.x version worked fine).
To solve this I've changed the external call and modified the regex to match both the output of "ipconfig" and that of "wmic".

4 years agoTry new openssl library name
Threak [Fri, 26 Feb 2021 17:50:10 +0000 (18:50 +0100)]
Try new openssl library name

4 years agoEnhance parsing DrmIon files
mkb79 [Mon, 22 Feb 2021 13:16:15 +0000 (14:16 +0100)]
Enhance parsing DrmIon files

Adding support for parsing plaintext in DrmIon files.

This is needed by my kindle project. When downloading an ebook with my package it gives me a metadata file wich is DrmIon encoded. This file containes plaintext instead of encrypted pages.

4 years agoUpdate FAQs.md
lejando [Mon, 22 Feb 2021 07:51:00 +0000 (08:51 +0100)]
Update FAQs.md

Removed space from Mac and Win and period from Mac SHA-256 Hashes, which prevent automatic comparison.