Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Improving PixelMelt's Kindle Web Deobfuscator

· 5 comments · 900 words · Viewed ~7,191 times


An eReader with a pen.

A few days ago, someone called PixelMelt published a way for Amazon's customers to download their purchased books without DRM. Well… sort of. In their post "How I Reversed Amazon's Kindle Web Obfuscation Because Their App Sucked" they describe the process of spoofing a web browser, downloading a bunch of JSON files, reconstructing the obfuscated SVGs used to draw individual letters, and running O…

Extracting content from an LCP "protected" ePub

· 16 comments · 1,800 words · Viewed ~21,233 times


Chrome debug screen.

As Cory Doctorow once said "Any time that someone puts a lock on something that belongs to you but won't give you the key, that lock's not there for you." But here's the thing with the LCP DRM scheme; they do give you the key! As I've written about previously, LCP mostly relies on the user entering their password (the key) when they want to read the book. Oh, there's some deep cryptographic…

Some thoughts on LCP eBook DRM

· 1,650 words · Viewed ~4,133 times


The Readium logo.

There's a new(ish) DRM scheme in town! LCP is Readium's "Licensed Content Protection". At the risk of sounding like an utter corporate stooge, I think it is a relatively inoffensive and technically interesting DRM scheme. Primarily because, once you've downloaded your DRM-infected book, you don't need to rely on an online server to unlock it. How does it work? When you buy a book, your vendor…

How Blockbuster was superior to Netflix

· 9 comments · 500 words · Viewed ~250 times


A giant red letter N. The Netflix logo.

It's a Friday night in the late 1990s and my teenaged friend group are bored. We're not cool enough to hang about in the park drinking cider. And we're not nerdy enough to play D&D. We don't have enough money to go to the cinema. What we do have is a Blockbuster card and, between us, just enough cash to rent a newly released movie. Eight of us pile into the local Blockbuster and begin to…

You can't screenshot or right click this image

· 14 comments · 550 words · Viewed ~1,849 times


A badly drawn cartoon of a monkey in a t-shirt.

People contact me with all sorts of weird opportunities. Some are fun. Some are not. I've lost count of the number of NFT grifters who've asked me to "revolutionise" the art space. I'm generally not a fan. But I had one chat with someone who wanted to do something intriguing. They were worried about people right-clicking or screenshotting their precious images and had a plan to stop that. I…

Liberating out-of-copyright photos from SmartFrame's DRM

· 40 comments · 800 words · Viewed ~5,663 times


Screenshot of a network inspection panel. Dozens of JPEG images are being downloaded.

During the middle of the 20th Century, the UK's Royal Air Force took thousands of photographs of the country from above. Think of it like a primitive Google Earth. Those photographs are "Crown Copyright". For photographs created before 1st June 1957, the copyright expires after 50 years. Recently, the organisation "Historic England" started sharing high-resolution copies of these photos on a…

Quick and dirty way to rip an eBook from Android

· 3 comments · 450 words · Viewed ~8,028 times


Unix is user-friendly — it's just choosy about who its friends are.

I recently purchased a book for my MSC which was only available via a crappy Android app. There was no obvious way to decrypt it to read on a more sensible device, so I resorted to the ancient art of screenscraping. This is a quick-and-dirty way to grab images of the pages and convert them to a standard PDF using Linux. There's a lot more you can do to make the end book more useful, but this'll…

Download 1080p streams from iPlayer

· 13 comments · 550 words · Viewed ~5,005 times


Screenshot of VLC reporting that the video is 1080p.

Way back in 2010, Paul Battley was blogging about device discrimination on the Internet. The new iPlayer service was using TLS certificates to ensure that only specific devices were able to stream media from the BBC's servers. That's a situation which continues over a decade later. If you watch iPlayer on your laptop, you're stuck with 720p quality. If you want 1080p and above, you need a…

Download ACSM files in Linux - without using Adobe Digital Editions!

· 13 comments · 300 words · Viewed ~6,532 times


A cute penguin.

After my rant the other day about Adobe Digital Editions, I discovered libgourou by Grégory Soutadé libgourou is a free implementation of Adobe's ADEPT protocol used to add DRM on ePub files. It overcome the lacks of Adobe support for Linux platforms. There are a few limitations, but nothing too serious: Only ePub is supported. No PDF Command line only Alpha quality software. It works - but i…

A brief look at ACSM files

· 550 words · Viewed ~1,054 times


An eReader with a pen.

Adobe's accursed eBook DRM is just the worst. Not only does it lock up books that you have purchased - but it's impossible to use sensibly on Linux. Sure, you can futz around with Docker, WINE, and old versions of Python - and if you're lucky, you might get a book out of it. I wasn't quite so lucky. I wanted to see if I could download an ePub without using Adobe Digital Editions. Spoilers! I…

You can't print this blog post

· 42 comments · 300 words · Viewed ~1,315 times


A hand-held pink cube with paper coming out of it.

Update! It's fair to say no one liked this idea - so I've reverted it. Thanks for all the feedback 🙂 Do you ever see those daft email footers which say "Please consider the environment before printing this email." Like, who the fuck is still printing out their emails? Anyway, a few years ago I went along to a blogging event where someone had printed out one of my blog posts. I was stunned. Th…

HDCP is ridiculously annoying - DRM sucks for consumers

· 3 comments · 850 words · Viewed ~3,180 times


TV showing error message.

I decided to treat myself to an upgraded home cinema experience. But mandatory copy-protection has meant I've spend the weekend trying and failing to get things working, rather than watching glorious 4K HDR 10 bit movies. Here's the problem: Why am I getting the error "This content can not be displayed because your TV does not support HDCP 2.2."? I have four pieces of kit in the mix, all of…