apprenticeharper / DeDRM_tools

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

DeDRM is not working with azw3 files on Calibre 4.23 installed on mac OS 11.0.1 #1410

Closed tos070 closed 3 years ago

tos070 commented 3 years ago

CheckList


Title

My Environment

Calibre: 4.23

Kindle: 1.30.0

DeDRM: 6.8.0

Log

Removing DRM from The trainable cat ```log calibre Debug log calibre 4.23 embedded-python: True is64bit: True Darwin-20.1.0-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '20.1.0', 'Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64') Python 2.7.16 OSX: ('10.16', ('', '', ''), 'x86_64') Interface language: None Successfully initialized third party plugins: DeDRM (6, 8, 0) && K4PC, K4Mac, Kindle Mobi and Topaz DeDRM (0, 3, 5) calibre 4.23 embedded-python: True is64bit: True Darwin-20.1.0-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '20.1.0', 'Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64') Python 2.7.16 OSX: ('10.16', ('', '', ''), 'x86_64') Interface language: None Successfully initialized third party plugins: DeDRM (6, 8, 0) && K4PC, K4Mac, Kindle Mobi and Topaz DeDRM (0, 3, 5) devicePixelRatio: 2.0 logicalDpi: 72.0 x 72.0 physicalDpi: 125.500001885 x 125.500001885 Using calibre Qt style: True [0.00] Starting up... [0.12] Showing splash screen... [0.84] splash screen shown [0.84] Initializing db... [0.94] db initialized [0.94] Constructing main UI... [16.70] main UI initialized... [16.70] Hiding splash screen [16.70] splash screen hidden [16.71] Started up in 16.71 seconds with 152 books DeDRM v6.8.0: Trying to decrypt The Trainable Cat.azw3 Using Library AlfCrypto Python MobiDeDrm v0.42. Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al. Decrypting Kindle Format 8 ebook: The Trainable Cat Found 4 keys to try after 1.1 seconds Crypto Type is: 2 File is encoded with PID R7GDrdZECG. Decrypting. Please wait . . . . done Decryption succeeded after 2.1 seconds DeDRM v6.8.0: Finished after 2.1 seconds ```
ElleKayEm commented 3 years ago

This log shows a successful decryption.

tos070 commented 3 years ago

I bought the ebook from Amazon. I downloaded the azw3 file from the "Manage Devices and Content" page of my Amazon account. I can read the book on my kindle and on the Kindle for Mac app. But I cannot remove the DMR and cannot read it in the Calibre Viewer. Although I downloaded and installed 6.8.1 of DeDRM, when I look in Calibre it still displays 6.8.0. I removed and re-installed, but still it shows 6.8.0. I customised the plugin and added under eInk Kindle ebooks, two serial numbers of my two Kindles (one being the 1.30.0 where I have the book

tos070 commented 3 years ago

I removed and re-added the book and somehow now it works! But why do I see the 6.8.0 plugin while I just installed the 6.8.1?

tos070 commented 3 years ago

Thank you, I repeated the whole process and now I can see the MOBI version and I can read it in the Calbre viewer. But why does Calibre show me that I have the 6.8.0 version of DeDRM? I downloaded and installed version 6.8.1

On 8 Dec 2020, at 23:59, ElleKayEm notifications@github.com wrote:

This log shows a successful decryption.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/apprenticeharper/DeDRM_tools/issues/1410#issuecomment-741181114, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGLXF5ZVX5JZQM35NKJENLST2VU3ANCNFSM4USUTS4Q.

ElleKayEm commented 3 years ago

Harper forgot to update the version number that gets displayed there. They are aware, and it will probably be corrected at some point. The only difference between 6.8.0 and 6.8.1 is a fix for Kindle for Mac on Big Sur.

tos070 commented 3 years ago

Oh, I see thanks. I also have Kindle for Mac on Big Sur. I saw in the customisation of the plugin that the last option is "Kindle for Mac and PC keys” and mine is empty (no key). Should I add a key there? Where can I find it? (Please excuse my ignorance: why is the plugin needed for Kindle for Mac? I use the plugin when I buy books with DMR, not necessarily from the Kindle store, so that I can then read them on my e-ink Kindle. When I buy them from the Kindle store, they are of course downloaded to the Kindle and I do not need Calibre. However, I do add the book in Calibre so that I have all the books I bought in one place (Calibre). I hope it makes sense what I am trying to explain..)

On 9 Dec 2020, at 00:11, ElleKayEm notifications@github.com wrote:

Harper forgot to update the version number that gets displayed there. They are aware, and it will probably be corrected at some point. The only difference between 6.8.0 and 6.8.1 is a fix for Kindle for Mac on Big Sur.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/apprenticeharper/DeDRM_tools/issues/1410#issuecomment-741198330, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGLXF63A62QIBVXXPB2ONDST2XCHANCNFSM4USUTS4Q.

ElleKayEm commented 3 years ago

DeDRM will automatically retrieve the key if you add a DRM book to calibre which was downloaded from the current installation of Kindle for Mac on the same machine and user. Each installation of the app has a unique key.

tos070 commented 3 years ago

DeDRM will automatically retrieve the key if you add a DRM book to calibre which was downloaded from the current installation of Kindle for Mac on the same machine and user. Each installation of the app has a unique key.

I download the azw3 file from the Amazon site (Devices and Content) and then I manually add it to Calibre. Then I convert it to mobi (I think that in the past DRM was automatically removed by the plug-in when the book was added in Calibre). Is there a more efficient way to do things? How is the Kindle for Mac involved? (I understand that one may want to read a book with this app on the mac, but other than this, how is this app involved in the deDRM process?)

ElleKayEm commented 3 years ago

Kindle for Mac is just another way to download Kindle ebooks. If someone doesn't have an E-ink Kindle, they can can get them that way instead.

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