noDRM_DeDRM_tools/DeDRM_plugin
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
..
__init__.py Update init file, update versions in files, update comments in files 2020-06-18 07:42:41 +01:00
activitybar.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
adobekey.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
aescbc.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
alfcrypto.dll Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
alfcrypto.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
alfcrypto64.dll Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
alfcrypto_src.zip Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
androidkindlekey.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
argv_utils.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
askfolder_ed.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
config.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
convert2xml.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
DeDRM_Adobe Digital Editions Key_Help.htm Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
DeDRM_Barnes and Noble Key_Help.htm Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
DeDRM_EInk Kindle Serial Number_Help.htm Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
DeDRM_eReader Key_Help.htm Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
DeDRM_Help.htm Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
DeDRM_Kindle for Android Key_Help.htm Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
DeDRM_Kindle for Mac and PC Key_Help.htm Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
DeDRM_Mobipocket PID_Help.htm Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
encodebase64.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
epubtest.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
erdr2pml.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
flatxml2html.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
flatxml2svg.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
genbook.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
ignobleepub.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
ignoblekey.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
ignoblekeyfetch.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
ignoblekeygen.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
ignoblepdf.py Update init file, update versions in files, update comments in files 2020-06-18 07:42:41 +01:00
ineptepub.py Update init file, update versions in files, update comments in files 2020-06-18 07:42:41 +01:00
ineptpdf.py Update init file, update versions in files, update comments in files 2020-06-18 07:42:41 +01:00
ion.py Update init file, update versions in files, update comments in files 2020-06-18 07:42:41 +01:00
k4mobidedrm.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
kfxdedrm.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
kgenpids.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
kindlekey.py Fix loading libcrypto on OSX Big Sur 2020-11-27 22:28:34 -05:00
kindlepid.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
libalfcrypto.dylib Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
libalfcrypto32.so Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
libalfcrypto64.so Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
mobidedrm.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
openssl_des.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
plugin-import-name-dedrm.txt Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
prefs.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
pycrypto_des.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
python_des.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
scriptinterface.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
scrolltextwidget.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
simpleprefs.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
stylexml2css.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
subasyncio.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
topazextract.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
utilities.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
wineutils.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
zipfilerugged.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00
zipfix.py Remove stand-alone apps. Only support the two plugins. 2020-02-16 10:12:25 +00:00