Re: Remove Kindle DRM in Linux: FindPID to read Amazon .PRC/.AZW book on Sony ReaderYes, it seems that it cannot work on linux easily. The tools rely on windows and its libraries. k4pcutils.py seems to need
ctypes.windll.crypt32.CryptUnprotectData and I do not think there is a linux equivalent. I managed to hardcode into the code the kindle.info file, but I can't find the crypt32 module for linux. but i do not give up (yet). |
Re: Remove Kindle DRM in Linux: FindPID to read Amazon .PRC/.AZW book on Sony ReaderI tried another way. I installed Calibre in wine1.3. It installs, but I cannot add books (it seems there is a bug when running multiprocessing python code on wine, here ). So I went for the command line version in wine. I installed python, that happens to be a 32bit version. I found the kindle.info file and I ran the k4pc calibre plugin from command line (that is from python interpreter). I added a few print here and there in the mobidedrm.py code to check where it was, and it looks like now it at least generates a few PIDs, but at the end I get the same error message that says that probably the PID was not right...
if anybody has any idea on this, please let me know. Also, I am getting interested in this drm stuff. Where can I find some info, other then the python programs, on how the drm is put into the prc/azw files? /dr ps:I gave up porting k4pcutils.py to Linux. It might make sense to use cdll and wine to import the wine kernel32.dll.so and the other libraries. By I am python ignorant, and I am not even sure this is the way to go. |
All times are GMT -6. The time now is 09:13 PM. |