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

5 years agoMore Python 3 fixes for Customize plugin dialog
Aldo Bleeker [Fri, 6 Nov 2020 22:49:18 +0000 (23:49 +0100)]
More Python 3 fixes for Customize plugin dialog

5 years agoMerge pull request #1348 from fireattack/master
Apprentice Harper [Thu, 5 Nov 2020 10:51:56 +0000 (10:51 +0000)]
Merge pull request #1348 from fireattack/master

Convert all to bytes first before concat (fix for Windows routine)

5 years agoConvert all to bytes first before concat
fireattack [Mon, 2 Nov 2020 08:09:52 +0000 (02:09 -0600)]
Convert all to bytes first before concat

5 years agoMerge pull request #1340 from ableeker/python3
Apprentice Harper [Thu, 29 Oct 2020 14:09:28 +0000 (14:09 +0000)]
Merge pull request #1340 from ableeker/python3

Python 3 fixes config.py alfcrypto.py

5 years agoMerge pull request #1338 from ivan-m/wine_pythonpath
Apprentice Harper [Thu, 29 Oct 2020 14:06:53 +0000 (14:06 +0000)]
Merge pull request #1338 from ivan-m/wine_pythonpath

Set PYTHONPATH="" when running through wine

5 years agoPython 3 fixes config.py alfcrypto.py
Aldo [Wed, 28 Oct 2020 17:54:33 +0000 (18:54 +0100)]
Python 3 fixes config.py alfcrypto.py

5 years agoSet PYTHONPATH="" when running through wine
Ivan Lazar Miljenovic [Tue, 27 Oct 2020 05:34:16 +0000 (13:34 +0800)]
Set PYTHONPATH="" when running through wine

Without this, it's possible for the Linux PYTHONPATH to leak through
and mixing up the PyCrypto libraries being called (or possibly
exceeding the allowed length of the PYTHONPATH in wine).

5 years agoMerge pull request #1333 from jpwhiting/fixwinreg
Apprentice Harper [Thu, 22 Oct 2020 12:56:05 +0000 (13:56 +0100)]
Merge pull request #1333 from jpwhiting/fixwinreg

Fixwinreg - thanks, these all look useful and good.

5 years agoMerge pull request #1331 from koumaza/koumaza/issue-template
Apprentice Harper [Thu, 22 Oct 2020 12:54:11 +0000 (13:54 +0100)]
Merge pull request #1331 from koumaza/koumaza/issue-template

Create Question Issue Template

5 years agoMerge pull request #1329 from koumaza/koumaza/readme-wiki-how-to-remove
Apprentice Harper [Thu, 22 Oct 2020 12:53:01 +0000 (13:53 +0100)]
Merge pull request #1329 from koumaza/koumaza/readme-wiki-how-to-remove

Add link to Wiki Page `How to remove DRM` in README.md

5 years agoFix another exception thrown when unable to find kindle keys.
Jeremy Whiting [Wed, 21 Oct 2020 16:56:58 +0000 (10:56 -0600)]
Fix another exception thrown when unable to find kindle keys.

5 years ago_winreg in python3 has been changed to winreg. Update imports.
Jeremy Whiting [Wed, 21 Oct 2020 16:43:54 +0000 (10:43 -0600)]
_winreg in python3 has been changed to winreg. Update imports.

5 years agoUpdate README.md
shanghai yakisoba chan! [Wed, 21 Oct 2020 00:00:04 +0000 (09:00 +0900)]
Update README.md

Change Wiki Link

5 years agoCreate QUESTION.md
shanghai yakisoba chan! [Tue, 20 Oct 2020 17:26:26 +0000 (02:26 +0900)]
Create QUESTION.md

5 years agoUpdate README.md
shanghai yakisoba chan! [Tue, 20 Oct 2020 16:29:35 +0000 (01:29 +0900)]
Update README.md

Add Wiki Page Link

5 years agoMerge pull request #1318 from task-hazy/kindle_fetch
Apprentice Harper [Tue, 20 Oct 2020 15:21:36 +0000 (16:21 +0100)]
Merge pull request #1318 from task-hazy/kindle_fetch

Get working kindlekey.py on Python 3.8.6

5 years agoGet working kindlekey.py on Python 3.8.6
Task Hazy [Wed, 14 Oct 2020 19:44:12 +0000 (13:44 -0600)]
Get working kindlekey.py on Python 3.8.6

5 years agoMore fixes for Amazon books, fixing identity checks, started on Topaz.
Apprentice Harper [Fri, 16 Oct 2020 12:58:59 +0000 (13:58 +0100)]
More fixes for Amazon books, fixing identity checks, started on Topaz.

5 years agotest file type correctly
Apprentice Harper [Fri, 16 Oct 2020 12:22:19 +0000 (13:22 +0100)]
test file type correctly

5 years agoUpdate README.md
Apprentice Harper [Wed, 14 Oct 2020 15:34:27 +0000 (16:34 +0100)]
Update README.md

5 years agoMerge branch 'master' of https://github.com/apprenticeharper/DeDRM_tools
Apprentice Harper [Wed, 14 Oct 2020 15:33:14 +0000 (16:33 +0100)]
Merge branch 'master' of https://github.com/apprenticeharper/DeDRM_tools

5 years agoMerge pull request #1297 from PetraOleum/patch-1
Apprentice Harper [Wed, 14 Oct 2020 15:25:01 +0000 (16:25 +0100)]
Merge pull request #1297 from PetraOleum/patch-1

Update doc link for preferences code

5 years agoMerge pull request #1296 from tartley/lint-fixes
Apprentice Harper [Wed, 14 Oct 2020 15:24:16 +0000 (16:24 +0100)]
Merge pull request #1296 from tartley/lint-fixes

Fix CI lint failures

5 years agoMore general changes, and get mobidedrm and kindlekey to work on Mac.
Apprentice Harper [Wed, 14 Oct 2020 15:23:49 +0000 (16:23 +0100)]
More general changes, and get mobidedrm and kindlekey to work on Mac.

5 years agoUpdate doc link for preferences code
Petra Lamborn [Fri, 9 Oct 2020 09:25:01 +0000 (22:25 +1300)]
Update doc link for preferences code

This should really be properly explained, but at least it's not a dead link now!

5 years agoRemove unused fns in make_release.py
Jonathan Hartley [Thu, 8 Oct 2020 19:37:04 +0000 (14:37 -0500)]
Remove unused fns in make_release.py

5 years agoMostly Mac fixes. mobidedrm.py now works, and k4mobidedrm for at least some input...
Apprentice Harper [Sun, 4 Oct 2020 19:36:12 +0000 (20:36 +0100)]
Mostly Mac fixes. mobidedrm.py now works, and k4mobidedrm for at least some input. kindlekey.py should be working too. But lots more changes and testing to do.

5 years agoMerge pull request #1275 from jpwhiting/python3fixes
Apprentice Harper [Sun, 4 Oct 2020 19:07:37 +0000 (20:07 +0100)]
Merge pull request #1275 from jpwhiting/python3fixes

Python3fixes

5 years agoMerge pull request #1265 from heindevries/master
Apprentice Harper [Sun, 4 Oct 2020 19:04:32 +0000 (20:04 +0100)]
Merge pull request #1265 from heindevries/master

Some changes in obok.py to make it work on windows

5 years agoFix kgenpids string vs bytes usage for python3 for calibre 5.1.
Jeremy Whiting [Fri, 2 Oct 2020 06:19:49 +0000 (00:19 -0600)]
Fix kgenpids string vs bytes usage for python3 for calibre 5.1.

In order to properly get pids etc. we need to pass bytes to MD5 and SHA1
instead of unicode strings. Also ord() is no longer needed since
data is bytes value gets int and we need chr() to get characters from
the mapping bytearrays.

5 years agoFix launching help link from customization dialog.
Jeremy Whiting [Fri, 2 Oct 2020 06:17:47 +0000 (00:17 -0600)]
Fix launching help link from customization dialog.

To fix error with python3 when launching help link open files in binary
mode.

5 years agoUse open instead of file() to export keys to file.
Jeremy Whiting [Fri, 2 Oct 2020 04:41:57 +0000 (22:41 -0600)]
Use open instead of file() to export keys to file.

Fixes export of Kindle keys in calibre 5.0.1 here.

5 years agousing the Kindle & prompt
keshavgbpecdelhi [Wed, 30 Sep 2020 18:46:55 +0000 (00:16 +0530)]
using the Kindle & prompt

