Skip to content
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

Obok DeDRM v3.1.2 failing with error "Tis not added because it couldn't be decrypted" #1247

Closed
shanemcquillan opened this issue Sep 26, 2020 · 4 comments

Comments

@shanemcquillan
Copy link

shanemcquillan commented Sep 26, 2020

I just purchased my first book on Kobo and I'm trying to de-DRM it. I downloaded the Kobo app for macOS, after which I my purchased book appeared in the Obok DeDRM menu in Calibre. Unfortunately I'm seeing the error message "Tis not added because it couldn't be decrypted". Here's the output from calibre-debug:

Running Obok DeDRM v3.1.2
Obok v3.1.1
Copyright © 2012-2014 Physisticated et al.
Error parsing Kobo plist: no legacy user key found.
Found 6 possible keys to try.
DEBUG:    9.0 BookListTableWidget:get_books - book_num: 0
DEBUG:    9.0 BookListTableWidget:get_books - book: Tis
DEBUG:    9.0 InterfacePluginAction::launchObok - number of books to decrypt: 1
Obok DeDRM v3.1.2 - Decrypting Tis
Trying key:  3cc4be70ca48d81f003aed99c46ae912
Bad XML:  ш??
Decryption failed, trying next key.
Trying key:  cf9c8f9a044f00618b90e673e81dd784
Bad XML:  c<?N
Decryption failed, trying next key.
Trying key:  cf9c8f9a044f00618b90e673e81dd784
Bad XML:  c<?N
Decryption failed, trying next key.
Trying key:  788e2a88587bd0ece6d85c64783f86e7
Bad XML:  x?5![
Decryption failed, trying next key.
Trying key:  8486a1e58691937b0afaf08063af8b9a
Bad XML:  >??
Decryption failed, trying next key.
Trying key:  8486a1e58691937b0afaf08063af8b9a
Bad XML:  >??
Decryption failed, trying next key.
Obok DeDRM v3.1.2 - Couldn't decrypt Tis
DEBUG:    9.0 DecryptAddProgressDialog::do_book_action - book decryption failed: 'Tis'
Obok DeDRM v3.1.2 - wrapping up results.

Version info:

macOS 10.15.5
Calibre 4.23.0
Obok DeDRM v3.1.2
DeDRM 6.5.5
Kobo Desktop Edition 4.24.11789

Would appreciate assistance on this one. Happy to help with any debugging steps.

@shanemcquillan
Copy link
Author

Closing. Turns out I was using a really old version of Obok DeDRM. No issues with the latest.

@ChristopheRoyer21
Copy link

I would like to open this issue again. Here is the log for me

Obok DeDRM v7.2.1 - Decrypting Magical Girl Raising Project, Vol. 10 (light novel)
Trying key:  b'0804f9d890ea4bbb6656ba171d00b8a1'
Checking text:b'\x0b\xc89[\x88\x97\x83#\x1b5':
Perhaps utf-8 without BOM
Bad character at 0, value 11
Decryption failed, trying next key.
Trying key:  b'a7b846f352cec5ad2d0d2a7d3e137f3b'
Checking text:b'\xfc\xce\xfc\xeec)u\x81^)':
Perhaps utf-8 without BOM
Bad character at 0, value 252
Decryption failed, trying next key.
Trying key:  b'd36bbb41f788f987ace2bcd1533818d9'
Checking text:b'\x13\x00tF\xde^\xb2CF!':
Perhaps utf-8 without BOM
Bad character at 0, value 19
Decryption failed, trying next key.
Trying key:  b'2cc8390969bb535f0649d20425fab620'
Checking text:b'\xf6\xdb\x1e\xa4\xcb\xf8\x13o\x8a]':
Perhaps utf-8 without BOM
Bad character at 0, value 246
Decryption failed, trying next key.
Trying key:  b'89cab5e989a92461f71798ed47b7b32c'
Checking text:b'\x1ch\xb0\x9a\x81\xaeH=d\xcf':
Perhaps utf-8 without BOM
Bad character at 0, value 28
Decryption failed, trying next key.
Trying key:  b'ba1e176eaf9f271750fe4a275c9a7e99'
Checking text:b"\xe55F^H\xaa\x9b'\nX":
Perhaps utf-8 without BOM
Bad character at 0, value 229
Decryption failed, trying next key.
Trying key:  b'fe3d7e65b07d9d0707a9f6a9fb926ef7'
Checking text:b'\x17\xc1\xc7\x0cM8\r\xff\x01\xd3':
Perhaps utf-8 without BOM
Bad character at 0, value 23
Decryption failed, trying next key.
Trying key:  b'b56c76833ed2f9dda7e53849cd8126bd'
Checking text:b'}:2\x0bt\xc0XkmF':
Perhaps utf-8 without BOM
Bad character at 3, value 11
Decryption failed, trying next key.
Trying key:  b'f661fc0930112c311ae0627de79dfd85'
Checking text:b'\x84DQ\x97@\xebV\xc2\x17\x7f':
Perhaps utf-8 without BOM
Bad character at 0, value 132
Decryption failed, trying next key.
Trying key:  b'241793e490dbb565ab9fa55cf66ac7ed'
Checking text:b'\xa7\xcc`\xad\x89\x06\xef\x9cJM':
Perhaps utf-8 without BOM
Bad character at 0, value 167
Decryption failed, trying next key.
Trying key:  b'edcfd5b14781b18552a1edb9c6c46a8e'
Checking text:b'\xb3\xb5Wb{\xbf\x99\xf5\xe9\xf9':
Perhaps utf-8 without BOM
Bad character at 0, value 179
Decryption failed, trying next key.
Trying key:  b'a61818ac2e78f800137d1dd442aa391e'
Checking text:b'\x85&\xd6\xf5\x8eg\xf2\x19\x07\xe7':
Perhaps utf-8 without BOM
Bad character at 0, value 133
Decryption failed, trying next key.
Obok DeDRM v7.2.1 - Couldn't decrypt Magical Girl Raising Project, Vol. 10 (light novel)
DEBUG:   35.6 DecryptAddProgressDialog::do_book_action - book decryption failed: 'Magical Girl Raising Project, Vol. 10 (light novel)'
Obok DeDRM v7.2.1 - wrapping up results.

I use the obok_plugin I got in the zip of DeDRM v7.2.1 and I have the most recent version of Calibre

@ElleKayEm
Copy link

Give the one attached to this comment a try: #1718 (comment)

That issue is still open and discussing problems with the current Obok 7.2.1.

@ChristopheRoyer21
Copy link

In the end, I saw in a ticket that version 7.1.0 works and I tried it and it was fine. I'll look at the issue of the encryption key too. Thanks for the fast reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants