Making The Case Against Adding DRM To JPEG Images

from the don't-go-down-that-road dept

Earlier this year, we wrote about a plan to add DRM to the JPEG standard, meaning that all sorts of images might start to get locked down. For an internet where a large percentage of images are JPEGs, that presents a potentially serious problem. We did note that the JPEG Committee at least seemed somewhat aware of how this could be problematic — and actually tried to position the addition of DRM as a way to protect against government surveillance. However, there are much better approaches if that’s the real purpose.

The JPEG Committee recently met in Brussels to discuss this, and thankfully Jeremy Malcolm from the EFF was able to give a presentation explaining why this was such a bad idea and to suggest alternative approaches for protecting privacy without having to go down the path of DRM.

This doesn’t mean that there is no place for cryptography in JPEG images. There are cases where it could be useful to have a system that allows the optional signing and encryption of JPEG metadata. For example, consider the use case of an image which contains personal information about the individual pictured?it might be useful to have that individual digitally sign the identifying metadata, and/or to encrypt it against access by unauthorized users. Applications could also act on this metadata, in the same way that already happens today; for example Facebook limits access to your Friends-only photos to those who you have marked as your friends.

Currently some social media sites, including Facebook and Twitter, automatically strip off image metadata in an attempt to preserve user privacy. However in doing so they also strip off information about authorship and licensing. Indeed, this is one of the factors that has created pressure for a DRM system that could to prevent image metadata from being removed. A better solution, not requiring any changes to the JPEG image format, would be if platforms were to give users more control over how much of their metadata is revealed when they upload an image, rather than always stripping it all out.

We encourage the JPEG committee to continue work on an open standards based Public Key Infrastructure (PKI) architecture for JPEG images that could meet some of the legitimate use cases for improved privacy and security, in an open, backwards-compatible way. However, we warn against any attempt to use the file format itself to enforce the privacy or security restrictions that its metadata describes, by locking up the image or limiting the operations that can be performed on it.

Hopefully the JPEG Committee listens.

Filed Under: , , ,
Companies: eff

Rate this comment as insightful
Rate this comment as funny
You have rated this comment as insightful
You have rated this comment as funny
Flag this comment as abusive/trolling/spam
You have flagged this comment
The first word has already been claimed
The last word has already been claimed
Insightful Lightbulb icon Funny Laughing icon Abusive/trolling/spam Flag icon Insightful badge Lightbulb icon Funny badge Laughing icon Comments icon

Comments on “Making The Case Against Adding DRM To JPEG Images”

Subscribe: RSS Leave a comment
38 Comments
Anonymous Coward says:

Here we go again...

Adding DRM is not a solution to anything by a long shot. It is at most just one step in an arms race.

An expensive, complicated and ineffective step that will only inconvenience the ‘honest’ users and will be cracked in no time…

No really sure why anyone would think it will work on images when it has failed on all other media it was applied to: games, music, books, movies…

Violynne (profile) says:

The problem with the encryption route is no different than DRM and it will get abused no differently.

Call me cynical to believe those who wish to utilize the “encryption” of the image will be giving the keys to unlock the image freely.

This means websites wishing to use the image much first obtain the key.

The very reason HTTPS works is because the digital key necessary to view the site has no restrictions on obtaining the key.

Not seeing how this same system will be applied to JPEGs (already covered by HTTPS if used) while pretending it’s not DRM.

Goyo (profile) says:

Re: Re:

Of course the problem is different. You only can access a DRM’d file using some piece of propietary software which decides what you can an cannot do. Attemps to access the file in any other way may be illegal due to anti-circunvention laws even if what you want to do is lawful.

With an encrypted, non DRM’d file, you do not have that kind of issues.

PaulT (profile) says:

Re: Re:

“The problem with the encryption route is no different than DRM and it will get abused no differently.”

Yes and no. If you read carefully, the encryption suggestion is talking about the metadata and not the file as a whole. So, you should be able to access the image part of the data, but require a key to decrypt the metadata. Since, as mentioned, many uses of jpegs strip out the metadata anyway, and it should be less problematic than you think.

There may be some unforeseen issues introduced depending on how this is implemented, but the files should in theory be usable even in the encrypted form.

MrTroy (profile) says:

Re: Re: Re:

My (non-careful) reading of it was that the DRM was to prevent the metadata from being stripped:

However in doing so they also strip off information about authorship and licensing. Indeed, this is one of the factors that has created pressure for a DRM system that could to prevent image metadata from being removed.

I’m not sure how much I can make myself care about a form of DRM that means I can’t interpret the metadata of images that I download from the internet… but that can’t be what they mean, otherwise stripping the metadata involves taking the unencrypted image data, and saving it into a new image with neither DRM nor metadata.

Mr Big Content says:

JPEG Will Never Suceed Without DRM

If they want there format to become popular, they will HAVE to support DRM. Do you think poeple will use a Format that lets there preciuos pictures, teh product of so much hard work, be freely copied? NO WAY! No camera vendor would touch such a format with a TEN FOOT POLE! You think Microsoft would willingly allow a piracy-friendly format into there PC OS? Adobe willingly risk the security of Photosohp by opening such a export loophole? Photo websites allow uploading any format that can be so easily downloaded by any old Tom, Dick and Harry Softwear? NOT A CHANCE!!!

So let these smart-aleck photographic “experts” (makes air quotes) WAKE UP AND SMELL TEH COFFEE!! Otherwise THERE CLEVER FORMAT PORPOSAL WILL BE LEFT IN TEH DUST BY TEH MARKET!

Within Reason says:

Re: Re: Re:

.png, as JPEGs corrupt easily. The number of times I’ve made a beautiful graphic only to have had it turned into a JPEG when uploaded to FB, which flippin’ ruined it by spoiling the quality! Seethe

Oh yes, standardise .png, by all means. Result: prettier, clearer, sharper graphics.

If Twitter can do it FB has no excuse.

Anonymous Coward says:

Never gonna work

Remember when BRD boasted their perfect DRM that was supposed to take a lifetime to crack? We all saw how well that played out. DRM on video and image would be far harder than software and software has not came up with one viable solution.

Serial – Fail
Serial with online verification – Fail
Online only – Fail
Sandboxes – Fail
Sever side data required – Fail
Encrypted Virtualization – Fail

Just because DRM technology is improving doesn’t mean hackers are not. Hackers will always be ahead of the game because there are more of them. Some have malicious intent, and others see DRM as a challenge; meaning the harder the better.

What cannot be cracked will be replaced with custom code. IE private video game servers are almost always coded from scratch. Then a custom patch will set the game to use different server IP addresses.

With and video the best that we’ll ever do is advanced recognition software. Then the problem will be getting everyone to use it on their servers.

Most will not, I know I wouldn’t. It’s not my problem or job to babysit.

Anonymous Coward says:

>drm to jpeg

I thought this was a joke.

This would be the easiest thing to bypass ever.
A script embedded somewhere like imgur, which relies on how easy jpegs and pngs are to share, could render it completely worthless.

Hey guys, remember when they tried drm in pdf? That was the most secure thing ever, right guys? No one ever got past that.

DannyB (profile) says:

DRM bad, but digitally signed metadata is good

It would be nice if any image format could have not only metadata, but digitally signed metadata.

Anyone viewing the image would then be able to verify, with the same level of trustworthiness as SSL certificates have, that the metadata within the image is really from who it claims to be from.

An example: When a US Senator posts pictures of his microsoft and digitally signs the bragging rights, we could all be pretty sure it was actually him doing the bragging.

Now imagine that Certificate Authorities could issue digital signing certificates to individual cameras and the cameras do the signing. Have some cryptographically secure way to distribute the certificate into the camera without any human ever seeing or having access to it. The key would be kept in a smart chip running Java like the sim card on your phone. The processor, memory and signing key are in a secure chip that is tamper resistant.

The result of this is that you could be sure that a SPECIFIC CAMERA took the picture. That way, a journalist could have each of his 500 cameras have a different uniquely identifiable certificate so that each picture can be identified with the camera that took the image and signed it.

The potential security issues are:
* someone steals the camera and takes photos — but the journalist can also record when the camera was stolen or missing. Certs can be revoked.
* for a dedicated attacker it might be possible to recover the secret key material from the sim card so that it now is available to humans in a form that can be used to sign anything

Anonymous Anonymous Coward says:

Re: DRM bad, but digitally signed metadata is good

And apparently someone can strip out the metadata and the picture would then be attributed to no one.

On the other hand, if it is possible to strip out metadata, then wouldn’t it be possible to add bogus metadata easily?

