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

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

54819 readers
537 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 2 years ago
MODERATORS
 

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?

top 4 comments
sorted by: hot top controversial new old
[–] ANIMATEK@lemmy.world 6 points 1 year ago

I‘m just here to wish you good luck buddy.

[–] 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.

[–] FippleStone@aussie.zone 1 points 1 year ago

Good luck and God speed Sir

[–] PassiveCloth@lemmy.fmhy.ml 1 points 1 year ago

If you host the file somewhere and dm me a link then I might mess with it in the next day, I've got time to kill.

load more comments
view more: next ›