Go to file
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.
2020-11-27 22:28:34 -05:00
.github/workflows Focus only on legacy Python for now 2020-01-20 15:23:19 +01:00
DeDRM_plugin Fix loading libcrypto on OSX Big Sur 2020-11-27 22:28:34 -05:00
Obok_plugin Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
Other_Tools Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
CALIBRE_CLI_INSTRUCTIONS.md Update link 2019-09-05 12:04:40 -04:00
DeDRM_plugin_ReadMe.txt Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
FAQs.md Updates to FAQs and ReadMes 2020-06-18 08:03:20 +01:00
README.md Updates to FAQs and ReadMes 2020-06-18 08:03:20 +01:00
ReadMe_Overview.txt Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
make_release.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
obok_plugin_ReadMe.txt Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00

README.md

DeDRM_tools

DeDRM tools for ebooks

This is a repository of all the scripts and other tools for removing DRM from ebooks that I could find, committed in date order as best as I could manage. (Except for the Requiem tools for Apple's iBooks, and Convert LIT for Microsoft's .lit ebooks.)

Mostly it tracks the tools released by Apprentice Alf, athough it also includes the individual tools and their histories from before Alf had a blog.

Users should download the latest zip archive. Developers might be interested in forking the repository, as it contains unzipped versions of those tools that are zipped to make the changes over time easier to follow.

For the latest Amazon KFX format, users of the calibre plugin should also install the KFX Input plugin from the standard calibre plugin menu. It's also available from the MobileRead thread here: https://www.mobileread.com/forums/showthread.php?t=291290

I welcome contributions from others to improve these tools, from expanding the range of books handled, improving key retrieval, to just general bug fixes, speed improvements and UI enhancements.

I urge people to read the FAQs. But to cover the most common: Use ADE 2.0.1 to be sure not to get the new DRM scheme that these tools can't handle. Do remember to unzip the downloaded archive to get the plugin. You can't load the whole archive into calibre.

My special thanks to all those developers who have done the hard work of reverse engineering to provide the initial tools.

Apprentice Harper.