Hi everyone,
New member here, joined this forum because I encountered the LCP removal method
posted here.
Based on the findings described there I went ahead and made a script to automate the process (Electron code to automate injecting the passphrase, hook into the decryption process, and outputting the "clean epub"). I would like to reshare it here as thanks for helping me find a way to read books purchased elsewhere (now that I try to avoid Amazon when I can) on my old Kindle.
I tried posting there in that thread, though got a notification it was awaiting moderator approval. Thought in the meantime I'd post an introduction here to let y'all know I'm a real human and not some spammer just dumping suspicious scripts in random threads.
If posting scripts as .txt attachments is frowned upon, I'm happy to answer questions about the steps required to automate edent's approach. It shouldn't be too hard to reproduce for anyone with rudimentary JavaScript knowledge, particularly if done with the help of AI code agents etc