-
Notifications
You must be signed in to change notification settings - Fork 336
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
Can't decrypt kobo's book #57
Comments
Are you using Kobo and Obok or ADE and DeDRM? Or are you getting the same error with both? |
This log you posted is from you trying to open the book. You need to post a log from the import attempt. |
I can import the book. No error. Does this log can help?
|
Thanks for your help, @ElleKayEm. I got the log.
|
@nephtys59 Are you able to decrypt these books using ADE and DeDRM instead of Kobo and Obok? |
No, it doesn't work anyway. |
@nephtys59 Your issue seems different as Obok thinks the books are DRM-free to begin with. Does DeDRM do the same? |
Yes, the book is imported without errors in calibre but not dedrm-ed and it's unreadable. I want to mention that I tried other methods outside calibre, and none of them works on these ebooks. Kobo declares that those books are Adobe DRM protected, but I can't seem to find anything that manages to remove that DRM. Maybe an update of the plugin is needed, so that it may recognize the hidden DRM? I'm not an expert, but I'm wondering ... if you need logs or other screenshots, let me know. |
These log shows 3 import attempt (each time I deleted the file). EpubMerge: DEBUG: 2022-03-30 17:08:31,966: calibre_plugins.epubmerge.epubmerge_plugin(155): macmenuhack file_path:D:\Biblioteca\Calibre Portable\Calibre Settings\plugins\fanficfare_macmenuhack.txt OS: Windows 10 - Calibre 5.39 |
Books downloaded with Kobo apps/devices can only be decrypted with Obok. To see if DeDRM will work on them, you need to download the Adobe DRM versions. |
I tried with Obok ---> doesn't work (file unreadable) |
@nephtys59 To download the Adobe DRM versions, go to "My Books" on the Kobo website. You'll get the acsm file which you open with Adobe Digital Editions. (Needs to be authorized with an Adobe ID and on the same machine and user as calibre with DeDRM). |
@nephtys59 Ah, is it borrowed instead of purchased? If so, that may be why Obok isn't working on it. |
oh ok, so Obok works only on purchased ebooks and not on borrowed ones - thanks |
Just a guess on my part that Kobo does something different with those books that Obok isn't setup for. |
@nivevas Yes, it is manga and picture albums. |
The question is, does it not work because the DRM removal actually fails, or does it not work because Calibre cannot open / read these manga books. Try opening the imported file with another eBook reader, or just extract its ZIP file and see if the contents are readable. |
I got the same problem with acquired manga. When I extract the epub images (open it as a zip) the images are not readable. |
PS. I understand the problem now (at least my problem, not sure if it's the same as the op problem anymore). |
The OP is getting the same error with both Obok and DeDRM:
So it looks like an error in the book itself that is tripping up both of the tools. |
That is not correct. Kobo uses their own DRM for books books downloaded directly to Kobo ereaders or using their desktop application. This is why Obok exist. These books cannot be decrypted with the same tools used for Adobe DRM. As to the error, it is either a fault in the book (that there is no "OPS/advanced.opf" in the book) or it is because it is a borrowed book (either from a library or using Kobo Plus) uses a different DRM that Obok does not support. |
Or, like I said in my last post, you need to close the Kobo app/download a book. |
For me, with borrowed books, it doesn't work even if I close the kobo app. Obok see the DRM-ed books as they were DRM free and doesn't decrypt them. |
DRM has not been changed. But there's a difference in file structure for newer manga/comic. Fisrt, you can just delete "OPS/advanced.opf" line in "container.xml" using e-book editor bundled with calibre. And importing it after deletion still produces invalid epub. But unzip that epub and you can see those images decrypted. Second, They are directly using image in spine instead of xml. That is the reason what makes epub unreadable. Maybe we should create xhtml by ourselves and replace those occurrences on "OPS/standard.opf", "OPS/navigation_standard.ncx". |
I have discovered that, if the borrowed books are downloaded directly on the kobo e-reader and then you connect the device to calibre, obok decrypts them perfectly. So, the issue is limited to books downloaded with kobo desktop app for PC. |
I tried it again today with the new version of Kobo desktop app on Windows 11 and noDRM's latest version of tools, and the error still persists. If it's limited to the desktop app, I wonder if other versions of the app will have the same issue. |
@fmdmf Is it just a specific book you're unable to decrypt or all of your Kobo books? |
@ElleKayEm Of the 70+ books I have on Kobo's desktop app, only about 3 could be successfully de-DRMed with Obok. The rest of them still give me the same issue I had in my previous issue report, linked to in OP's post. |
You were also getting that error on the Adobe DRM books with DeDRM, right? "There is no item named 'OPS/advanced.opf' in the archive" |
That's exactly right, yes. |
This was it! If the Kobo app is open, Obok acts like the books are DRM-free for some reason. As soon as I close Kobo, Obok detects the DRM and properly removes it. |
I updated Calibre and deDRM + Obok and tried again, but unfortunately had no luck. I still get
@japzone1 Might I enquire as to which version of Calibre, the plugins and Kobo Desktop app you're currently using? |
@fmdmf |
@japzone1 Thank you. Can confirm it doesn't work with my versions of the apps: Calibre 6.11.0 |
I have the same issue. Kobo books that were bought work fine but kobo books that were rented in Kobo Plus are recognised as not having DRM by obok. Which means the conversion fails. Any workaround? |
Question / bug report
The same error as this
Which version of Calibre are you running?
5.39.1
Which version of the DeDRM plugin are you running?
v10.0.2 and v7.2.1
If applicable, which version of the Kindle software are you running?
No response
Log output
Thank you.
The text was updated successfully, but these errors were encountered: