Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
default encryption key for Kindle for Mac/PC could not be found #25
Comments
tristan-k
changed the title from
unable to decrypt kindlekey
to
default encryption key for Kindle for Mac/PC could not be found
Aug 5, 2015
|
Commentators at Alf's blog have mentioned that there seems to be a problem with the current Ubuntu and wine. The python executable should be on the Windows PATH (or whatever the wine equivalent is) but appears not to be. Either the PATH needs to be updated, or python needs installing in the place mentioned in the error message. I don't know how to do either. |
tristan-k
commented
Aug 5, 2015
|
I found a workaround to decrypt the kindlekey, but now I'm unable to open or convert the amazon azw ebook. I manually added the WINEPREFIX to the command.
The error message when converting or opening the azw:
The same ebook can be converted or open without flaws on a windows machine. |
|
It looks like you've generated the k4i key file. Now import that into the plugin's preferences, and delete the book from calibre and re-import it. As it says in the readme, DRM removal happens on import, not on conversion. |
eli-schwartz
referenced this issue
Aug 28, 2015
Merged
Linux: Allow using ~ when specifying a wineprefix. #32
apprenticeharper
closed this
in
#32
Sep 1, 2015
thoatswold
commented
Jan 9, 2017
|
I found this thread very useful – thank you. I used PlayOnLinux to install Python 2.7 for Windows in the amazonkindle wine prefix, using the .msi installer from https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi. One of the options in the installation wizard is to add python.exe to the PATH, which I left selected – much easier than updating the PATH afterwards. I was then able to run tristank's command (the one beginning WINEPREFIX= above) to generate the kindlekey1.k4i file. From there it was plain sailing. |
tristan-k commentedAug 5, 2015
I'm running
Ubuntu 15.04withCalibre 2.31andDeDRM 6.3.1. I installedKindle For PC 1.11.0 (40.617)with PlayOnLinux andWine 1.7.39. My wineprefix (~/.PlayOnLinux/wineprefix/amazonkindle/) is configured properly and I followed the instructions given inDeDRM_plugin_ReadMe.txt.pycrypto-2.6.win32-py2.7.exeandActivePython-2.7.8.10-win32-x86.msiare installed. Yetkindlekey.pyis unable to decrypt the kindlekey because wine canont find the python installation.Any suggestion what went wrong?