I am having a hard time discerning what might be accomplished with any of this, except as someone mentioned above, showing that there IS a JPEG committee, and that they are doing…something…trying to stay relevant.

Median Wilfred says:

Just another barrier to entry

DRM on an image format (any image format, not just JPEG) is a fairly transparent attempt to raise barriers to entry into several software markets.

The markets include, but aren’t really limited to: image viewers, document production, photo manipulation, CGI, and web browsers. The only four ways that such DRM can actually perform its task are:

1. Code kept secret in any program that decodes the image.
2. An effectively secret “standard” that costs lots of money to use, and requires strict NDAs.
3. DRM in the operating system itself, which must then be the code that’s kept secret.
4. DRM in the hardware, which must then be the code that’s kept secret.

All four of these means to the end will limit the number of entries into any of the markets I mentioned above. We will all suffer from this DRM. It looks to me like 3 of the 4 methods would require quite a bit more in terms of legal support, stricter “intellectual property” laws, stricter laws against reverse engineering or reverse engineering tools, or some combination of the above.

Unfortuntely, all of this can come to pass. Parts of the US government clearly have some perverted fetish about listening to and saving all electronic communication. Having the “IP” and other laws in place make it much easier to mandate pseudo-encryption with backdoors, because everything must be checked to see if the DRM on an image is being violated or not. If those perverted agencies can see this, they would probably throw their weight behind such a proposal. Other agencies might see the DRM on images as a way to assign blame for leaks, or keep classified material from journalists, even if they’re not directly involved in the fetishistic surveillance of the entire population.

tom (profile) says:

I disagree with part of the EFF position. Expecting sites like Facebook and Twitter to have effective privacy controls is silly. Anyone uploading anything to any of these ‘public view’ sites should expect all aspects of the thing in question to become fully public, regardless of any so called privacy settings on the file or its meta data. Its a rare week where we don’t read about some kind of privacy breach on some site.

DannyB (profile) says:

Re: Re:

Blame it all on that fact that in the late 1980’s and very early 1990’s a certain highly inferior operating system from Redmond could only handle three character extensions in file names.

The fact that the OS I am thinking of even required extensions in order to identify what was in a file was another example of how far behind the times it was. Even back then.

Mark Wing (user link) says:

All of my photos go into the wild watermarked. So I normally don’t take issue with a company using one of my photos, because the watermark has my domain name on it. Some readers have told me that they found my site from a watermarked photo on a different site.

Every once in a while, a company will ask really nicely for an original or a set, usually of their product, and I almost always give it to them.

So, I’m not sure what DRM would give me as a photographer. I want people to see my work. I want my photos to be spread far and wide. My only fear is that someone else takes credit for my work, but the watermarks fix that.

As far as control, from a technological standpoint, the only control I have is whether to put my photos are in the wild or not. Once they go into the wild, my only control is artificial: threats, lawsuits, whatever reactive bullshit people do.

As far as my work going into the wild without my consent, I do the best I can. It’s probably a hundred thousand photos and they are all stored on an encrypted drive. If someone swipes the drive, they’ll just get a brick. If hackers or a three letter agency swipe my drive, then oh well, I did my best to secure it if they crack it.

The watermark tool I built (and also sell) will also set the metadata on formats like JPEG, but I’ve never looked to see if anyone is stripping it off my photos in the wild. I think (?) Google even uses this metadata to help decide your search ranking.

Any way I look at it, as a photographer, the only end result of DRM would be everyone seeing me as a douche-bag and staying away from my work, which is the polar opposite of what I want.

Add Your Comment

Your email address will not be published. Required fields are marked *

Have a Techdirt Account? Sign in now. Want one? Register here

Comment Options:

Make this the or (get credits or sign in to see balance) what's this?

What's this?

Techdirt community members with Techdirt Credits can spotlight a comment as either the "First Word" or "Last Word" on a particular comment thread. Credits can be purchased at the Techdirt Insider Shop »

Follow Techdirt

Techdirt Daily Newsletter

Ctrl-Alt-Speech

A weekly news podcast from
Mike Masnick & Ben Whitelaw

Subscribe now to Ctrl-Alt-Speech »
Techdirt Deals
Techdirt Insider Discord
The latest chatter on the Techdirt Insider Discord channel...
Loading...