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

4 years agoVersion number update
Apprentice Harper [Sun, 21 Feb 2021 14:35:49 +0000 (14:35 +0000)]
Version number update

Update to 7.1.0 for a full release

4 years agoMerge pull request #1529 from ableeker/python3
Apprentice Harper [Sun, 21 Feb 2021 14:19:59 +0000 (14:19 +0000)]
Merge pull request #1529 from ableeker/python3

Fix for Python 3

4 years agoPreserve filename encoding flag when fixing epub archive
josdion [Thu, 18 Feb 2021 10:38:19 +0000 (12:38 +0200)]
Preserve filename encoding flag when fixing epub archive

4 years agoFix for Python 3
Aldo Bleeker [Sun, 14 Feb 2021 11:50:55 +0000 (12:50 +0100)]
Fix for Python 3

4 years agoMerge pull request #1522 from lkcv/patch-1
Apprentice Harper [Sun, 14 Feb 2021 08:56:58 +0000 (08:56 +0000)]
Merge pull request #1522 from lkcv/patch-1

Add detection for Kobo directory location on Linux

4 years agoMerge pull request #1502 from ableeker/python3
Apprentice Harper [Sun, 14 Feb 2021 08:55:56 +0000 (08:55 +0000)]
Merge pull request #1502 from ableeker/python3

Fix for broken book keys

4 years agoMerge pull request #1499 from xxyzz/kfx
Apprentice Harper [Sun, 14 Feb 2021 08:50:26 +0000 (08:50 +0000)]
Merge pull request #1499 from xxyzz/kfx

encode serialnum before returning it, close #1479

4 years agoUpdate obok.py
lkcv [Mon, 8 Feb 2021 02:21:03 +0000 (21:21 -0500)]
Update obok.py

4 years agoFix for broken book keys
Aldo Bleeker [Thu, 28 Jan 2021 12:06:59 +0000 (13:06 +0100)]
Fix for broken book keys

4 years agoencode serialnum before returning it, close #1479
xxyzz [Wed, 27 Jan 2021 06:31:05 +0000 (14:31 +0800)]
encode serialnum before returning it, close #1479

4 years agoMerge pull request #1482 from 2weak2live/master
Apprentice Harper [Sat, 23 Jan 2021 14:32:43 +0000 (14:32 +0000)]
Merge pull request #1482 from 2weak2live/master

Fix python3 encoding problem in voucher decryption

4 years agoMerge pull request #1481 from icaroscherma/patch-1
Apprentice Harper [Sat, 23 Jan 2021 14:30:21 +0000 (14:30 +0000)]
Merge pull request #1481 from icaroscherma/patch-1

[Tetrachroma FileOpen] Fixes Python 2.7 import issue, not linked to pywin

4 years agoMerge pull request #1491 from jony0008/master
Apprentice Harper [Sat, 23 Jan 2021 14:29:56 +0000 (14:29 +0000)]
Merge pull request #1491 from jony0008/master

Update sv

4 years agofix previous bug
llrosy798 [Thu, 21 Jan 2021 14:48:04 +0000 (23:48 +0900)]
fix previous bug

4 years agoupdate secret table
llrosy798 [Thu, 21 Jan 2021 14:46:03 +0000 (23:46 +0900)]
update secret table

4 years agofill unknown symbols in known catalog
llrosy798 [Thu, 21 Jan 2021 14:41:22 +0000 (23:41 +0900)]
fill unknown symbols in known catalog

4 years agoUpdate sv
Jony [Wed, 20 Jan 2021 11:01:00 +0000 (12:01 +0100)]
Update sv

4 years agoFix python3 encoding problem in voucher decryption
2Weak2Live [Thu, 14 Jan 2021 03:44:11 +0000 (22:44 -0500)]
Fix python3 encoding problem in voucher decryption

4 years agoFixes Python 2.7 import issue, not linked to pywin
Ícaro R. Scherma [Thu, 14 Jan 2021 00:44:16 +0000 (16:44 -0800)]
Fixes Python 2.7 import issue, not linked to pywin

4 years agoUpdate ineptpdf.py
Apprentice Harper [Sun, 3 Jan 2021 16:11:02 +0000 (16:11 +0000)]
Update ineptpdf.py

integer division, and version

4 years agoUpdated to inept.pdf for PC
Apprentice Harper [Sun, 3 Jan 2021 16:01:14 +0000 (16:01 +0000)]
Updated to inept.pdf for PC

Contributed changes for PC compatibility. Thanks, Aldo.

Update main version to 7.0.2

4 years agoUpdate ineptpdf.py
Apprentice Harper [Sun, 3 Jan 2021 15:35:17 +0000 (15:35 +0000)]
Update ineptpdf.py

