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?

itsYaBoyNoodles
link
fedilink
English
5
edit-2
1Y

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.

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
!piracy@lemmy.dbzer0.com
Create a post
⚓ 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

  • 1 user online
  • 197 users / day
  • 348 users / week
  • 1.01K users / month
  • 3.45K users / 6 months
  • 1 subscriber
  • 3.42K Posts
  • 82.5K Comments
  • Modlog