View Single Post
Old 01-13-2010, 02:32 PM   #448
chlorine
Addict
chlorine rocks like Gibraltar!chlorine rocks like Gibraltar!chlorine rocks like Gibraltar!chlorine rocks like Gibraltar!chlorine rocks like Gibraltar!chlorine rocks like Gibraltar!chlorine rocks like Gibraltar!chlorine rocks like Gibraltar!chlorine rocks like Gibraltar!chlorine rocks like Gibraltar!chlorine rocks like Gibraltar!
 
chlorine's Avatar
 
Posts: 276
Karma: 100000
Join Date: Jan 2009
Device: Kindle paperwhite 2
Hmmm, that's still not working for me...

Running it with the wine explorer command gave me the same "Incorrect padding" error.

Some manual inspection seems to show that the error is caused by the following line:
Code:
userkey = userkey.decode('base64')
and it seems that userkey contains the value
Code:
http://adeactivate.adobe.com/adept
which is probably not what is supposed to be there.

I really do not know a thing about running python under windows though, so I may have misunderstood something.

EDIT: OK, never mind me, I indeed had the wrong version of the script. I found ineptkey.pyw and it worked like a charm with wine. I was then able to use adeptdecrypt to sucessfully decrypt a secure ePub.
Yay ePub books are mine!

Last edited by chlorine; 01-14-2010 at 01:00 PM.
chlorine is offline   Reply With Quote