Fix handling of metadata

4 years agoVersion to 7.0.1, ineptpdf fixes
Apprentice Harper [Wed, 30 Dec 2020 12:14:04 +0000 (12:14 +0000)]
Version to 7.0.1, ineptpdf fixes

ineptpdf should now decrypt at least some Adobe PDFs

4 years agoUpdate ineptepub.py
Apprentice Harper [Sun, 27 Dec 2020 12:16:11 +0000 (12:16 +0000)]
Update ineptepub.py

Handle uncompressed elements (if any) in the zip file.

4 years agoMerge pull request #1445 from ableeker/python3
Apprentice Harper [Sat, 26 Dec 2020 16:02:12 +0000 (16:02 +0000)]
Merge pull request #1445 from ableeker/python3

Some more fixes for ePub

4 years agoMerge pull request #1443 from jony0008/master
Apprentice Harper [Sat, 26 Dec 2020 16:00:04 +0000 (16:00 +0000)]
Merge pull request #1443 from jony0008/master

Update sv translation

4 years agoMobiDeDRM fixes
Apprentice Harper [Sat, 26 Dec 2020 15:58:42 +0000 (15:58 +0000)]
MobiDeDRM fixes

Change handling of PIDs to cope with byte arrays or strings passed in. Also fixed handling of a very old default key format.

4 years agoSome more fixes for ePub
Aldo Bleeker [Sat, 26 Dec 2020 14:36:10 +0000 (15:36 +0100)]
Some more fixes for ePub

4 years agoUpdate sv translation
Jony [Fri, 25 Dec 2020 12:47:14 +0000 (12:47 +0000)]
Update sv translation

4 years agoMerge pull request #1413 from ableeker/python3
Apprentice Harper [Sun, 13 Dec 2020 11:28:51 +0000 (11:28 +0000)]
Merge pull request #1413 from ableeker/python3

Small fix to make Obok help link work.

4 years agoSmall fix to make Obok help work.
Aldo Bleeker [Wed, 9 Dec 2020 16:34:24 +0000 (17:34 +0100)]
Small fix to make Obok help work.

5 years agoMerge pull request #1398 from xxyzz/config
Apprentice Harper [Fri, 4 Dec 2020 12:52:42 +0000 (12:52 +0000)]
Merge pull request #1398 from xxyzz/config

return str from load_resource()

5 years agoMerge pull request #1392 from penenkel/patch-1
Apprentice Harper [Fri, 4 Dec 2020 12:51:26 +0000 (12:51 +0000)]
Merge pull request #1392 from penenkel/patch-1

Add conversion from bytearray to bytes so that pids are hashable

5 years agoreturn str from load_resource()
xxyzz [Thu, 3 Dec 2020 11:02:09 +0000 (19:02 +0800)]
return str from load_resource()

5 years agoRevert changes to k4mobidedrm.py
penenkel [Wed, 2 Dec 2020 21:36:29 +0000 (22:36 +0100)]
Revert changes to k4mobidedrm.py

5 years ago`getPidList()` now returns pids as bytes instead of bytearrays
penenkel [Wed, 2 Dec 2020 21:34:29 +0000 (22:34 +0100)]
`getPidList()` now returns pids as bytes instead of bytearrays

5 years agoAdd conversion from bytearray to bytes so that pids are hashable
penenkel [Mon, 30 Nov 2020 22:25:01 +0000 (23:25 +0100)]
Add conversion from bytearray to bytes so that pids are hashable

5 years agoMerge pull request #1389 from ableeker/python3
Apprentice Harper [Sun, 29 Nov 2020 16:35:46 +0000 (16:35 +0000)]
Merge pull request #1389 from ableeker/python3

Python 3 fixes for __init__.py

5 years agoPython 3 fixes fort correct version of __init__.py
Aldo Bleeker [Sun, 29 Nov 2020 15:54:45 +0000 (16:54 +0100)]
Python 3 fixes fort correct version of __init__.py

5 years agoPython 3 fixes for __init__.py
Aldo Bleeker [Sun, 29 Nov 2020 12:39:04 +0000 (13:39 +0100)]
Python 3 fixes for __init__.py

5 years agoMerge branch 'Python2' - the DeDRM plugn version change
Apprentice Harper [Sun, 29 Nov 2020 10:47:09 +0000 (10:47 +0000)]
Merge branch 'Python2' - the DeDRM plugn version change

5 years agoDerive calibre version tuple from __version__ string
Apprentice Harper [Sun, 29 Nov 2020 10:40:14 +0000 (10:40 +0000)]
Derive calibre version tuple from __version__ string

