apprenticeharper / DeDRM_tools

DeDRM tools for ebooks
14.52k stars 1.51k forks source link

On Windows, how can I find/generate the ADE decryption keys (for importing into Linux)? #1098

Open hub2git opened 4 years ago

hub2git commented 4 years ago

I can access a real Windows computer (i.e., not Wine or VM) occasionally until the end of this month (May). Do I still need to use adobekey.pyw? Or is there an easier way to find/generate the Adobe Digital Editions decryption key for importing to Calibre Linux DeDRM’s plugin config?

ElleKayEm commented 4 years ago

I think I'd find it easier just to install calibre with DeDRM on the Windows machine. Then you can save the Adobe Key from Window's DeDRM. The Linux setup won't retrieve the key?

hub2git commented 4 years ago

Hi @ElleKayEm,

I think I'd find it easier just to install calibre with DeDRM on the Windows machine

Ah, didn't know about this easier way. Thanks.

I'm not in front of the Windows computer today. Tomorrow, I can go to the Windows computer and try it out.

The Linux setup won't retrieve the key?

I haven't gotten this far yet. Is it simply a matter of exporting the Adobe Key from Windows Calibre's DeDRM and importing that same key into Linux Calibre's DeDRM?

ElleKayEm commented 4 years ago

Okay, I thought you were using the Windows machine because the Linux setup wasn't able to retrieve the key from ADE under Wine.

As long as Adobe Digital Editions is authorized with the same Adobe ID, then any books associated with that ID should unlock with that key.

hub2git commented 4 years ago

Hi @ElleKayEm I'm trying to solve this problem using a real windows machine, because the thought of dealing with Wine fills me with dread. :anguished:

ElleKayEm commented 4 years ago

How will you download your Adobe DRM ebooks when you don't have access to the Windows machine?

hub2git commented 4 years ago

i plan to do it on my Android phone. I have the ADE app on my Android phone. When the ACSM files are converted to encrypted ePubs, I then plan to move those files onto my Linux computer. This should work, right?

ElleKayEm commented 4 years ago

It should as long as the Android app is authorized with the same Adobe ID as ADE on Windows. The only issue I can see would be if whatever ebookstore your books are from is using the hardened Adobe DRM that these tools can't handle. On Windows, using ADE 2.0.1 will prevent you from getting stuck with that DRM. You'll get the older DRM if they're allowing both or the book won't download if they're only using the newer DRM. I imagine the Android app will handle both -- no idea if there's an older version that only uses the older DRM.

hub2git commented 4 years ago

Wierdly, the version number of the current ADE for Android is version 1.0. But interestingly, the older versions have bigger numbers. For example, a 2015 version is V4.5 (https://apkpure.com/adobe-digital-editions/com.adobe.digitaleditions/versions). So hopefully getting that 2015 would be a solution if I run into problem with the current "V1.0" version.

hub2git commented 4 years ago

I'd like to share an update on my attempts to get DeDRM working with Linux and an Android phone.

I can't log into anything but the current version of ADE Android I couldn't log into my overdrive account when I installed an older version of ADE Android as found in https://apkpure.com/adobe-digital-editions/com.adobe.digitaleditions/versions. I tried the previous version (v4.5.10 2019-01-07) as well as the oldest version on apkpure (v4.5 2015-10-02). I tried various old versions between those 2. They all gave me a weird error message

curl returned 60 (3c).

It was only when I installed the current version (as found in the Play Store), version 1.0, that I was able to log in and get my OD account authorized.

The good news is that I was able to remove the drm from the ACSM file using Android ADE 1.0 and my Linux Calibre with the ADE dedrm key imported. I tried it with one book. Let's hope that all other books I acquire will have the same happy outcome.

sabitm commented 2 years ago

I'd like to share an update on my attempts to get DeDRM working with Linux and an Android phone.

I can't log into anything but the current version of ADE Android I couldn't log into my overdrive account when I installed an older version of ADE Android as found in https://apkpure.com/adobe-digital-editions/com.adobe.digitaleditions/versions. I tried the previous version (v4.5.10 2019-01-07) as well as the oldest version on apkpure (v4.5 2015-10-02). I tried various old versions between those 2. They all gave me a weird error message

curl returned 60 (3c).

It was only when I installed the current version (as found in the Play Store), version 1.0, that I was able to log in and get my OD account authorized.

The good news is that I was able to remove the drm from the ACSM file using Android ADE 1.0 and my Linux Calibre with the ADE dedrm key imported. I tried it with one book. Let's hope that all other books I acquire will have the same happy outcome.

Ohh, how you do that (obtaining dedrm key from Android ADE)? I'm using Android version of ADE now and can't find the key (even on /data/data, a.k.a i'm rooted)

edit: nevermind. found this #952