Open digitalfreaknyc opened 2 years ago
Thanks for the report. 7eb8f07a33c28a49452a9755742d535ac8a33ed2 should hopefully fix the issue with your PDF file. You can click on "Actions", then the latest workflow run, then on "plugin" under "Artifacts" to download a test version. Let me know if that fixes the issue with your PDF. As for the EPUBs, if this didn't get fixed with all the other changes that have been done to the plugin in the meantime, I'm going to need a debug log from one of those as well.
Nope. Unless I downloaded the wrong version of the file....it didn't work.
-----Original Message----- From: noDRM @.> To: noDRM/DeDRM_tools @.> Cc: digitalfreaknyc @.>; Author @.> Sent: Sat, Mar 19, 2022 11:04 am Subject: Re: [noDRM/DeDRM_tools] Cannot de-drm Nook books (epub/PDF) even WITH key (Issue #50)
Thanks for the report. 7eb8f07 should fix the issue with your PDF file. You can click on "Actions", then the latest workflow run, then on "plugin" under "Artifacts" to download a test version. Let me know if that fixes the issue with your PDF. As for the EPUBs, if this didn't get fixed with all the other changes that have been done to the plugin in the meantime, I'm going to need a debug log from one of those as well.— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>
Interesting ... I'm going to try and add some more verbose logs to the plugin to track this down. Thanks for testing.
I'm having the same issue, I think. Happy to provide any logs or info that may be helpful.
DeDRM v10.0.2: Verifying zip archive integrity
DeDRM v10.0.2: “9782013976015.epub” is a secure Barnes & Noble ePub
DeDRM v10.0.2: Trying Encryption key nook
Could not decrypt u6hlhkug.epub because of an exception:
Traceback (most recent call last):
File "calibre_plugins.dedrm.ignobleepub", line 273, in decryptBook
File "calibre_plugins.dedrm.ignobleepub", line 204, in __init__
File "calibre_plugins.dedrm.ignobleepub", line 175, in __init__
File "Crypto\Cipher\AES.py", line 232, 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 93, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
DeDRM v10.0.2: Failed to decrypt with key nook after 0.1 seconds
DeDRM v10.0.2: Trying Encryption key nook_old
Could not decrypt u6hlhkug.epub because of an exception:
Traceback (most recent call last):
File "calibre_plugins.dedrm.ignobleepub", line 273, in decryptBook
File "calibre_plugins.dedrm.ignobleepub", line 204, in __init__
File "calibre_plugins.dedrm.ignobleepub", line 175, in __init__
File "Crypto\Cipher\AES.py", line 232, 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 93, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
DeDRM v10.0.2: Failed to decrypt with key nook_old after 0.1 seconds
DeDRM v10.0.2: Looking for new NOOK Study Keys after 0.1 seconds
DeDRM v10.0.2: Exception when getting default NOOK Study Key after 0.1 seconds
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 345, in ePubDecrypt
File "calibre_plugins.dedrm.ignoblekey", line 204, in nookkeys
File "calibre_plugins.dedrm.ignoblekey", line 160, in getNookLogFiles
TypeError: can only concatenate str (not "bytes") to str
DeDRM v10.0.2: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
[5.55] splash screen hidden
[5.55] Started up in 5.55 seconds with 1356 books
Added Moi, Simon, 16 ans, Homo Sapiens to db in: 1.2
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 175, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 899, in run
File "calibre_plugins.dedrm.__init__", line 397, in ePubDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.2: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharAdded 1 books in 1.8 seconds
Worker Launch took: 0.00 seconds
Just found https://github.com/noDRM/DeDRM_tools/discussions/9 and it worked perfectly for me - @digitalfreaknyc try it?
That's a different bug than the one reported by digitalfreaknyc. Your bug should now be fixed with dcbb3775667ab716f2da0c61d97000750cd7f88e. @digitalfreaknyc can you provide a log for an unsuccessful EPUB file? Maybe these contain more useful information.
@noDRM ack, sorry to clutter! thanks for the info.
That's a different bug than the one reported by digitalfreaknyc. Your bug should now be fixed with dcbb377. @digitalfreaknyc can you provide a log for an unsuccessful EPUB file? Maybe these contain more useful information.
They all work now, after that latest update. The only one that doesn't is the PDF...which is the only one I needed to convert in the first place :) :)
Would it help to send you the PDF file?
-----Original Message----- From: noDRM @.> To: noDRM/DeDRM_tools @.> Cc: digitalfreaknyc @.>; Author @.> Sent: Sat, Mar 19, 2022 11:47 am Subject: Re: [noDRM/DeDRM_tools] Cannot de-drm Nook books (epub/PDF) even WITH key (Issue #50)
Interesting ... I'm going to try and add some more verbose logs to the plugin to track this down. Thanks for testing.— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>
Maybe, if you're comfortable sharing the PDF and your Nook key string / key file (which you can export in the plugin settings). My email is in my Github profile.
I tested your PDF, but I can't get it to work at all, no matter what I do. Neither my fork, nor the latest original version, nor the 6.2.0 (latest Python2 version) seems to work. Maybe B&N PDF has always been broken? Or something is wrong with your PDF or your keys ...
According to the release notes, the script for B&N pdfs was first added with DeDRM 6.8.0, but it wasn't integrated into the plugin. And Apprentice Harper wasn't able to test it.
Like I said, the key now works on the epubs, no problem. And the PDF works in the app on Windows. I guess there's something else going on with PDF's...
On Apr 9, 2022 at 7:01 AM, <noDRM @.***)> wrote:
I tested your PDF, but I can't get it to work at all, no matter what I do. Neither my fork, nor the latest original version, nor the 6.2.0 (latest Python2 version) seems to work. Maybe B&N PDF has always been broken? Or something is wrong with your PDF or your keys ...
— Reply to this email directly, view it on GitHub (https://github.com/noDRM/DeDRM_tools/issues/50#issuecomment-1093907360), or unsubscribe (https://github.com/notifications/unsubscribe-auth/ANJ4AFDHCRBK56CBPTJEGLTVEFPR7ANCNFSM5QAIITSA). You are receiving this because you were mentioned.Message ID: @.***>
No problem. Would it help to send you the file?
-----Original Message----- From: noDRM @.> To: noDRM/DeDRM_tools @.> Cc: digitalfreaknyc @.>; Author @.> Sent: Sat, Mar 19, 2022 11:47 am Subject: Re: [noDRM/DeDRM_tools] Cannot de-drm Nook books (epub/PDF) even WITH key (Issue #50)
Interesting ... I'm going to try and add some more verbose logs to the plugin to track this down. Thanks for testing.— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>
Question / bug report
Tried to de-drm books from B&N today and it mostly did not work.
Out of the 7, 2 were DRM-free, 1 was taken care of by De-DRM and the other 3 did not work. 6 were epubs and 1 is a PDF.
When I first got them (well, 6 of the 7) in 2021, I was able to de-DRM them with no problem. Now, clearly, something has changed.
The log I'm including here is for the PDF. I can include the epub one as well.
Which version of Calibre are you running?
5.38
Which version of the DeDRM plugin are you running?
10.0.2
If applicable, which version of the Kindle software are you running?
No response
Log output