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!