apprenticeharper / DeDRM_tools

DeDRM tools for ebooks
14.55k stars 1.52k forks source link

[QUESTION] I have a problem removing the DRM on Adobe digital edition PDF #1635

Open matteoponzini opened 3 years ago

matteoponzini commented 3 years ago

I can not decrypt the pdf from Adobe digital edition but the ebooks I can easily

My Environment

Windows 10 Calibre: 5.12.0 Adobe digital Edition DeDRM: 7.1.0

ElleKayEm commented 3 years ago

Try calibre 4.23 and DeDRM 6.8.1.

matteoponzini commented 3 years ago

Hi @ElleKayEm it works with 4.23 and DeDRM 6.8.1

ElleKayEm commented 3 years ago

If you're all set, you can close the issue.

matteoponzini commented 3 years ago

but it is not possible to fix for the new version?

matteoponzini commented 3 years ago

if you need logs or other I am available

ElleKayEm commented 3 years ago

Good point. The release notes say this:

If you find a book that can be decrypted with calibre 4.23 and DeDRM 6.8.1, but that does not decrypt with DeDRM 7.1.0, please send me to original encrypted book, and your key exported from the DeDRM 6.8.1 preferences. I will try to reproduce the problem and fix the bug. Please send books and keys to apprenticeharper@gmail.com.

matteoponzini commented 3 years ago

I will try, thanks so much and talk to you soon

ableeker commented 3 years ago

Could you post a log as well?

ableeker commented 3 years ago

@matteoponzini Is it working with version 7.2.1? If it isn't could you please post the log?

frickeo commented 3 years ago

I fixed this issue and created a pull request: https://github.com/apprenticeharper/DeDRM_tools/pull/1689

I were abled to decrypt a pdf ebook with a patched version 7.2.1.

svnpsc commented 3 years ago

@frickeo could you please explain how to patch? I was not able to. I unzipped the DeDRM_plugin.zip, edited ineptpdf.py as you did and compressed again. Adding the file as a plugin into calibre throws an InvalidPlugin error saying the zip is invalid cause it does not contain a top-level __init__.py file.

svnpsc commented 3 years ago

I managed to patch it by following https://manual.calibre-ebook.com/de/creating_plugins.html. After editig ineptpdf.py I switched to the folder in terminal and executed calibre-customize -b .. After starting calibre again the encrypted PDF was successfully decrypted during import. thank you!

gschenck commented 3 years ago

Please merge the fix from pull request #1689.