39

I have been searching for a concrete book for a long time and finally saw it's been offered as an epub loan on my local library, which uses LCP DRM (Thorium Reader or something like that).

The code to remove it was itself removed from the DeDRM calibre plugin because of DMCA, but then there's https://www.notabug.org/uhuxybim/DeDRM_tools-LCP, a fork that adds it back. The thing is: I can't get it to work. I've tried older versions of calibre as seen on obscure italian threads about this fork.

I've tried running it in debug mode to see where it's not working and it seems like it fails to detect that this concrete epub i'm providing has DRM and it just adds it to the calibre library as-is.

Before I dive into the code and try to extract the relevant bits to a simpler CLI utility, does anybody know how to make this work?

you are viewing a single comment's thread
view the rest of the comments
[-] r3nder@beehaw.org 5 points 1 year ago* (last edited 1 year ago)

First, I should note that I haven't come across (Readium?) LCP before - so I don't have experience with this particular method for DRM - I do however like to play with these sorts of things and have definitely come across some similar methods, etc.

I found a similar tool on GitHub which may help you to better understand what the process is for figuring out something like LCP: lcp-decrypt. I'm not sure how fresh your knowledge is on encryption - but it would help to have some knowledge of the process you're trying to reverse engineer.

If you happen to find a sample with of non-copyrighted material that has some sort of encryption you'd like examined, I'd be happy to have a look for educational purposes.

this post was submitted on 16 Jul 2023
39 points (97.6% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54746 readers
780 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS