


The encryption in a given file is tied to your device, so you’ll need your Kindle’s serial number to perform the decryption. This is a Python script which strips the DRM from an encrypted Kindle book. Stripping the DRM: ch33s3w0rm/kindle_dedrm. I’ve got a script that works now, which leans on two other tools to do the heavy lifting: I prefer solutions that use command-line tools and (ideally) run inside Docker container – they tend to be much more portable between machines. Google suggests that Calibre can do this with the right plugins, but I don’t use Calibre for anything else, and I want to install new software as little as possible. I never bought any books from Microsoft, but I do have a collection of Kindle books, and this story was a reminder to investigate ways to remove the DRM from those. First, you’ll need to download the EPUB file onto your iPhone, iPad, or Android device and find it in the file manager appcommonly called Files. They were turning off the DRM servers behind their ebook store, and refunding customers for any books they’d bought. A few months ago, Microsoft made headlines when they announced they’d be turning off people’s books.
