ETA: Cross-posted to Q&A at Satsuoni since I'm not sure which one is best.
I have Oasis 10th gen, software (which I don't think was suddenly uploaded in the past three days) 5.18.2.1.1. I've been uploading books for months. I did just recently update the plugin to 10.0.31; since I thought that could be the issue, I rolled back to 26 (which is what had worked for me before), but it continued not working, and didn't work again when I went back up to 31 (which is when I ran the debug log). Calibre is 9.14.
I double-checked that the device serial number was listed and correct, and it is. The log file is weirdly long, so just let me know if I didn't include something necessary below.
Added Dreaming of the Bones (Duncan Kincaid / Gemma James Book 5) to db in: 0.1
Added 1 books in 1.7 seconds
Worker Launch took: 0.04 seconds
DEBUG: 28.4 DeviceJob: set_books_in_library: books to process= 451
DEBUG: 28.7 DeviceJob: set_books_in_library finished: time= 0.31522345542907715
Job: 4 Convert book 1 of 1 (Dreaming of the Bones (Duncan Kincaid / Gemma James Book 5)) finished
Convert book 1 of 1 (Dreaming of the Bones (Duncan Kincaid / Gemma James Book 5))
DeDRM v10.0.31: Trying to decrypt zxuus9ul.kfx-zip
Decrypting KFX-ZIP ebook: zxuus9ul
Found 1 keys to try after 0.2 seconds
Decrypting KFX DRM voucher: voucher
Envelope version com.amazon.drm.VoucherEnvelope@10005.0
Got 0 shared key candidates {} amzn1.drm-voucher.v1.6107fe2d-40f8-4ec8-8e4a-9ff6beebdc0c
Lock parameters used: ['ACCOUNT_SECRET', 'CLIENT_ID']
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Failed all decryption attempts and no key candidate available
Traceback (most recent call last):
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 112, in decrypt_voucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1422, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1406, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 788, in pkcs7unpad
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 126, in _assert
Exception: Incorrect padding - Wrong key
Envelope version com.amazon.drm.VoucherEnvelope@10005.0
Got 0 shared key candidates {} amzn1.drm-voucher.v1.6107fe2d-40f8-4ec8-8e4a-9ff6beebdc0c
Lock parameters used: ['ACCOUNT_SECRET', 'CLIENT_ID']
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Failed all decryption attempts and no key candidate available
Traceback (most recent call last):
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 112, in decrypt_voucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1422, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1406, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 788, in pkcs7unpad
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 126, in _assert
Exception: Incorrect padding - Wrong key
Failed to decrypt KFX DRM voucher with any key... Hoping that keylist has a book key.
Decrypting KFX DRMION: Dreaming of the Bones_B003VPWXYM.kfx
DeDRM v10.0.31: Failed to decrypt with error: Incorrect AES key length (0 bytes)
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 950, in KindleMobiDecrypt
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 75, in processBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1618, in parse
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1647, in processpage
File "Crypto\Cipher\AES.py", line 229, in new
File "Crypto\Cipher\__init__.py", line 52, in _create_cipher
File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 91, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
DeDRM v10.0.31: Looking for new default Kindle Key after 0.3 seconds
searching for kinfoFiles in C:\Users\NAME\AppData\Local
Found K4PC 1.25+ kinf2018 file: C:\Users\NAME\AppData\Local\Amazon\Kindle\storage\.kinf2018
Decrypted key file using IDString '707534495' and UserName 'NAME'
DeDRM v10.0.31: Found 1 new key
Decrypting KFX-ZIP ebook: zxuus9ul
Got DSN key from database key_0
Found 1 keys to try after 0.4 seconds
Decrypting KFX DRM voucher: voucher
Envelope version com.amazon.drm.VoucherEnvelope@10005.0
Lock parameters used: ['ACCOUNT_SECRET', 'CLIENT_ID']
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Failed all decryption attempts and no key candidate available
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 950, in KindleMobiDecrypt
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 75, in processBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1618, in parse
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1647, in processpage
File "Crypto\Cipher\AES.py", line 229, in new
File "Crypto\Cipher\__init__.py", line 52, in _create_cipher
File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 91, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 112, in decrypt_voucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1422, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1406, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 788, in pkcs7unpad
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 126, in _assert
Exception: Incorrect padding - Wrong key
Envelope version com.amazon.drm.VoucherEnvelope@10005.0
Lock parameters used: ['ACCOUNT_SECRET', 'CLIENT_ID']
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Failed all decryption attempts and no key candidate available
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 950, in KindleMobiDecrypt
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 75, in processBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1618, in parse
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1647, in processpage
File "Crypto\Cipher\AES.py", line 229, in new
File "Crypto\Cipher\__init__.py", line 52, in _create_cipher
File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 91, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 112, in decrypt_voucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1422, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1406, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 788, in pkcs7unpad
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 126, in _assert
Exception: Incorrect padding - Wrong key
Failed to decrypt KFX DRM voucher with any key... Hoping that keylist has a book key.
Decrypting KFX DRMION: Dreaming of the Bones_B003VPWXYM.kfx
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 950, in KindleMobiDecrypt
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 75, in processBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1618, in parse
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1647, in processpage
File "Crypto\Cipher\AES.py", line 229, in new
File "Crypto\Cipher\__init__.py", line 52, in _create_cipher
File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 91, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 987, in KindleMobiDecrypt
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 75, in processBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1618, in parse
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1647, in processpage
File "Crypto\Cipher\AES.py", line 229, in new
File "Crypto\Cipher\__init__.py", line 52, in _create_cipher
File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 91, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
DeDRM v10.0.31: 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 950, in KindleMobiDecrypt
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 75, in processBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1618, in parse
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1647, in processpage
File "Crypto\Cipher\AES.py", line 229, in new
File "Crypto\Cipher\__init__.py", line 52, in _create_cipher
File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 91, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 253, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1052, in run
File "calibre_plugins.dedrm.__init__", line 1003, in KindleMobiDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.31: 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:
output_profile: 'kindle'
allow_conversion_with_errors: True
read_metadata_from_opf: 'C:\\Users\\NAME\\AppData\\Local\\Temp\\calibre-oorte8sz\\6tr9x9kt.opf'
verbose: 2
toc_title: 'Table of Contents'
epub_inline_toc: True
cover: 'C:\\Users\\NAME\\AppData\\Local\\Temp\\calibre-oorte8sz\\17b1tf83.jpeg'
Resolved conversion options
calibre version: 9.14.0
{'add_alt_text_to_img': False,
'allow_conversion_with_errors': True,
'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\\NAME\\AppData\\Local\\Temp\\calibre-oorte8sz\\17b1tf83.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': True,
'epub_max_image_size': 'none',
'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': <calibre.customize.profiles.InputProfile object at 0x0000024C84E7A3C0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x0000024C84E64830>,
'page_breaks_before': '/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'C:\\Users\\NAME\\AppData\\Local\\Temp\\calibre-oorte8sz\\6tr9x9kt.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': 'Table of Contents',
'transform_css_rules': '[]',
'transform_html_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
DeDRM v10.0.31: Trying to decrypt zxuus9ul.kfx-zip
Decrypting KFX-ZIP ebook: zxuus9ul
Found 1 keys to try after 0.0 seconds
Decrypting KFX DRM voucher: voucher
Envelope version com.amazon.drm.VoucherEnvelope@10005.0
Got 0 shared key candidates {} amzn1.drm-voucher.v1.6107fe2d-40f8-4ec8-8e4a-9ff6beebdc0c
Lock parameters used: ['ACCOUNT_SECRET', 'CLIENT_ID']
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Failed all decryption attempts and no key candidate available
Traceback (most recent call last):
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 112, in decrypt_voucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1422, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1406, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 788, in pkcs7unpad
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 126, in _assert
Exception: Incorrect padding - Wrong key
Envelope version com.amazon.drm.VoucherEnvelope@10005.0
Got 0 shared key candidates {} amzn1.drm-voucher.v1.6107fe2d-40f8-4ec8-8e4a-9ff6beebdc0c
Lock parameters used: ['ACCOUNT_SECRET', 'CLIENT_ID']
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Failed all decryption attempts and no key candidate available
Traceback (most recent call last):
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 112, in decrypt_voucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1422, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1406, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 788, in pkcs7unpad
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 126, in _assert
Exception: Incorrect padding - Wrong key
Failed to decrypt KFX DRM voucher with any key... Hoping that keylist has a book key.
Decrypting KFX DRMION: Dreaming of the Bones_B003VPWXYM.kfx
DeDRM v10.0.31: Failed to decrypt with error: Incorrect AES key length (0 bytes)
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 950, in KindleMobiDecrypt
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 75, in processBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1618, in parse
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1647, in processpage
File "Crypto\Cipher\AES.py", line 229, in new
File "Crypto\Cipher\__init__.py", line 52, in _create_cipher
File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 91, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
DeDRM v10.0.31: Looking for new default Kindle Key after 0.0 seconds
searching for kinfoFiles in C:\Users\NAME\AppData\Local
Found K4PC 1.25+ kinf2018 file: C:\Users\NAME\AppData\Local\Amazon\Kindle\storage\.kinf2018
Decrypted key file using IDString '707534495' and UserName 'NAME'
DeDRM v10.0.31: Found 1 new key
Decrypting KFX-ZIP ebook: zxuus9ul
Got DSN key from database key_0
Found 1 keys to try after 0.1 seconds
Decrypting KFX DRM voucher: voucher
Envelope version com.amazon.drm.VoucherEnvelope@10005.0
Lock parameters used: ['ACCOUNT_SECRET', 'CLIENT_ID']
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Failed all decryption attempts and no key candidate available
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 950, in KindleMobiDecrypt
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 75, in processBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1618, in parse
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1647, in processpage
File "Crypto\Cipher\AES.py", line 229, in new
File "Crypto\Cipher\__init__.py", line 52, in _create_cipher
File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 91, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 112, in decrypt_voucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1422, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1406, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 788, in pkcs7unpad
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 126, in _assert
Exception: Incorrect padding - Wrong key
Envelope version com.amazon.drm.VoucherEnvelope@10005.0
Lock parameters used: ['ACCOUNT_SECRET', 'CLIENT_ID']
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Decryption failed, trying next fallback
Failed all decryption attempts and no key candidate available
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 950, in KindleMobiDecrypt
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 75, in processBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1618, in parse
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1647, in processpage
File "Crypto\Cipher\AES.py", line 229, in new
File "Crypto\Cipher\__init__.py", line 52, in _create_cipher
File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 91, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 112, in decrypt_voucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1422, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1406, in decryptvoucher
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 788, in pkcs7unpad
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 126, in _assert
Exception: Incorrect padding - Wrong key
Failed to decrypt KFX DRM voucher with any key... Hoping that keylist has a book key.
Decrypting KFX DRMION: Dreaming of the Bones_B003VPWXYM.kfx
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 950, in KindleMobiDecrypt
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 75, in processBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1618, in parse
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1647, in processpage
File "Crypto\Cipher\AES.py", line 229, in new
File "Crypto\Cipher\__init__.py", line 52, in _create_cipher
File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 91, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 987, in KindleMobiDecrypt
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 75, in processBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1618, in parse
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1647, in processpage
File "Crypto\Cipher\AES.py", line 229, in new
File "Crypto\Cipher\__init__.py", line 52, in _create_cipher
File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 91, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
DeDRM v10.0.31: Ultimately failed to decrypt after 0.1 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 950, in KindleMobiDecrypt
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 75, in processBook
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1618, in parse
File "C:\Users\NAME\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1647, in processpage
File "Crypto\Cipher\AES.py", line 229, in new
File "Crypto\Cipher\__init__.py", line 52, in _create_cipher
File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
File "Crypto\Cipher\AES.py", line 91, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 253, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1052, in run
File "calibre_plugins.dedrm.__init__", line 1003, in KindleMobiDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.31: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
InputFormatPlugin: KFX Input running
on C:\Users\NAME\AppData\Local\Temp\calibre-oorte8sz\zxuus9ul.kfx-zip
Software versions: KFX Input 2.34.2, calibre 9.14, Windows-11-10.0.26200-SP0
KFX Input plugin help is available at https://www.mobileread.com/forums/showthread.php?t=291290
Converting C:\Users\NAME\AppData\Local\Temp\calibre-oorte8sz\zxuus9ul.kfx-zip
Processing container: CR!871TAA14Z50HVFYNDNKQH44W0QES.kfx
Processing container: CR!HB4EX82NZ91QBF4SNYXQ46R8PZJ0.kfx
Processing container: Dreaming of the Bones_B003VPWXYM.kfx
Traceback (most recent call last):
File "calibre_plugins.kfx_input.__init__", line 96, in convert
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 218, in decode_book
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 347, in get_container
calibre_plugins.kfx_input.kfxlib.utilities.KFXDRMError: Book container Dreaming of the Bones_B003VPWXYM.kfx has DRM and cannot be converted
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "runpy.py", line 203, in _run_module_as_main
File "runpy.py", line 88, in _run_code
File "site.py", line 83, in <module>
File "site.py", line 78, in main
File "site.py", line 50, in run_entry_point
File "calibre\utils\ipc\worker.py", line 185, in main
File "calibre\gui2\convert\gui_conversion.py", line 61, in gui_convert_override
File "calibre\gui2\convert\gui_conversion.py", line 36, in gui_convert
File "calibre\ebooks\conversion\plumber.py", line 1258, in run
File "calibre\customize\conversion.py", line 242, in __call__
File "calibre_plugins.kfx_input.__init__", line 117, in convert
calibre.ebooks.DRMError: This book has DRM!
[46.80] Shutdown starting...
[46.82] Shutdown message shown...
[46.82] Grid view shutdown
[46.82] Bookshelf view shutdown
[46.85] Actions shutdown
[47.05] Various services shutdown
[47.05] Metadata backup shutdown
[47.13] Current database closed
[47.14] Windows hidden
[47.15] Waiting for overseers, mdns, and live to shutdown
[47.15] Waiting for device manager to shutdown
[47.15] Shutdown complete in 0.35, quitting...
ETA: Cross-posted to Q&A at Satsuoni since I'm not sure which one is best.
I have Oasis 10th gen, software (which I don't think was suddenly uploaded in the past three days) 5.18.2.1.1. I've been uploading books for months. I did just recently update the plugin to 10.0.31; since I thought that could be the issue, I rolled back to 26 (which is what had worked for me before), but it continued not working, and didn't work again when I went back up to 31 (which is when I ran the debug log). Calibre is 9.14.
I double-checked that the device serial number was listed and correct, and it is. The log file is weirdly long, so just let me know if I didn't include something necessary below.
Log:
`