Commit Graph

15 Commits (Python2)

Author SHA1 Message Date
Apprentice Harper 6716db1f62 Derive calibre version tuple from __version__ string 4 years ago
Apprentice Harper 464788a3f1 Update DeDRM version number to 6.8.1, and kindlekey to 2.8 4 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.
4 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
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 92bf51bc8f Remove stand-alone apps. Only support the two plugins. 4 years ago