View Single Post
Old 12-15-2009, 08:02 PM   #423
Maethros
Junior Member
Maethros doesn't litterMaethros doesn't litterMaethros doesn't litter
 
Posts: 1
Karma: 246
Join Date: Dec 2009
Device: PRS-600
Change this:
Code:
    userkey = userkey.decode('base64')
                  userkey = AES.new(keykey, AES.MODE_CBC).decrypt(userkey)
To this:
Code:
    userkey = userkey.decode('base64')
    userkey = AES.new(keykey, AES.MODE_CBC).decrypt(userkey)
The indent is causing the script not to run.



Quote:
Originally Posted by avid View Post
I apologize if the answer I am looking for is already here - I have gone through this thread and the forums several times.

I installed ADE, Python2.6.4, the appropriate PyCrypto, all without problems on Windows XP home.
Downloaded an epub book with DRM free from Adobe, can see it fine in ADE.

Double click on ineptkey.pyw (both versions 2 and 3), and nothing happens - both with ADE running and closed.
Opened IDLE and ran the module there - gives me a Syntax error in both versions of ineptkey.
Any thoughts? I uninstalled and reinstalled all programs and the same result. I obviously haven't tried ineptepub as I don't yet have the key.
Thanks

PS - I am able to use dedrm for Mobi without problem - but I do that in Linux. Not sure what to do to troubleshoot this situation.
Maethros is offline   Reply With Quote