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

ebooks.com ADE DRM won't disappear #712

Open
taggin opened this issue Jan 24, 2025 · 2 comments
Open

ebooks.com ADE DRM won't disappear #712

taggin opened this issue Jan 24, 2025 · 2 comments

Comments

@taggin
Copy link

taggin commented Jan 24, 2025

Question / bug report

Hi there, many thanks for developing and maintaining this project.

I've just purchased a book from ebooks.com and sadly was faced with e-books reality that I can't get a file to my kindle due to DRM. After authorizing my laptop in ADE, I ended up with a useless epub that I can't copy to my kindle via email. I found this project on reddit and followed the instructions, however, the ebook will not convert. I've run the app in debug mode and re-imported my ebook. Log is attached below.

Let me know if I am being stupid or there's a newer DRM that can't be yet deDRM'd

Which version of Calibre are you running?

7.13

Which version of the DeDRM plugin are you running?

v10.0.9 AND later attempted with RC1

If applicable, which version of the Kindle software are you running?

No response

Log output

ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre Debug log
calibre 7.13 embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.11.5
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 19, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 19, 0) && KFX metadata reader (from KFX Input) (2, 19, 0) && From KFX (2, 19, 0) && KFX Input (2, 19, 0)
calibre 7.13 embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.11.5
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 19, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 19, 0) && KFX metadata reader (from KFX Input) (2, 19, 0) && From KFX (2, 19, 0) && KFX Input (2, 19, 0)
QPA platform: windows
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 169.33333333333334 x 169.33333333333334
[0.00] Starting up...
[0.00] Showing splash screen...
[0.16] splash screen shown
[0.16] Initializing db...
[0.16] db initialized
[0.16] Constructing main UI...
[0.94] GUI main window shown
[1.00] main UI initialized...
[1.00] Hiding splash screen
DeDRM v10.0.9: Trying to decrypt Wicked.epub
DeDRM v10.0.9: Verifying zip archive integrity
DeDRM v10.0.9: Wicked.epub is a secure Adobe Adept ePub for UUID 4cde6187-2348-43b5-87ce-06c7a196ea07
DeDRM v10.0.9: Looking for new default Adobe Digital Editions Keys after 0.1 seconds
Found 1 keys
DeDRM v10.0.9: Trying a new default key
t49gbgx4.epub is a secure Adobe Adept ePub.
Could not decrypt t49gbgx4.epub because of an exception:
Traceback (most recent call last):
File "C:\Users\Belvedere\AppData\Roaming\calibre\plugins\DeDRM.zip\ineptepub.py", line 275, in decryptBook
File "C:\Users\Belvedere\AppData\Roaming\calibre\plugins\DeDRM.zip\ineptepub.py", line 91, in init
File "Crypto\Cipher\AES.py", line 228, in new
File "Crypto\Cipher_init_.py", line 79, in _create_cipher
File "Crypto\Cipher_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 90, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)

DeDRM v10.0.9: Failed to decrypt with new default key after 0.3 seconds
DeDRM v10.0.9: Ultimately failed to decrypt after 0.3 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 199, in _run_filetype_plugins
File "calibre_plugins.dedrm.init", line 1041, in run
File "calibre_plugins.dedrm.init", line 639, in ePubDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.9: Ultimately failed to decrypt after 0.3 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
[8.66] splash screen hidden
[8.66] Started up in 8.66 seconds with 1 books
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\xa1z\xc33\x0b\x0b\xc5%\x91\x04X\x1f\xa7\xbfp\xf0\x10\xe9\xca\xfc\xe1\xd4\xe7K\x16\x0b%\xe7"\x92\x87L', b'C:\Users\Belvedere\Downloads\Wicked.epub']
Added Wicked to db in: 0.0
Added 1 books in 0.6 seconds

@ElleKayEm
Copy link

ADE is on the same computer and user? Preferably authorized with an Adobe ID. Deleted the saved key from DeDRM's customization. Re-add your book to calibre letting DeDRM automatically retrieve the key.

@taggin
Copy link
Author

taggin commented Jan 24, 2025

Ah, that would explain. Didn't want to install unknown software on my company laptop, so I moved the epub to personal device. I have faith this will work then. Thanks for quick reply.

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

2 participants