Quote:
Originally Posted by haytham
when i run the new ineptpdf, i am getting the following error "error decrypting book by session key". i am using ineptkey version 2 to extract adeptkey.der
does anybody know how i can fix it?
thanks
|
That's the line
if bookkey[0] != '\x02':
raise ADEPTError('error decrypting book session key')
I always thought that this was my error (wrong key) because I've got that error, too.
It still occures with the new script but I can't say if it's the 'script's fault' or mine (I debugged the complete script up to this error, it seems that the book key is wrongly decrypted).
Perhaps there is another decryption algorithm which isn't supported by the actual script. Can you open the original encrypted pdf?