
My whole purpose for this exercise was to decide if I wanted to buy a particular book on Kindle or not (It's a huge automotive repair manual, and I want to be able to print a few pages to reference when I'm working on a particular part of the car, so leaving it encrypted and restricted to view-only isn't an option), so I imported the "Sample Book" Amazon allows you to peruse before buying. This process created a key in the plugin, but I'm still not sure it's working. Then I used the "Import Existing Keyfiles" to import the key into DeDRM 7 inside Calibre. It then found the key, and decrypted it into the same directory as kindlekey.py. Then install Python 2.7 into my kindle4pc WINEPREFIX, and finally run the kindlekey.py I extracted from DeDRM 6.8.1 in that WINEPREFIX. I had to install the latest Calibre from the developer, then install the latest DeDRM, then also download and extract (but not install) DeDRM 6.8.1 in another directory. No version of DeDRM will install and work in the 4.99 version of Calibre included in Ubuntu 20.04's repository.You can't install Python 3 in wine (at least, I couldn't, and I couldn't find anyone on the web who could).Wuf, I think I finally got this to work, but with some caveats: It finds the key which can then be imported!.install python2.7 for windows in the same virtual drive.install the available version of Kindle for PC.

Here's how I got it done (after following the installation instructions for Linux): The error message when converting or opening the azw:

Saved a key to Z:\home\tristank\.config\calibre\plugins\DeDRM\libraryfiles\winekeysdir\kindlekey1.k4i Searching for kinfoFiles in C:\users\tristank\Local Settings\Application Dataįound K4PC 1.9+ kinf2011 file: C:\users\tristank\Local Settings\Application Data\Amazon\Kindle\storage\.kinf2011ĭecrypted key file using IDString '0' and UserName 'BLACKED' Wine: configuration in '/home/tristank/.PlayOnLinux/wineprefix/amazonkindle' has been updated.Ĭopyright ? 2010-2013 some_updates and Apprentice Alf $ WINEPREFIX=/home/tristank/.PlayOnLinux/wineprefix/amazonkindle/ wine python.exe "/home/tristank/.config/calibre/plugins/DeDRM/libraryfiles/kindlekey.py" "/home/tristank/.config/calibre/plugins/DeDRM/libraryfiles/winekeysdir/"įixme:ole:RemUnknown_QueryInterface No interface for iid Įrr:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available.įixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0圆9e6d901, context 0x713de0, init_notify 0, handle 0xfde7b4): stubįixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
