apprenticeharper / DeDRM_tools

DeDRM tools for ebooks
14.49k stars 1.5k forks source link

Unable to decrypt KFX DRM voucher #2343

Closed NickSaulnier closed 1 month ago

NickSaulnier commented 1 month ago

This error occurs with DeDRM v10.0.9 and Calibre 7.16 using a purchased kindle ebook (I'm using Kindle for PC v 2.4.1). Any ideas as to why it's failing? I can provide more of that log message if it's helpful.

Exception: Unknown type encountered in envelope, expected VoucherEnvelope
...
DeDRM v10.0.9: Ultimately failed to decrypt after 0.4 seconds
ElleKayEm commented 1 month ago

DeDRM does not currently work with books from Kindle for PC 2.4.1. You need no later than Kindle for PC 2.4.0 and also the KFX Input plugin.

NickSaulnier commented 1 month ago

Awesome, thank you for the speedy response. I will see if I can downgrade to Kindle for PC 2.4.0.

NickSaulnier commented 1 month ago

Thanks again! DeDRM worked like a charm with Kindle for PC 2.35 (downloaded from uptodown https://kindle-for-pc.en.uptodown.com/windows/versions)

NickSaulnier commented 1 month ago

Not sure if it's an easy thing to do, but I'm also willing to look into getting 2.4.1+ to work with DeDRM.