Comments (12)
Your key probably changed. Here's how to extract it now: https://www.aricrenzo.com/2019-12-13-Liberate-Your-Nook-Ebooks/
from dedrm_tools.
I tried that method but the cc_hash_data table has no rows. I found another cc_hash_data table in devices.db, which had two rows, but both were 60 characters long and neither worked.
from dedrm_tools.
Some people who had that issue had better luck with a different virtual Android device and or Nook app. You might find some useful info in more recent comments in this thread: apprenticeharper#814
from dedrm_tools.
Yeah, I had seen that thread, it didn't work on my rooted Samsung tablet. Are you saying I should try a virtual device instead? That was never necessary before.
And are saying there are "different ... Nook app[s]" I could try? Do you mean an earlier version of the Nook app?
from dedrm_tools.
Yes, that's what I meant. You might also try logging out and back into the Nook app on your tablet. Seems like someone mentioned that working for them.
from dedrm_tools.
Found this issue while doing some hunting of my own, so some more info! I also experienced the same issue trying to find the key hash in the version of the Nook app directly from the Google Play store (v5.5.1.12) - no rows in the cc_hash_data table of cchashdata.db, 60 character hash in the cc_hash_data table in devicemanager.db which doesn't work to decrypt the epubs.
HOWEVER. I decided to try an older version of the app, from the site listed in the linked blog post (v5.0.5.35, because the blog post discusses a 5.0 version working. The cchashdata.db file generated after signing in on THAT version does have a row with a key in it, which is 28 characters long. And, very interestingly, importing that key in the Calibre plugin works on the epubs I downloaded and copies over on the higher version. So I'm guessing either the 60-character key is a different representation of the same data in the 28-character key (which the plugin isn't equipped to handle yet), or there's a 28-character key hidden somewhere else in the files of the newer version that I haven't been able to find yet (though I did poke around the other dbs some and found nothing).
from dedrm_tools.
The actual key for the encryption itself (the one that needs to be imported into the plugin) will always be 28 characters. There's no way for Nook to change that without breaking compatibility for all existing readers. That's because the key is the base64 representation of a SHA1 hash (using Adobe's PassHash implementation). If the key wasn't 28 characters / 20 bytes, it would no longer be the passHash algorithm. This means that there must be a 28-character string hidden somewhere else.
Of course the key itself, the data encoded in this 28-character base64 string can be changed by Nook.
In case you didn't see it yet, fesiwi created a Python script that can export this key from the Windows Store Nook app: #9
I plan to integrate this script into the plugin as soon as possible.
from dedrm_tools.
from dedrm_tools.
Yes, it can, and I've just done that :P
I will also add support for that to the plugin.
Only issue would be extracting the necessary data, as it looks like the Nook app forbids backups by default.
Yes, it can be adapted to Android, and I've just done that for a quick test (and successfully decrypted a book). The problem is that the Nook Android app seems to forbid backups so you'd need a way to extract that user data (either a rooted device or a patched APK). But looking at @momijizukamori's response, there seems to be a way to do that. Or did you use an emulator and extracted the files from that? I used my actual Android phone and modded the app to allow backups.
from dedrm_tools.
Next version of the plugin will support importing keys from the Nook Windows Store app, and also from the extracted Android app data.
If you want to test without waiting for the next release, you can click on the "Actions" tab at the top, then click on the newest workflow run, then on the "plugin" artifact at the bottom and you'll be able to download a ZIP file with the newest plugin packaged from the latest commit.
from dedrm_tools.
The problem is that the Nook Android app seems to forbid backups so you'd need a way to extract that user data (either a rooted device or a patched APK). But looking at @momijizukamori's response, there seems to be a way to do that. Or did you use an emulator and extracted the files from that? I used my actual Android phone and modded the app to allow backups.
I have a rooted Android phone (Pixel 3a) so I just used a file browser app to copy the files out of the system data dir and into a userspace folder so I could email them to myself.
from dedrm_tools.
These instructions just worked perfectly for me! #9
from dedrm_tools.
Related Issues (20)
- It wasn't worked - calibre debug states "Failed to decrypt KFX DRM voucher with any key" before the final error HOT 2
- Drm removal not working HOT 3
- DRM removal not working on purchased Kindle book HOT 6
- Obok plugin in Calibre can't find Kobo library HOT 5
- Some security related suggestions
- ADE DRM not removed HOT 10
- Fail removing DRM for Kindle HOT 3
- OBOK No userkeys found to decrypt books with HOT 1
- Dedrm decryption failed HOT 21
- PDF from ADE 4.5 - through Calibre 7.8 and DeDRM 10.0.3, 10.0.9 and alpha HOT 5
- Didn't manage to decrypt PDF. Make sure the correct password is entered in the settings. HOT 1
- Can't add Kindle for Android Key HOT 3
- Failed to decrypt KFX DRM voucher with any key HOT 2
- Issue with removing Kobo DRM HOT 2
- DRM not removed from Kindle file HOT 1
- Kobo Books DeDRM Failure HOT 7
- PDF decryption fails HOT 3
- Font files don't decrypted from azw3
- DeDRM 10.0.9 - Can't open "customize plugin" menu HOT 2
- Purchased book on kindle that was published beyond Jan 2023 download on mac HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dedrm_tools.