5 years agoDon't rule out running from the command line
Apprentice Harper [Sat, 28 Nov 2020 16:25:54 +0000 (16:25 +0000)]
Don't rule out running from the command line

5 years agoMerge pull request #1380 from xxyzz/byte-string
Apprentice Harper [Sat, 28 Nov 2020 16:19:17 +0000 (16:19 +0000)]
Merge pull request #1380 from xxyzz/byte-string

Fix byte string error for KFX

5 years agoMerge branch 'Python2' Bring across version number updates from 6.8.1 release
Apprentice Harper [Sat, 28 Nov 2020 16:18:09 +0000 (16:18 +0000)]
Merge branch 'Python2' Bring across version number updates from 6.8.1 release

5 years agoUpdate DeDRM version number to 6.8.1, and kindlekey to 2.8
Apprentice Harper [Sat, 28 Nov 2020 16:11:17 +0000 (16:11 +0000)]
Update DeDRM version number to 6.8.1, and kindlekey to 2.8

5 years agoMerge branch 'Python2': Get the changes to fix Kindle key retrieval for Mac OS X...
Apprentice Harper [Sat, 28 Nov 2020 16:07:31 +0000 (16:07 +0000)]
Merge branch 'Python2': Get the changes to fix Kindle key retrieval for Mac OS X Big Sur

5 years agoMerge pull request #1383 from ableeker/python3
Apprentice Harper [Sat, 28 Nov 2020 15:47:22 +0000 (15:47 +0000)]
Merge pull request #1383 from ableeker/python3

Python 3 fixes for Barnes&Noble

5 years agoMerge pull request #1382 from koumaza/koumaza/refine-github-actions-workflow
Apprentice Harper [Sat, 28 Nov 2020 15:45:43 +0000 (15:45 +0000)]
Merge pull request #1382 from koumaza/koumaza/refine-github-actions-workflow

Refine GitHub Actions Workflow

5 years agoMerge pull request #1381 from protochron/fix_big_sur_python_2
Apprentice Harper [Sat, 28 Nov 2020 15:44:42 +0000 (15:44 +0000)]
Merge pull request #1381 from protochron/fix_big_sur_python_2

Fix loading libcrypto on OSX Big Sur

5 years agoPython 3 fixes for Barnes&Noble
Aldo Bleeker [Sat, 28 Nov 2020 13:49:27 +0000 (14:49 +0100)]
Python 3 fixes for Barnes&Noble

5 years agoUpdate Format.yaml: Change execution condition of workflow
shanghai yakisoba chan! [Sat, 28 Nov 2020 12:39:27 +0000 (21:39 +0900)]
Update Format.yaml: Change execution condition of workflow

Execute format workflow only if there is `!format` in the commit message.

5 years agoRefine gh-actions
shanghai yakisoba chan! [Sat, 28 Nov 2020 06:48:31 +0000 (15:48 +0900)]
Refine gh-actions

* Update and rename Python_test.yml to Lint.yaml
* Create Format.yaml

5 years agoFix loading libcrypto on OSX Big Sur
Dan Norris [Sat, 28 Nov 2020 03:11:44 +0000 (22:11 -0500)]
Fix loading libcrypto on OSX Big Sur

It looks like Big Sur removed `libcrypto.dylib` as a file on the
filesystem, so loading it using `ctypes.find_library` fails which breaks
Kindle decryption. Now to load a dylib you need to attempt to load it
directly and the operating system will load the dylib from the OS' cache
or fail.

This fixes the problem by explicitly setting the path to libcrypto to
`/usr/lib/libcrypto.dylib` if `ctypes.find_library` does not find the
file, loading the dylib and raising an exception if it fails at that
point.

See saltstack/salt#5778 for more detailed info.

Closes #1369.

5 years agoreplace bord with ord and some other byte string fix
xxyzz [Sat, 28 Nov 2020 03:22:27 +0000 (11:22 +0800)]
replace bord with ord and some other byte string fix

PyCryptodome's bord() in Python3 does nothing.

5 years agoimport ion correctly
xxyzz [Sat, 28 Nov 2020 03:20:53 +0000 (11:20 +0800)]
import ion correctly

5 years agoMerge pull request #1269 from keshavgbpecdelhi/patch-4
Apprentice Harper [Fri, 27 Nov 2020 19:34:20 +0000 (19:34 +0000)]
Merge pull request #1269 from keshavgbpecdelhi/patch-4

using the Kindle & prompt

5 years agoMerge pull request #1268 from keshavgbpecdelhi/patch-3
Apprentice Harper [Fri, 27 Nov 2020 19:34:08 +0000 (19:34 +0000)]
Merge pull request #1268 from keshavgbpecdelhi/patch-3

