-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EOFError when trying the wrong key first #42
Comments
I don't recognize those errors at all. I'll try to reproduce, but I'd be surprised if it was a plugin error. |
I don't have a valid, incorrect .der file to test with. Could you email me one of yours? apprenticeharper@gmail.com Thanks. |
I can't reproduce on Windows with calibre 2.2.2 and 6.,3.3. Just trying with 2.4.0 and 6.3.4 Microsoft Windows Version 6.3.9600 2013 Microsoft Corporation. All rights reserved. C:\Users\Harper>calibre-debug -g |
Can't reproduce with 6.3.4 and 2.2.2, although there's something nasty going on at the end. Microsoft Windows Version 6.3.9600 2013 Microsoft Corporation. All rights reserved. C:\Users\Harper>calibre-debug -g |
And as expected, I can't reproduce with calibre 2.4.0 and DeDRM 6.3.4 either. C:\Users\Harper>calibre-debug -g |
Since I don't have a Linux-based machine, I don't think there's a lot more that I can do. But if you could post a full log, I could try to spot some way to catch the error and allow the further keys to be used. (The snippets you've posted so far give no context as to when the error happens.) I suspect that the error is actually down to the particular variety and version of Linux you have. |
and then, as above. I didn't think that would be very helpful but there you go ... |
Thanks. It is, at least, helpful in a negative way - there's nothing obvious in there that's causing a problem. So, a closer look at the error: No node found for item that was just removed: QUrl( "file:///home/sanotehu/Documents/My Digital Editions/manifest.xml" ) Clearly something to do with Adobe Digital Editions, but nothing that the DeDRM plugin code is referencing. A puzzle indeed. I'll see if I can add some more error handling to get both keys tried no matter what's throwing the error. |
OK, I have a test version for you to try. Please email me directly, apprenticeharper@gmail.com and I'll send it to you. |
I don't seem to have received an email from you. If you are still having problems, let me know by email and I'll re-open this issue. |
I'm also seeing this issue with DeDRM 6.6.3 and Calibre 3.36. |
Post a log if you want someone to take a look. |
I'm on Kubuntu Vivid 64-bit and have reproduced this bug with Calibre versions 2.20 and 2.28, DeDRM tools v6.3.4a.
I have imported two .der files into the plugin. When I try to add a book freshly downloaded by the Digital Editions app, I get an ERROR: Cannot add books with details:
The output in the terminal makes it appear that DeDRM tried decrypting with the wrong key first and then just...gave up?
I can de-DRM the book by removing all but the key it really needs, but I think I should be able to have more than one key.
The text was updated successfully, but these errors were encountered: