Open archz2 opened 1 year ago
That's the newer KFX format which cannot be decrypted. See this post for disabling KFX downloads: https://www.mobileread.com/forums/showthread.php?t=283371
Thanks , I used the KFX_begone4.bat mentioned in the post you shared (original link was this post https://www.mobileread.com/forums/showpost.php?p=4021279&postcount=966).
Then while trying to download the book, I got this error.
I am on Kindle 1.33 right now.
I am on Kindle app v. 1.33.62002 right now.
There are some books that Amazon will only deliver to customers in KFX format using the latest DRM that has not yet been broken. These are mostly expensive textbooks and a few other categories that are more likely to be pirated. If your book is one of these then there is no DRM removal solution at this time.
If you share the ASIN (ten character identifier of the book on Amazon) it should be possible to determine if it is one of those.
There's no ASIN available for this book. https://www.amazon.in/Build-Dont-Talk-Things-Taught/dp/0143459686/ref=sr_1_2?crid=2YHESJSIKXATN&keywords=build+dont+talk+raj+shamani&qid=1670692606&sprefix=build+dont+%2Caps%2C453&sr=8-2
It's a very affordable book. It seems as if Amazon has beefed up its security for all the newly released books.
The ASIN B0BLD6VK6B. Many book published in India use the stronger DRM that cannot be removed. This is one of them.
Okay, is there any alpha-numeric pattern you see in the ASIN that gave you the clue of unbreakable DRM?
On the page for that specific ASIN, it says:
On Android and Fire tablets, the latest version of the Kindle app is required. This title is not available on Kindle Cloud Reader.
The web page for that book on Amazon.com (https://www.amazon.com/Build-Dont-Talk-Things-Taught-ebook/dp/B0BLD6VK6B) is even more explicit. It adds:
On PC & Mac, the latest version of the Kindle app is required. On E-readers, this title is available on select devices, and latest software update is required.
These are indications that the book is only available on apps and devices with unbroken DRM. That is common for books published in India, expensive textbooks, and a few other categories where the publisher has opted for only the strongest DRM.
Thanks a ton @ElleKayEm and @j-howell . Really appreciate this insight! I bought an Indian book today that got published this month which costs thrice as much. I was able to remove its DRM successfully, thanks to the info shared by you!
The web page for that book on Amazon.com (https://www.amazon.com/Build-Dont-Talk-Things-Taught-ebook/dp/B0BLD6VK6B) is even more explicit. It adds:
On PC & Mac, the latest version of the Kindle app is required. On E-readers, this title is available on select devices, and latest software update is required.
These are indications that the book is only available on apps and devices with unbroken DRM. That is common for books published in India, expensive textbooks, and a few other categories where the publisher has opted for only the strongest DRM.
The DRM cannot be removed even if the book is downloaded on a Kindle paper e-reader device, then transferred via USB to Calibre on a PC for DRM removal?
No, that will still have the latest unbroken KFX DRM.
How old is this latest KFX DRM system? I'm thinking that it's a cat and mouse play that happens between the updates of this plugin and Amazon Kindle amping up its DRM security.
Very much so. The last two updates to DeDRM which addressed this stopped working within a day. So Amazon is watching. They mearly flip a switch and all subsequent downloads are undecryptable by DeDRM but their own software can already handle the change.
Okay.
I have Calibre 6.9 and DeDRM 10.0.3. I am unable to remove DRM from an azw file that I downloaded from Amazon Kindle app installed on my laptop running Windows 10.
My Environment - Windows 10
Calibre:
6.9
Kindle:
Version
1.330 (62002) - This is the version of the Kindle app installed on my laptopDeDRM:
10.0.3
Log
Log Title
```log Convert book 1 of 1 (Build, Don't Talk) DeDRM v10.0.3: Trying to decrypt lxqh5dq3.kfx-zip Using Library AlfCrypto DLL/DYLIB/SO Decrypting KFX-ZIP ebook: lxqh5dq3 Found 0 keys to try after 0.1 seconds Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.b2de78c5-10e0-445e-8339-d941e7be75c2.voucher Traceback (most recent call last): File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 105, in decrypt_voucher File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 886, in decryptvoucher File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 762, in pkcs7unpad File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 102, in _assert Exception: Incorrect padding - Wrong key DeDRM v10.0.3: Failed to decrypt with error: Failed to decrypt KFX DRM voucher with any key DeDRM v10.0.3: Looking for new default Kindle Key after 0.1 seconds searching for kinfoFiles in C:\Users\NITROFZ\AppData\Local Found K4PC 1.25+ kinf2018 file: C:\Users\NITROFZ\AppData\Local\Amazon\Kindle\storage\.kinf2018 Decrypted key file using IDString '877471082' and UserName 'NITROFZ' DeDRM v10.0.3: Found 1 new key Decrypting KFX-ZIP ebook: lxqh5dq3 Got DSN key from database key_0 Found 1 keys to try after 0.4 seconds Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.b2de78c5-10e0-445e-8339-d941e7be75c2.voucher Traceback (most recent call last): File "calibre_plugins.dedrm.__init__", line 957, in KindleMobiDecrypt File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 111, in decrypt_voucher Exception: Failed to decrypt KFX DRM voucher with any key During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 105, in decrypt_voucher File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 886, in decryptvoucher File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 762, in pkcs7unpad File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 102, in _assert Exception: Incorrect padding - Wrong key Traceback (most recent call last): File "calibre_plugins.dedrm.__init__", line 957, in KindleMobiDecrypt File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 111, in decrypt_voucher Exception: Failed to decrypt KFX DRM voucher with any key During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 105, in decrypt_voucher File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 886, in decryptvoucher File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 762, in pkcs7unpad File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 102, in _assert Exception: Incorrect padding - Wrong key Traceback (most recent call last): File "calibre_plugins.dedrm.__init__", line 957, in KindleMobiDecrypt File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 111, in decrypt_voucher Exception: Failed to decrypt KFX DRM voucher with any key During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre_plugins.dedrm.__init__", line 991, in KindleMobiDecrypt File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 111, in decrypt_voucher Exception: Failed to decrypt KFX DRM voucher with any key DeDRM v10.0.3: Ultimately failed to decrypt after 0.4 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_plugins.dedrm.__init__", line 957, in KindleMobiDecrypt File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook File "C:\Users\NITROFZ\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 111, in decrypt_voucher Exception: Failed to decrypt KFX DRM voucher with any key During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre\customize\ui.py", line 178, in _run_filetype_plugins File "calibre_plugins.dedrm.__init__", line 1056, in run File "calibre_plugins.dedrm.__init__", line 1007, in KindleMobiDecrypt calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.3: Ultimately failed to decrypt after 0.4 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md Conversion options changed from defaults: read_metadata_from_opf: 'C:\\Users\\NITRO~1\\AppData\\Local\\Temp\\calibre_a0hd4krl\\l4b9r1g8.opf' verbose: 2 cover: 'C:\\Users\\NITRO~1\\AppData\\Local\\Temp\\calibre_a0hd4krl\\fl0xu8sj.jpeg' output_profile: 'generic_eink' Resolved conversion options calibre version: 6.9.0 {'allow_conversion_with_errors': False, 'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'change_justification': 'original', 'chapter': "//*[((name()='h1' or name()='h2') and re:test(., " "'\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', " "'i')) or @class = 'chapter']", 'chapter_mark': 'pagebreak', 'comments': None, 'cover': 'C:\\Users\\NITRO~1\\AppData\\Local\\Temp\\calibre_a0hd4krl\\fl0xu8sj.jpeg', 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'dont_split_on_page_breaks': False, 'duplicate_links_in_toc': False, 'embed_all_fonts': False, 'embed_font_family': None, 'enable_heuristics': False, 'epub_flatten': False, 'epub_inline_toc': False, 'epub_toc_at_end': False, 'epub_version': '2', 'expand_css': False, 'extra_css': None, 'extract_to': None, 'filter_css': '', 'fix_indents': True, 'flow_size': 260, 'font_size_mapping': None, 'format_scene_breaks': True, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile':