-
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
Obok calibre plugin unable to find user keys #840
Comments
Calibre and Kobo Desktop are on the same machine and user? You can read the books in the Kobo Desktop app? |
yes, same machine and user. |
And you can open and read books in the Kobo app? |
Yes, I can also read them in the app. (Apologies I meant to say that earlier) |
Hmm, I don't know. I have the same setup except I'm on Windows 8, and it's working for me. Not a solution, but a workaround would be to get the Adobe DRM versions from the Kobo website using ADE 2.0.1 and the DeDRM plugin instead. |
your suggested workaround has worked. Thanks for your help. Is it always the case that kobo books can be obtained via acsm files? |
Most, if not all, I believe. You can check at the bottom of an ebook's page on the Kobo site for the "Ebook Details" and it will show under "download options". If it has Adobe DRM, you'll get the .acsm file. If it's DRM-free, you'll be able to download the EPUB itself. |
After six months I have the same problem with exactly the same situation except I now use Calibre version 5.9.0, Obok version 6.7.0, and windows 10. It should be interesting at least to understand which are these "userkeys" the obok plugin is asking for. Any ideas? |
Obok should find the userkeys automatically in the Kobo Desktop database. You are using the Kobo Desktop program? Not the Windows store app? Also, you're using the master file version of Obok? Not the last release that comes with DeDRM_tools_6.8.1.zip? Both of those still show a version number of 6.7.0. |
First of all, thankyou for the explanation. Yes, I use Kobo Desktop downloaded by the kobo site. If Obok find the userkeys in the Kobo Desktop installation I can see two possibilities: Kobo has changed something in its app or I installed badly the app (despite the fact that everything seems ok) |
Still working for me. Kobo updated when I checked yesterday, and I had no issues. |
Happy for you! I tried on another PC, but no luck. |
Kobo is on the same machine and user as calibre with Obok? You can read your books in Kobo? I am using calibre 4.23 and the Python 2 version of Obok. Although I have seen others report that calibre 5.x and the unreleased version of Obok works for them. If you have a Kobo reader, you could connect it via usb and have Obok decrypt those books. And there is the workaround I suggested to the op...using ADE and DeDRM. |
Again thank you Ellie, and yes: Kobo is on the same machine as Calibre with Obok and I can read my books in Kobo. I maintained also the 4.x version of Calibre with Python 2. This is in a different PC. I hope that this can be of some interest for the authors and, in the meantime, I send a big hug to you and to your kindness. Claudio |
So for calibre 5, you downloaded the current DeDRM tools code from the main page and then zipped up the contents of the Obok folder? |
Sure. 7.0.3 for DeDrm and 6.7.0 for obok. Mantaining the old ones for Calibre 4. |
To be precise I unzipped the master package, then I extracted the obok part and the DeDrm part and rezipped both separately. After I loaded them onto Calibre 5 with no problems of installation. |
I didn't figure that the third package included into the master pack had to be loaded to allow the operation. Is it correct? |
Just double-checking since there hasn't been a beta release yet for Obok for calibre 5. And Obok's version number hasn't been updated since the release of DeDRM 6.7.0 almost a year ago. I don't know what you mean by third package. The Other_Tools folder? No, those are a lot of odds and ends that aren't need for the plugins. |
Yes to both your question. Yes I intend to wait the beta release that I suppose will include improvements and debugging and yes the "other_tools" software. Thank you for your answer. Coming back to the first question I tried to give a knowledge contribution to the next version according to my tests. I do not hope that there is any easy solution now. Claudio |
Hi, Running Obok DeDRM v6.7.0 |
I had a similar problem on Windows 10, using the latest 7.1.0 as the ipconfig command used in the "getmacaddrs" function returned some invalid utf-8 characters (according to debug). I've solved modifing the obok.py file to use the wmic command (as is a windows command it do not require special scripting permissions on the powershell, and should also work on Win 7 and Win 8, and in contrast with "getmac" should get all mac address and not only those of the enabled network adapters), and changing the regex to match correctly the result of the command. This is the pseudo-diff of the modification. |
Thanks journeyman88 ! |
I was experiencing the same thing on Mac.
Updating the output variable to add
Not enough of a pythonista to know if this is a correct solution. Found the solution here by googling I assume this is a somewhat generic error. |
I'm having a remarkably similar problem with obok and Kobo! My Kobo desktop reader and library are on the same machine as Calibre. All the books are readable in the Kobo desktop, but I'm also getting the "no userkeys" problem. See debug below. Driver: KoboTouch' |
@lalratty Try updating to Obok 7.2.1. No, the Kobo Desktop book files don't have extensions. These won't work in ADE since they have a different DRM. However, you can get a Adobe DRM epub from your books page on Kobo's website, and those can be decrypted with DeDRM. |
@ElleKayEm Thanks. I'd only been given the link for 7.1.0 yesterday by epubor's support, so I'd assumed I was on the latest version! |
attempting to use the plugin causes the following error message to be displayed:
No userkeys found to decrypt books with. No point in proceeding.
I've attempted reinstalling the plugins, calibre, and the kobo ebook reader to no effect
Calibre version 3.4.4
Obok plugin version 6.5.4
Kobo reader version 4.14.10877
OS is windows 7
I apologise if this issue is due to user error on my part
The text was updated successfully, but these errors were encountered: