Commit Graph

386 Commits (Python2)
 

Author SHA1 Message Date
Apprentice Harper 6716db1f62 Derive calibre version tuple from __version__ string 3 years ago
Apprentice Harper 464788a3f1 Update DeDRM version number to 6.8.1, and kindlekey to 2.8 3 years ago
Apprentice Harper 218539f131
Merge pull request #1381 from protochron/fix_big_sur_python_2
Fix loading libcrypto on OSX Big Sur
3 years ago
Dan Norris cdab22e59c
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.
3 years ago
Apprentice Harper 4868a7460e Updates to FAQs and ReadMes 4 years ago
Apprentice Harper 0859f197fc Update init file, update versions in files, update comments in files 4 years ago
Apprentice Harper da85d4ffac
Merge pull request #1095 from fondfire/patch-1
Create ignoblepdf.py
4 years ago
Apprentice Harper 6fd5535072
Merge pull request #1091 from vanicat/inetepub-python3
Inetepub python3
4 years ago
Apprentice Harper 885ef5e890
Merge pull request #1037 from apprenticesakuya/master
Finish .kinf2018 support and add KFX v2/v3 support
4 years ago
apprenticesakuya 22d2b37e04
Support KFX VoucherEnvelope versions 2 and 3 4 years ago
apprenticesakuya 837562db66
Support .kinf2018 on Mac 4 years ago
fondfire 3dcf3a5483
Create ignoblepdf.py
New Python 2 program to decrypt Barnes & Noble encrypted PDF files.
4 years ago
Rémi Vanicat f7b4efc3e1 More handling of difference between python2 and python3
Place where python3 use bytes/int and python2 str/str
4 years ago
Rémi Vanicat 2fbf2c1c5f decoding from base64 in a portable way 4 years ago
Rémi Vanicat 3166273622 modernizing ineptepub.
decrypting as python2 work
failing with python3:
  File "ineptepub.py", line 424, in decryptBook
    bookkey = rsa.decrypt(bookkey.decode('base64'))
AttributeError: 'str' object has no attribute 'decode'
4 years ago
apprenticesakuya ea916d85fc
Finish .kinf2018 support 4 years ago
Apprentice Harper 2bb73584f2 merge of translations 4 years ago
Apprentice Harper 8495ebe36d Merge branch 'master' of https://github.com/apprenticeharper/DeDRM_tools 4 years ago
Apprentice Harper 92bf51bc8f Remove stand-alone apps. Only support the two plugins. 4 years ago
Apprentice Harper e15ff385ca
Merge pull request #989 from jony0008/master
New translation for obok plug-in: Swedish
4 years ago
Apprentice Harper d48f4b86cf
Merge pull request #988 from ZolaLa9/Update-FAQs-for-Kindle-for-Mac-and-Catalina
Update FAQs.md for K4Mac and Catalina
4 years ago
Jony 2ef5c59ebe
New translation: Swedish
I have finished the Swedish translation. Please merge it.
4 years ago
ZolaLa d2995539f0
Update FAQs.md 4 years ago
Apprentice Harper ef3c7f261c
Merge pull request #859 from HansChua/linux_handling
Allow users to specify Kobo directory and add 'ip' command for linux
4 years ago
Apprentice Harper 778ce4782e
Merge branch 'master' into linux_handling 4 years ago
Apprentice Harper 69ac9b7399
Merge pull request #848 from sretlawd/kfx_dsn_fix
Allow decryption with DSN only.
4 years ago
Apprentice Harper 423dec0309
Merge pull request #847 from aplaice/linux_documentation
Improve documentation for using Kindle for PC with Linux in Wine
4 years ago
Apprentice Harper 582479c1f4
Merge pull request #845 from aplaice/fix_default_winepath
Fix automatic import of decryption keys on Linux with wine
4 years ago
Apprentice Harper c1ece2f288
Merge pull request #850 from cclauss/modernize-Python-2-codes
Use print() function in both Python 2 and Python 3
4 years ago
Apprentice Harper f5dd758b1b
Merge branch 'master' into modernize-Python-2-codes 4 years ago
Apprentice Harper a107742191
Merge pull request #983 from cclauss/patch-1
GitHub Action: There is no requirements.txt
4 years ago
Christian Clauss ce8538a2ca
Remove the unused rename_key() method 4 years ago
Apprentice Harper 2cf5960511
Merge pull request #863 from taroxd/patch-2
Fix typos - thanks.
4 years ago
Apprentice Harper ef687eb057
Merge pull request #895 from adrw/patch-1
Update link - thanks.
4 years ago
Apprentice Harper 7d5352fdf3
Merge pull request #910 from corysolovewicz/patch-2
Update FAQs.md
4 years ago
Apprentice Harper 795f413ecb Allow Kindle serial numbers to have spaces, allowing copy/paste from Amazon web site (thanks to jakemarsden) 4 years ago
Christian Clauss b35f777580
Focus only on legacy Python for now 4 years ago
Christian Clauss 0895aeb323
Undefined name: from ignoblekeygen import generate_key 4 years ago
Christian Clauss eddbefcf91
Undefined name: strip(uuidnum) --> uuidnum.strip() 4 years ago
Christian Clauss 0955713cd6
Undefined name: errlog = '' 4 years ago
Christian Clauss 4e26b9d4e7
Undefined name: errlog = '' 4 years ago
Christian Clauss 8c08c67aa8
Undefined name: import zipfix 4 years ago
Christian Clauss 90335bb925
Undefined name: Define RegError 4 years ago
Christian Clauss a10d9a617f
Undefined name: Error() --> ValueError() 4 years ago
Christian Clauss 7edebeef0d
import erdr2pml, ineptpdf, k4mobidedrm 4 years ago
Christian Clauss e35b37c4f4
Undefined name: from .convert2xml import encodeNumber 4 years ago
Christian Clauss 1fd972ee17
Identity is not the same thing as equality in Python 4 years ago
Christian Clauss 616548a9a8
Undefined name: import traceback for line 70 4 years ago
Christian Clauss e4c1a09d45
Undefined name: import traceback 4 years ago
Christian Clauss 89cf29cb78
flake8 . --builtins=_,I 4 years ago