Calibre

Adobe Digital editions

apt install winetricks:i386

Run winetricks and install app: adobe digital edition

With winetricks opend a commandline shell in “adobe digital edition” wineprefix

Download python 32 bit installer and install with GUI “wine uninstaller”

Install win openssl from http://slproweb.com/products/Win32OpenSSL.html

wine ~/Scaricati/Win32OpenSSL_Light-1_0_2h.exe

Install pycrypto from http://www.voidspace.org.uk/downloads/pycrypto26/pycrypto-2.6.win32-py2.7.exe

wine ~/Scaricati/pycrypto-2.6.win32-py2.7.exe

Download https://github.com/apprenticeharper/DeDRM_tools, unzip and from wineprefix dir run key tool

cd ~.local/share/wineprefixes/adobe_diged/drive_c/Python27
wine python ~/Scaricati/DeDRM_tools-master/Other_Tools/DRM_Key_Scripts/Adobe_Digital_Editions/adobekey.pyw

Now key is in ~/Scaricati/DeDRMtools-master/OtherTools/DRMKeyScripts/AdobeDigitalEditions/

Import key with calibre plugin DeDRM → Adobe Digital Editions ebooks → Import Existing Keyfiles