changing wil to will

5 years agoMerge pull request #1267 from keshavgbpecdelhi/patch-2
Apprentice Harper [Fri, 27 Nov 2020 19:33:59 +0000 (19:33 +0000)]
Merge pull request #1267 from keshavgbpecdelhi/patch-2

prompt and will

5 years agoMerge pull request #1266 from keshavgbpecdelhi/patch-1
Apprentice Harper [Fri, 27 Nov 2020 19:33:46 +0000 (19:33 +0000)]
Merge pull request #1266 from keshavgbpecdelhi/patch-1

"promt" doesn't make any sense

5 years agoUpdate ReadMe_Overview.txt
Apprentice Harper [Fri, 27 Nov 2020 19:32:25 +0000 (19:32 +0000)]
Update ReadMe_Overview.txt

5 years agoUpdate FAQs.md
Apprentice Harper [Fri, 27 Nov 2020 19:29:12 +0000 (19:29 +0000)]
Update FAQs.md

update with calibre 5 and new KFX info

5 years agoUpdate README.md
Apprentice Harper [Fri, 27 Nov 2020 19:20:44 +0000 (19:20 +0000)]
Update README.md

Update ReadMe for calibre 5 and new KFX DRM

5 years agoPython 3 fix for old ereader PDB DRM removal
Apprentice Harper [Fri, 27 Nov 2020 15:51:33 +0000 (15:51 +0000)]
Python 3 fix for old ereader PDB DRM removal

5 years agoPython 3 fix for epubtest.py that detects version of DRM used
Apprentice Harper [Fri, 27 Nov 2020 15:49:57 +0000 (15:49 +0000)]
Python 3 fix for epubtest.py that detects version of DRM used

5 years agoPython 3 fixes for Android kindle key retrieval
Apprentice Harper [Fri, 27 Nov 2020 15:46:06 +0000 (15:46 +0000)]
Python 3 fixes for Android kindle key retrieval

5 years agousing byte string in kfxdedrm.py
xxyzz [Fri, 27 Nov 2020 14:01:18 +0000 (22:01 +0800)]
using byte string in kfxdedrm.py

5 years agoRevert "PyCrypto requires RSA values to be long"
Apprentice Harper [Wed, 25 Nov 2020 08:36:06 +0000 (08:36 +0000)]
Revert "PyCrypto requires RSA values to be long"

This reverts commit a1703e15d4e9f1afc00a746cac1d1df585bfb546.

5 years agoRevert to byte arrays for maps on PC, and so fix for Mac which still used byte arrays...
Apprentice Harper [Mon, 23 Nov 2020 14:22:48 +0000 (14:22 +0000)]
Revert to byte arrays for maps on PC, and so fix for Mac which still used byte arrays. Remove some unused code.

5 years agoMerge pull request #1362 from ivan-m/pycrypto_rsa_long
Apprentice Harper [Mon, 23 Nov 2020 13:31:10 +0000 (13:31 +0000)]
Merge pull request #1362 from ivan-m/pycrypto_rsa_long

PyCrypto requires RSA values to be long not int (which is possible for small numbers)

5 years agoMerge pull request #1357 from task-hazy/python_3_cli_linux
Apprentice Harper [Mon, 23 Nov 2020 13:28:29 +0000 (13:28 +0000)]
Merge pull request #1357 from task-hazy/python_3_cli_linux

Adjust wineutils to better call wine python

5 years agoMerge pull request #1354 from ableeker/python3
Apprentice Harper [Mon, 23 Nov 2020 13:26:27 +0000 (13:26 +0000)]
Merge pull request #1354 from ableeker/python3

Python3 customisation dialog

5 years agoPython 3 fixes
Aldo Bleeker [Sun, 22 Nov 2020 15:03:45 +0000 (16:03 +0100)]
Python 3 fixes

5 years agoPyCrypto requires RSA values to be long
Ivan Lazar Miljenovic [Wed, 11 Nov 2020 12:51:19 +0000 (20:51 +0800)]
PyCrypto requires RSA values to be long

This is at least true for PyCrypto 2.6.1

5 years agoAdjust wineutils to better call wine python
Task Hazy [Mon, 9 Nov 2020 23:51:13 +0000 (16:51 -0700)]
Adjust wineutils to better call wine python

Separate out logic to find correct python executable, and change to not
do shell call with subprocess

5 years agoMinor Python 3 fix for Customize dialog
Aldo Bleeker [Sat, 7 Nov 2020 12:43:58 +0000 (13:43 +0100)]
Minor Python 3 fix for Customize dialog