Skip to content
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

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

Open
matteoponzini opened this issue Mar 31, 2021 · 13 comments

Comments

@matteoponzini
Copy link

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

@matteoponzini matteoponzini changed the title [QUESTION] I have a problem removing the DRM on adobe PDF [QUESTION] I have a problem removing the DRM on Adobe digital edition PDF Mar 31, 2021
@ElleKayEm
Copy link

Try calibre 4.23 and DeDRM 6.8.1.

@matteoponzini
Copy link
Author

Hi @ElleKayEm it works with 4.23 and DeDRM 6.8.1

@ElleKayEm
Copy link

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

@matteoponzini
Copy link
Author

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

@matteoponzini
Copy link
Author

if you need logs or other I am available

@ElleKayEm
Copy link

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
Copy link
Author

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

@ableeker
Copy link
Contributor

ableeker commented Apr 7, 2021

Could you post a log as well?

@ableeker
Copy link
Contributor

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

@frickeo
Copy link

frickeo commented May 1, 2021

I fixed this issue and created a pull request: #1689

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

@svnpsc
Copy link

svnpsc commented Jul 19, 2021

@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
Copy link

svnpsc commented Jul 19, 2021

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
Copy link

Please merge the fix from pull request #1689.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants