10 ms·
Extracting content from an LCP “protected” ePub
- deleted 2y ago[deleted]
- ferbivore 2y ago> You can, for sure, publish information relative to your discoveries to the extent UK laws allow. After study, we'll do our best to make the technology more robust. If your discourse represents a circumvention of this technical protection measure, we'll command a take-down as a standard procedure. Disgusting behaviour, as expected from the publishing industry I suppose. This "EDRLab" outfit appears to be little more than a non-profit front for Hachette.
- JadeNB 2y ago> Disgusting behaviour, as expected from the publishing industry I suppose. This "EDRLab" outfit appears to be little more than a non-profit front for Hachette. The quoted block is indeed disgusting, but it gets even weirder in the context of the full discussion, where the correspondent seems to be trying some sort of intellectual blackmail on the author of this article, saying that, as long as nobody talks about its deficiencies, DRM can be kept weak and inefficient—and so trying to blame increasingly cumbersome DRM on the people who want to access their material, rather than on the publishers. For example, with a nice and patronizing start: > You've found a way to hack LCP using Thorium. Bravo! We certainly didn't sufficiently protect the system, we are already working on that. … If the DRM does not succeed, harder DRMs (for users) will be tested. I let you think about that aspect
- Akronymus 2y ago> we are already working on that so they worked on making harder to crack DRM before being informed of the weak DRM...
- nocoiner 2y agoThe author’s response was just perfect though in both tone and substance. “As you have raised the possibility of legal action, I think it is best that we terminate this conversation.” Once someone shoots off about getting the lawyers involved, there’s really nothing more than can productively be said (unless, of course, you are prepared to get your own lawyers involved).
- kristo 2y agoThey make a software to help libraries lend ebooks for free. Without their DRM you either wouldn’t be able to borrow ebooks because publishers would never agree to it, or would be limited to kindle/libby to read them. They’re not perfect but how is it bad behavior to say you’ll issue a takedown notice if your copyright material is republished? I don’t really understand why they’re being treated as the enemy here?
- ziddoap 2y ago>I don’t really understand why they’re being treated as the enemy here? The gross manipulation attempt is what did it for me. "We were planning to now focus on new accessibility features on our open-source Thorium Reader, better access to annotations for blind users and an advanced reading mode for dyslexic people. Too bad" The legal threat at the end wasn't very cool, either.
- MyOutfitIsVague 2y agoThe effect, very often, is to force anybody with specific reading habits to buy Amazon or be unable to read their books. This is especially bad if you don't just buy books, but read through the library or especially if you get ARCs (advance reader copies, for pre-release reviews). Advance readers who don't have Kindle are jerked around constantly by DRM and especially changes in DRM schemes. It's really hard to not see this as collusion, as it suspiciously always works for the benefit of Amazon and the detriment of every single other person and company involved. > how is it bad behavior to say you’ll issue a takedown notice if your copyright material is republished It's not. That's not what happened here, though. It is bad behavior when you threaten legal action against somebody working within their rights to legally allow people to read things that they paid for on devices that they've paid for. The DMCA has specific carve-outs for interoperability. Threatening legal action there is bully behavior. I'd argue that the ethics are pretty clear-cut here too. A ton of copyright law is incredibly badly balanced against the consumer and even against small artists in favor of the biggest players. If this was illegal, it would be the law that is unethical.
- grayhatter 2y ago> They’re not perfect but how is it bad behavior to say you’ll issue a takedown notice if your copyright material is republished? That's not what they said. This is how you should have read their reply: > If your discourse represents a circumvention of this technical protection measure, we'll command a take-down as a standard procedure. If you say something we don't like, if we think we can make the argument that the information about methodology and implementation you share for free, is circumvention of our DRM, we'll follow our existing strategy to abuse the legal system silence you and prevent you from sharing information. > I don’t really understand why they’re being treated as the enemy here? Because they are the bad guy, they're actively working to make the world worse. They're pretending like if it wasn't for their kindness, access to these ebooks would be impossible. But in reality they only care about controlling other people by force. The legal threats, insane arguments about how it's better if how their DRM works is a secret, the intent of the software they're defending, and the messages they sent; are just ways or attempts to exert control what other people are allowed to do, or are allowed to know I'd also like to discourage this argument generally > Without their DRM you either wouldn’t be able to borrow ebooks because publishers would never agree to it, or would be limited to kindle/libby to read them The (unfair) translation of this is: If it wasn't me abusing you, it would be so much worse! You should be saying thank you that it's me abusing you! Not complaining about how you don't like how you're being treated! Everything can always be worse, the point is to make it better, not accept something harmful.
- spudlyo 2y agoGranted, Readium LCP[0] may be one of the less odious DRM solutions out there for eBook contents, however it's still DRM. Handcuffs are still handcuffs regardless of how comfortably they fit. DRM is in my view is too often used as a cudgel to mandate hardware and software level restrictions that take away the control of our own computing devices and environments. I personally hold that intellectual property isn't property, and is increasingly becoming a net negative to humanity as a whole. In the case of this article, there is an ominous threat of legal action against the disclosure of the author's work, potentially stifling the speech of a fellow hacker. While I'm not unsympathetic to the plight of creatives, and their need to eat, I feel like the pendulum has swung so far to the interests of the copyright holders and away from the needs of the public that the bargain is no longer one I support. Because of this stance, I find myself uncomfortably on the side of AI bros like Sam Altman who argue for the expansion of the fair use doctrine. I see AI as an accelerant in the erosion of IP's relevance and enforceability. With AI being able to crank out derivative works at scale, it blurs the lines between infringement and transformation. My hope is that the flood of such content makes enforcement impractical, and that it will further demonstrate that the IP emperor is naked. [0]: https://www.edrlab.org/projects/readium-lcp/ https://www.edrlab.org/projects/readium-lcp/
- ferbivore 2y agoAltman isn't on your side, or any side except his own. OpenAI insists both that they should be allowed to train models on any text they can gain access to, regardless of copyright or licensing (https://openai.com/index/openai-and-journalism/ https://openai.com/index/openai-and-journalism/) and that you should not be allowed to train models on any text produced by their models (https://archive.is/20250130132153/https://www.nytimes.com/2025/01/29/technology/openai-deepseek-data-harvest.html https://archive.is/20250130132153/https://www.nytimes.com/20...).
- spudlyo 2y agoHis ability to speak out of both sides of his mouth is why no one trusts him, and why I find it so uncomfortable to agree with anything he says.
- 2y ago
- lxgr 2y agoVery curious (and nervous, as I can imagine more bad outcomes than good ones) as somebody that frequently lends ebooks from libraries supporting LCP. (The only thing worse than "controlled" digital lending would be no digital lending at all.) LCP is as close to the platonic ideal of DRM as it gets: Essentially no obfuscation; cryptography largely something to point at when filing DMCA takedown requests. For better or worse, I suspect we're about to get some new case law for what constitutes an effective technical measure.
- captn3m0 2y agoReadium was also responsible for the takedown on the noDRM repo, a few years ago: https://news.ycombinator.com/item?id=29870151 https://news.ycombinator.com/item?id=29870151 The repo came back, but without the readium DRM code: https://github.com/noDRM/DeDRM_tools/blob/master/DeDRM_plugin/lcpdedrm.py https://github.com/noDRM/DeDRM_tools/blob/master/DeDRM_plugi...
- damnitbuilds 2y agoTo further Streisand this, I think the restored repo is here: https://repo.or.cz/DeDRM_tools-LCP.git
- joecool1029 2y agoIt works. Though I've found it only works for LCP epubs, not pdf's.
- MyOutfitIsVague 2y agoIt doesn't work for the newest encryption scheme for epubs. Current epubs downloaded from NetGalley won't decrypt with it, unfortunately.
- deleted 2y ago[deleted]
- deleted 2y ago[deleted]
- baruchel 2y agoA more straightforward way to do it, IMHO, is to use Thorium in conjunction with a Python script called lcpdedrm. If I remember well, that script isn't available directly any longer, but it is easy to look around and find copies of it. Then use Thorium for locally saving the file and use the Python script for removing the DRM.
- miki123211 2y agoWhy do you even need Thorium for this? If the files are just AES-encrypted and the links are there, as the linked article suggest, it seems that it would be easy to create a standalone script to download and decrypt these.
- edent 2y ago(OP here) I discussed how the DRM works in an earlier blog post - https://shkspr.mobi/blog/2025/03/some-thoughts-on-lcp-ebook-drm/ https://shkspr.mobi/blog/2025/03/some-thoughts-on-lcp-ebook-... Essentially, the key for decrypting the files is made up of the book owner's passphrase and the super-secret key embedded in the closed-source binary. I wasn't able to reverse engineer the binary or extract that key.
- deleted 2y ago[deleted]
- deleted 2y ago[deleted]
- ShrimpHawk 2y agoThe key is b3a07c4d42880e69398e05392405050efeea0664c0b638b7c986556fa9b58d77b31a40eb6a4fdba1e4537229d9f779daad1cc41ee968153cb71f27dc9696d40f
- edent 2y agoNo, it isn't. That's the key for LCP Profile 1.0 - which was deprecated some time ago - https://readium.org/lcp-specs/notes/lcp-profile-upgrade.html https://readium.org/lcp-specs/notes/lcp-profile-upgrade.html
- damnitbuilds 2y agoOne should also note that Thorium is a remarkably crappy app to read Epubs on.
- lxgr 2y agoI've never used it myself, but I'd be really surprised if it somehow managed to be worse than Adobe Digital Editions.
- damnitbuilds 2y agoI lol'ed. Indeed, the bar is low.
- Finnucane 2y agoWell, it does have the advantage of being actively maintained. If not necessarily very well. Recently, I had the fun of noting that their app was no longer behaving correctly with endnote links, and they suggested that my links were coded wrong. I pointed out that they were not, were standards-compliant and worked fine in every other epub reader I had. Even ADE! So I don't know what they were trying to do.
- ocdtrekkie 2y agoI had to script an install of ADE recently and apparently the only way to successfully silent install it is to create a registry key that pretends Norton 360 is installed, because their installer has a Norton Security Scan thing injected in which their silent flag doesn't handle.
- dvngnt_ 2y agoDo book drms even make sens? i can understand games, but how do you encrypt words that are meant to be read. People used to record music on the radio. It seems easier to ocr a book and generate text that way.
- snailmailman 2y agoA big place where this gets used is to make Kindle ebooks only able to be read on a kindle. Any time they update and change the DRM there’s a brief period where newly-released amazon kindle books essentially cannot be read anywhere except kindle hardware and official kindle apps. People have pretty consistently found ways around the DRM (for now). But amazon is always trying to crack down on this.
- myaccountonhn 2y agoIt's also employed by digital libraries to enable lending of books.
- lxgr 2y agoYou can always do OCR on the paper book, so if the easiest way to circumvent some ebook DRM were OCR, the vendor would probably consider that a resounding success.
- goosedragons 2y agoWhich is dumb because that still takes very little time and effort. You can pirate any paper book in like 10 minutes with a decent sheet fed scanner if you don't care about keeping it bound. What a hurdle. But hey, Grandma Martha can't read her Kindle version on the new Kobo her grandson got her without buying a new copy. Fantastic.
- rolandog 2y ago> But hey, Grandma Martha can't read her Kindle version on the new Kobo her grandson got her without buying a new copy. Fantastic. To the business-people making the kind of decisions we hate, that sounds to them like: "So you're telling me grandma Martha is not rich, has no big team of lawyers, and they're taking down the agency advocating for consumers rights so no one can stop us if we fck her over and 200 million people more? Seems like it's her problem."*
- easterncalculus 2y ago.mobi as a TLD for a book blog on the removal of DRM is especially appropriate.
- op00to 2y agoThe only time to directly threaten legal action is when you don't think legal action will achieve your goal, and you've got nothing else. Otherwise, there is no benefit to threatening legal action. Sure, you can imply it, but you gain nothing by showing those cards.
- NoMoreNicksLeft 2y agoBut the goals that these people pursue are difficult to understand or anticipate. You assume that because these people are employed by some business entity that their goals are "make more money" and such. That's rarely the case, even if we allow for the unenlightened version of "make more money". Instead, assume that many, possibly even most, are more interested in being punitive out of some warped sense of justice. Though it might cost them a million in legal fees to discourage efforts to fix their DRM which in turn might only preserve a few tens of thousands in sales or other earning potential, they still doggedly chase these "goals". Sometimes, I think, the lawyers even point this out, only to be overruled by top management. This means that legal action can almost always achieve the goal, being that the goal is nothing more than to make their targets miserable.
- thisisabore 2y agoThat's a pretty impressive way to imagine people's motivations. The likelihood of a non-profit outfit building open source software being driven by a warped sense of justice and the goal of making people miserable rather than, say, trying to make sure they can continue their stated mission and ensure publishers keep agreeing to digital book lending is pretty bold. But sure, why not.
- NoMoreNicksLeft 2y ago>The likelihood of a non-profit outfit building open source software being driven by a warped sense of justice Because those people are, after all, inhuman robots with no connection to humanity? In fact, I'd say that with any group of humans, each additional human makes this more likely, simply because this sort of attitude easily overrides the less-aggressive attitudes of those who don't agree with it. You seem to disagree because it would be uncomfortable if I were correct, and you'd much rather it be true that I'm wrong. >trying to make sure they can continue their stated mission What person over the age of about 5 thinks that because an organization starts with a particular mission that, even a few years in, still strongly pursue it?
- grayhatter 2y ago> KOReader never contacted us: I don't think they know how low the certification fee would be It's between 350USD (per platform) and 1,700USD per year. So the possible range is between 1700USD, and 3k USD... Yeah, that's totally reasonable for a FOSS project where the lower yearly cost is 110% of the amount they make in donations every year.
- alwayslikethis 2y agoEven if it's free I doubt they would have wanted it. Supporting DRM is the opposite of what KOreader is for.
- favorited 2y ago> We were planning to now focus on new accessibility features on our open-source Thorium Reader, better access to annotations for blind users and an advanced reading mode for dyslexic people. Too bad; disturbances around LCP will force us to focus on a new round of security measures This is so funny to me. "We might have gotten around to making our software accessible, if it weren't for you meddling kids!"
- Y_Y 2y agoAccessibility? Like with plain text? What a crazy world that would be.
- WalterBright 2y agoPlain text is the best archival format.
- HocusLocus 2y agoI glance and skim the plain text because it is popular, but prefer to go back to the original and read the incomprehensible gobblegook the author intended me to have, and that I paid for.
- notpushkin 2y agoYeah, I wouldn’t share this so openly. Instead – like they said – build a one-click downloader, then go fill the shadow libraries with a bunch of trusted accomplices. (This is slightly less legal, though.)
- washmyelbows 2y agoLCP markets itself as an open standard, but has made multiple platforms unusable for me as a kobo user. Aggressively seeking out content like this and trying to bully away fixes for the tiny portion of the market it is helping is reprehensible
- habosa 2y agoDefinitely a cool post and I certainly think people should be able to de-DRM things they own for their own use, but I do have some sympathy for the defense of LCP. Digital books are a good thing. I can hear about a book I'd like to read and start reading it minutes later. It also drastically lowers the barriers to publication for new or controversial authors. I want authors and publishers to be able to make money, so I think it's fair that they take some precautions to ensure that the book is not redistributed for free. I would love if someone could come up with a truly friendly DRM for ebooks that would be supported by all major reading hardware/software and accepted by the publishers. Then we'd have a functioning ecosystem not dominated by one or two mega players. Curious what people here think might work?
- vidarh 2y agoThe vast majority of authors hardly make any money, and DRM will not change that. And given books are so easy to duplicate from the form that needs to be available to users to read, there is no world where DRM will ever stop duplication of books.
- MyOutfitIsVague 2y agoNo DRM would really work. There's always the analog hole, and OCR is more effective than ever. I want to read the books I buy on the device I paid for, regardless of what device it is or software it's running, and without having to ask an arbitrary middleman for permission. Nothing less is acceptable for me.
- sjcole 2y agoEbook vendors like eBooks.com (my company) face a real challenge with regard to DRM. On one hand we want frictionless freedom of use for our customers, but on the other hand the vast majority of our authors and publishers require that we secure their ebooks with DRM. eBooks.com provides the ability for our customers to filter out DRM-ebooks from our catalog. There's a link to DRM-free titles on every page of eBooks.com. https://www.ebooks.com/en-au/drm-free/ https://www.ebooks.com/en-au/drm-free/ But that's a very limited subset of our collection. Opponents of DRM make important, legitimate points: "Ownership" of an ebook is very contingent. Even the slickest DRM system imposes unwelcome additional steps for the user, and limitations on what can be done with the ebook. And there is very little interoperability between vendors - silos as far as the eye can see. But authors and publishers have a point too. There's a chart at the bottom of this article (our blog) that says it all, as far as publishers are concerned. It compares the gross revenue of music labels from 1993 to 2016 with that of book publishers during the same period. https://about.ebooks.com/should-we-sell-your-ebooks-without-drm/ https://about.ebooks.com/should-we-sell-your-ebooks-without-... We launched eBooks.com in 2000 and have continued to argue for DRM-free in every available forum. But we face understandable anxiety from authors and publishers. We can, and should, all argue the merits (or otherwise) of DRM but it remains a fact of life and will be with us for some time to come. So it falls to vendors and capable tech partners like EDRlab to try and make the best of it. I know the guys at EDRlab and they are not conspiring with Big Tech, not motivated by profit but by good will. It's a rare thing. They are working on many fronts to build a system that gives authors and publishers the security they desire while at the same time minimizing complexity and maximizing interoperability for end users. And interoperability is really important. It can unlock innovation. The commercial ebook market is dominated by a single, ruthless almost-monopoly that sees authors as irksome, hates independent bookstores and strikes fear in the hearts of publishers large and small. It gets its way with everything and at the same time does not innovate. Why should it bother with R&D when it owns the market? In present circumstances, if a small team in Bhutan comes up with some genius idea (ebooks that sing in the bath?) they can't reach a market of any meaningful size. I mean, if a user is excited about this new app that can sing your books in the bath they might install the app but they won't be able to read any of the ebooks that they already bought from Kindle - or eBooks.com for that matter; because we're all using different, proprietary DRM protocols. If enough vendors adopt it, EDRlab's DRM system holds out the prospect that users around the globe will be able switch from our platform to a better, competing platform, and take their collection of ebooks with them. That's beginning to look like a healthy, competitive market that can foster innovation. In summary, yes we all hate DRM, but it's not going away. So let's give some credit to guys who are trying to make the best of this situation to the benefit of readers everywhere.
- petercooper 2y agoI was hoping to link to this from somewhere technically relevant but having scoped out the Copyright, Designs and Patents Act 1988 S296 it actually seems unwise to do so as a British person. Meanwhile Starmer is proud of Britain's "freedom of speech" (yes, I know freedom of speech sensibly has limits, but the statute is overly broad in this case).