As I already said prompt is the right word so yeah...
and "you are use kindle" is making no sense so replacing it to make it meaningful i.e. "If you are using the Kindle for PC under Wine"

5 years agowil to will
keshavgbpecdelhi [Wed, 30 Sep 2020 18:35:46 +0000 (00:05 +0530)]
wil to will

typo

5 years agoprompt and will
keshavgbpecdelhi [Wed, 30 Sep 2020 18:31:32 +0000 (00:01 +0530)]
prompt and will

Sorry but typos are typos
"promt" should be written as "prompt"
and "wil" should be "will"

5 years ago"promt" doesn't make any sense
keshavgbpecdelhi [Wed, 30 Sep 2020 17:42:26 +0000 (23:12 +0530)]
"promt" doesn't make any sense

I think it may be a silly mistake or something because the other prompts are written well except this. Just to webpage will not look authentic by using a wrong spelling so writing the sentence like as follows :
Clicking this button will prompt you to enter a new name for the highlighted key in the list.

5 years agoMerge branch 'master' of https://github.com/heindevries/DeDRM_tools
HdV [Wed, 30 Sep 2020 14:56:14 +0000 (16:56 +0200)]
Merge branch 'master' of https://github.com/heindevries/DeDRM_tools
merging

5 years agoChanges to make obok work on win
HdV [Wed, 30 Sep 2020 12:25:32 +0000 (13:25 +0100)]
Changes to make obok work on win

_winreg renamed to winreg in python 3
os.popen3() replaced by subprocess.Popen()

5 years agoFix problem on Mac with byte arrays.
Apprentice Harper [Wed, 30 Sep 2020 12:25:32 +0000 (13:25 +0100)]
Fix problem on Mac with byte arrays.

5 years agoMerge pull request #1255 from cclauss/patch-2
Apprentice Harper [Wed, 30 Sep 2020 10:45:50 +0000 (11:45 +0100)]
Merge pull request #1255 from cclauss/patch-2

GitHub Action test on both Python 2 and Python 3

5 years agoUpdate genbook.py
Christian Clauss [Sun, 27 Sep 2020 23:03:30 +0000 (01:03 +0200)]
Update genbook.py

5 years agoOld style exceptions are syntax errors in Python 3
Christian Clauss [Sun, 27 Sep 2020 23:00:21 +0000 (01:00 +0200)]
Old style exceptions are syntax errors in Python 3

Switch to new style exceptions which work on both Python 2 and Python 3.

5 years agoprint() is a function in Python since 1/1/2020
Christian Clauss [Sun, 27 Sep 2020 22:49:21 +0000 (00:49 +0200)]
print() is a function in Python since 1/1/2020

5 years agoFix Python syntax error: add a comma
Christian Clauss [Sun, 27 Sep 2020 22:39:57 +0000 (00:39 +0200)]
Fix Python syntax error: add a comma

Discovered by flake8 running in our GitHub Action

5 years agoGitHub Action test on both Python 2 and Python 3
Christian Clauss [Sun, 27 Sep 2020 22:36:25 +0000 (00:36 +0200)]
GitHub Action test on both Python 2 and Python 3

5 years agoMore generic 3.0 changes, to be tested.
Apprentice Harper [Sun, 27 Sep 2020 10:54:49 +0000 (11:54 +0100)]
More generic 3.0 changes, to be tested.

5 years agoMerge pull request #1248 from kubik147/adobekey
Apprentice Harper [Sun, 27 Sep 2020 09:11:37 +0000 (10:11 +0100)]
Merge pull request #1248 from kubik147/adobekey

Make adobekey.py work in Python 3

5 years agoRemove the u string prefixes
kubik147 [Sat, 26 Sep 2020 22:57:53 +0000 (00:57 +0200)]
Remove the u string prefixes

5 years agoMake adobekey.py work in Python 3
kubik147 [Sat, 26 Sep 2020 22:46:32 +0000 (00:46 +0200)]
Make adobekey.py work in Python 3

5 years agoMerge pull request #1170 from Dr-Willy/master
Apprentice Harper [Sat, 26 Sep 2020 20:19:48 +0000 (21:19 +0100)]
Merge pull request #1170 from Dr-Willy/master

Fix path in make_release.py