Libgourou

Issue 42: Exception code 0x500f bad decrypt

Reported by Berwyn Hoyt, Dec 18, 2022

Steps to reproduce the problem:
$ adept_remove -f A Short History of Modern Philosophy.epub

Expected result:
<decrypted file>

Actual result:
Exception code : 0x500f
Message        : error:1C800064:Provider routines::bad decrypt

Any idea what this means?

Comment 1 by Grégory Soutadé, Dec 18, 2022

Hi,

This error is CLIENT_CRYPT_ERROR, which means there is an error 
during decryption phase : it's mainly due to bad decryption key.

How did you get this .epub ? It is with the same account you used to 
decrypt it ? Has it been downloaded in anonymous mode ?

For further investigations I need :

 * The .epub sample
 * The output of verbose mode (adept_remove -v -v -v -f XXX.epub)

Thank you

Comment 2 by Berwyn Hoyt, Dec 18, 2022

I got the epub from my university library. I need it (and many other 
books) for my studies but cannot read them in Linux since I cannot 
get ADE working. If I can get your software working it would be a 
great answer, thank you!

I got the epub from my university library. I am using the same 
account that I used to decrypt it. By `anonymous mode` I guess that 
you are asking whether I put in my Adobe username and password to 
activate my .adept directory: yes, I did.

I attach the epub for your perusal. I got it out on a 24-hour loan 
to try this out but I can get a loan for several weeks if necessary.

The result of the command you specified is as follows.

$ adept_remove -v -v -f A\ Short\ History\ of\ Modern\ 
Philosophy.epub
Parse activation file .adept/activation.xml
SHA of KeyType : 25 c7 7d a5 36 fc 9f 89 d6 08 5f b9 70 07 34 f4 
8a d5 62 b0 b4 b0 a8 ab ec 2e 34 b7 a3 de c7 db 
First pass key : 34 f4 8a d5 62 b0 b4 b0 a8 89 d6 08 5f b9 70 07 
First pass IV  : 9f a8 dd 78 fd 2b 06 3e 1d f2 af 6b 78 2f e3 7a 
Exception code : 0x500f
Message        : error:1C800064:Provider routines::bad decrypt
File           : drmprocessorclientimpl.cpp:677

Let me know if there's anything else you need.

Comment 3 by Berwyn Hoyt, Dec 18, 2022

I got the epub from my university library. I need it (and many other 
books) for my studies but cannot read them in Linux since I cannot 
get ADE working. If I can get your software working it would be a 
great answer, thank you!

I got the epub from my university library. I am using the same 
account that I used to decrypt it. By `anonymous mode` I guess that 
you are asking whether I put in my Adobe username and password to 
activate my .adept directory: yes, I did.

I tried to attach the epub for your perusal but the issue forum gave 
me the following file size error (it is 1.3MB). Is there somewhere I 
can email it instead?
PlufErrorHandlerException making POST request to 
/p/libgourou/issues/42/
2 : filesize(): stat failed for 
/var/www/indefero_private/attachments/A Short History of Modern 
Philosophy.epub

I got it out on a 24-hour loan to try this out but I can get a loan 
for several weeks if necessary.

The result of the command you specified is as follows.

$ adept_remove -v -v -f A\ Short\ History\ of\ Modern\ 
Philosophy.epub
Parse activation file .adept/activation.xml
SHA of KeyType : 25 c7 7d a5 36 fc 9f 89 d6 08 5f b9 70 07 34 f4 
8a d5 62 b0 b4 b0 a8 ab ec 2e 34 b7 a3 de c7 db 
First pass key : 34 f4 8a d5 62 b0 b4 b0 a8 89 d6 08 5f b9 70 07 
First pass IV  : 9f a8 dd 78 fd 2b 06 3e 1d f2 af 6b 78 2f e3 7a 
Exception code : 0x500f
Message        : error:1C800064:Provider routines::bad decrypt
File           : drmprocessorclientimpl.cpp:677

Let me know if there's anything else you need.

Comment 4 by Berwyn Hoyt, Dec 18, 2022

I tried to attach the epub for your perusal but the issue forum gave 

me the following file size error (it is 1.3MB). Is there somewhere I 

can email it instead?
PlufErrorHandlerException making POST request to 
/p/libgourou/issues/42/
2 : filesize(): stat failed for 
/var/www/indefero_private/attachments/A Short History of Modern 
Philosophy.epub

Comment 5 by Berwyn Hoyt, Dec 19, 2022

Here's a link to the epub file: 
https://drive.google.com/file/d/13d9o16oWLFk5q9Zie7HF3olAMsaFmB9h/vie
w?usp=share_link

Comment 6 by Berwyn Hoyt, Jan 3, 2023

I no long get this error with the new version 0.8.1, so this issue 
can probably be closed. Thanks!

Comment 7 by Grégory Soutadé, Jan 15, 2023


Status: Fixed

Created: 5 months 21 days ago by Berwyn Hoyt

Updated: 4 months 24 days ago

Status: Fixed

Followed by: 2 persons

Labels:
Priority:Medium
Type:Defect