View Full Version : Jon Johansen releases DeDRMS
wmansir
26th April 2004, 09:56
Johansen, who originally released the DeCSS code, and went thru several court battles over it, has released DeDRMS (http://nanocrew.net/blog/). Here's some Slashdot discussion (http://yro.slashdot.org/article.pl?sid=04/04/25/1750227&mode=thread&tid=107&tid=126&tid=172&tid=185&tid=187&tid=93) on it. Johansen also released the code that FairPlay was based on, which Apple has been systematically removing from the internet.
Anyway, back to DeDRM. The readme states DeDRMS requires that you already have the user key file(s) for
your files. The user key file(s) can be generated by playing
your files with the VideoLAN Client [1][2].
DeDRMS does not remove the UserID, name and email address.
The purpose of DeDRMS is to enable Fair Use, not facilitate
copyright infringement.
So I assume this utility doesn't 'crack' DRM so that anyone can play a file, but only removes restrictions for those that currently have the right to play that file. Of course once that is done the resulting file can be pirated, so it is kind of a moot point as far as the RIAA is concerned. However, it does give the tool some moral standing in my opinion, if not legal.
Doom9
26th April 2004, 11:33
considering that the playfair host was just C&D'd (not even Microsoft has sued people for distributing DivX3.11, or the makers of the e-book DRM removal tools - so much for Apple being nice) better download now ;)
bman1
27th April 2004, 12:47
Has anybody had any luck running it? I've compiled it just fine, however when I run a M4P through DeDRMS I get no output, no status message either.
I have VLC and have generated the proper playback keys. Do I have to have those in each directory with the song I am DeDRMS'ing?
Doom9
27th April 2004, 19:16
I don't have any iTunes songs so I can't try it myself, but I believe somebody who signed up earlier today might be able to help you (once he realizes he doesn't have to wait the 5 days ;)
JonLech
27th April 2004, 21:46
Originally posted by bman1
Has anybody had any luck running it? I've compiled it just fine, however when I run a M4P through DeDRMS I get no output, no status message either.It doesn't write a new file, it just modifies the existing one. If it succeeds, it shouldn't print any messages. If you try to process the file again it should print "Exception: Atom 'drms' not found".
I have VLC and have generated the proper playback keys. Do I have to have those in each directory with the song I am DeDRMS'ing? No, DeDRMS will find the keys in the directory where VLC stores them. If it doesn't find the key it will print a message saying so.
Doom9 :)
I believe we have a "special guest" at the forum? Welcome :).
avih
27th April 2004, 22:06
Welcome Jon, your work is greatly appreciated. enjoy your staying at the forum ;)
JonLech
27th April 2004, 22:13
Thanks. I've visited from time to time, but didn't sign up for an account until now :)
Mug Funky
27th April 2004, 23:11
hey! welcome to doom9!
you're my video hero :eek:
cypher_soundz
28th April 2004, 00:56
I feel very privileged
you're my video hero
i 2nd that :p
Regards
cyph
communist
28th April 2004, 06:49
Wow :eek:
Welcome to the forum Jon - your work is really appreciated :)
Nic
28th April 2004, 18:19
http://apple.slashdot.org/apple/04/04/28/149254.shtml?tid=164&tid=176&tid=185&tid=188
Has a small "Update" in the message, which almost hints that perhaps the encryption method has changed (or similar?).
Anyone got any more evidence of that?
-Nic
ps
Nice to have you here Jon...
wmansir
29th April 2004, 04:05
I don't use iTunes or have an iPod, so perhaps someone can answer a few questions. How does iTunes handle DRM when it comes to the iPod? Obviously the iPod itself can't authenticate the file online, so is the file locked to the player itself (via some unique hardware ID) by iTunes? Or does iTunes load a 'clean' version onto the player, which cannot be downloaded off the player? I guess my basic question is: how does the iPod authenticate the files?
I started thinking about this because I wondered, if they change the DRM authentication process does that require a firmware upgrade for the iPod? Or does it's authentication process remain unchanged?
JonLech
29th April 2004, 11:48
The key store (SC Info.sidb) is encrypted using a system specific key. When you sync with the iPod the key store is decrypted and then encrypted with your iPod's system key.
The recently released iTunes 4.5 and new iPod firmware changes the way the key store is encrypted.
Tilsan
29th April 2004, 17:49
Wow the man himself!
You're a legend JonLech - Anyone that can go through
what you did and still stand up for their rights is
a true legend in my book. I just wanted to say thankyou
and hope only good things come to you in the future!
--
Till
Say No to DRM - Disgusting Rights Management
int 21h
30th April 2004, 06:33
@Jon:
I hope you don't mind a few questions while you are here :)
I thought that in PlayFair (correct me if I'm wrong) the files were encrypted with AES using what I can only assume is a user-specific key that is generated from some sort of system-specific values. But when I look at the source for DeDRMS, I don't really see any AES decryption taking place (as opposed to VLC?). Can you explain a little more about how the encryption works and how you figured it out?
Nic
30th April 2004, 08:32
Look again ;) rijndael was the chosen algorithm for AES. :)
(i.e. rijndael == AES )
Take Care,
-Nic
int 21h
30th April 2004, 22:54
Ah yea, I see that now, thanks Nic :)
JonLech
5th May 2004, 12:57
Originally posted by Nic
Has a small "Update" in the message, which almost hints that perhaps the encryption method has changed (or similar?).
I've added FairPlay v2 support to VLC (http://videolan.org/vlc/). There should be a build (http://www.videolan.org/~videolan/build) available tonight that includes the new code.
Thanks for the info Jon :)
http://developers.videolan.org/cgi-bin/viewcvs.cgi/vlc/modules/demux/mp4/drms.c?cvsroot=VideoLAN
For those who are curious, like me, as to what has changed...
-Nic
calinb
8th May 2004, 09:25
Originally posted by Nic
http://apple.slashdot.org/apple/04/04/28/149254.shtml?tid=164&tid=176&tid=185&tid=188
Has a small "Update" in the message, which almost hints that perhaps the encryption method has changed (or similar?).
Anyone got any more evidence of that?I'll confirm that too. (Though I'm also motivated by a strange and urgent desire to participate in any forum with Jon :) Yes, he is most welcome and appreciated here!!!)
I compiled QTFairUse back in November after Jon released the source and I also downloaded and archived Quicktime 6.4, knowing that Apple would surely change the DLL entry points shortly, which they did in the next release of QT/iTunes. After disabling auto update in QT and iTunes, QTFairUse has been working for me ever since. I was thrilled to use PlayFair on my Mac when it was released because it is fast, convenient, and it retains tags and artwork, but alas, the Apple encryption changes rendered it unusable for recent downloads. VLC doesn't seem much easier than the original DLL re-route provided by QTFairUse so I'll stick with QTFairUse and my old QT installation :)
JonLech
9th May 2004, 18:59
Originally posted by calinb
VLC doesn't seem much easier than the original DLL re-route provided by QTFairUse so I'll stick with QTFairUse and my old QT installation :) You can use VLC in combination with playfair (or DeDRMS). Play your files with VLC to generate the key file(s) (http://wiki.videolan.org/tiki-read_article.php?articleId=5), then use playfair.
VLC win32 build 2004/05/08 (http://vthr.via.ecp.fr/~videolan/build/win32/vlc-win32-200405082334.zip) (includes FairPlay v2 support).
Originally posted by Nic
For those who are curious, like me, as to what has changed...Did you take a closer look at p_secret2 in DoShuffle? :)
What does it say? My linguistic skills are cr*p ;) The closest I can get/guess is "copyright (c) Nccyr Pbzchgre, Vap. All Rights Reserved". How close am I?
JonLech
9th May 2004, 22:27
Nccyr Pbzchgre, Vap = Apple Computer, Inc
I didn't feel like including that in plaintext in my code, so I ROT13 encoded it :D
LoL...Doh, I should have so gone www.rot13.com or at least used that vacant space where my brain supposedly is ;)
Liked the pic of you with your speccy...I'll have to look up a pic of me in a similar situation. (I went straight to the spectrum +2...first thing I progged assembler on...happy days ;) )
-Nic
ahh, i did the 48k speccy asm ;)
For those that aren't following Jon's blog...
http://www.nanocrew.net/blog/
Playfair has been renamed and re-written:
http://hymn-project.org/
-Nic
cypher_soundz
11th May 2004, 23:22
Doom9's been /.'ed !
http://slashdot.org/articles/04/05/11/1411239.shtml?tid=107&tid=187
Regards
Cyph
BetaBoy
12th May 2004, 02:26
Originally posted by Doom9
considering that the playfair host was just C&D'd (not even Microsoft has sued people for distributing DivX3.11, or the makers of the e-book DRM removal tools - so much for Apple being nice) better download now ;)
MS had suggested to me (in a nice phone call) that they we gonna C&D me for DivX 3.11 (MyDivX.com) but nothing came of it ;-).... You have my support Jon :thanks:
----
Dan "BetaBoy" Marlin
Founder CoreCodec
The Future of Audio/Video Development and Technology
eaglebtc
12th May 2004, 05:58
I'm using the command line interface on Windows. I just bought a Crystal Method album (Legion of Boom) to test this.
Hymn appears to be doing something to my music, but it's not coming out right. I end up with M4A files that are much smaller than the originals, and they do not play. Also, it thinks that the "-l" switch is invalid. Also, VideoLAN (latest binary) crashes when I try to play the M4P files.
:confused:
Am I doing something wrong in my setup? I have iTunes 4.5, Quicktime 4.5.1, and my computer is definitely authorized to play purchased music (otherwise i could not have downloaded it).
The hymn.exe (and documentation) is installed in C:\Program Files\hymn-0.6.0, as specified by the installation instructions.
calinb
12th May 2004, 19:15
Originally posted by JonLech
You can use VLC in combination with playfair (or DeDRMS). Play your files with VLC to generate the key file(s) (http://wiki.videolan.org/tiki-read_article.php?articleId=5), then use playfair.Thanks, Jon :) Somehow missed this wiki.
Originally posted by Nic
For those that aren't following Jon's blog...
http://www.nanocrew.net/blog/ I bookmarked Jon's no-nonsense blog from the start--might even set it to browser homepage :)
Originally posted by Nic
Playfair has been renamed and re-written:
http://hymn-project.org/[/B] Great news! Thx. If I may editorialize a moment (still on-subject, I believe)--although I agree with Doom9's position (the clueless noob :), not the site) that consumers should not purchase DRM'ed media, I also think it's important to purchase some DRM'ed media in order to exercise the rights of fairuse. So, to that end, I mostly buy CDs (from local musicians, no less) but occasionally purchase iTunes. I'm not currently coding and I'm not a lawyer so I think this is the only way I can contribute to the fairuse cause. (And donate to its proponent groups and individuals :)) If anyone's interested in splitting this thread to another general discussion thread, I'm interested in participating in a discussion.
JonLech
12th May 2004, 22:52
Originally posted by eaglebtc
Also, it thinks that the "-l" switch is invalid.There's a new release of hymn (http://hymn-project.org) (0.6.1) which supposedly fixes that.
Am I doing something wrong in my setup? I have iTunes 4.5, Quicktime 4.5.1, and my computer is definitely authorized to play purchased music (otherwise i could not have downloaded it).Actually, authorization does not take place until you play a m4p file for the first time in iTunes. I've just fixed (http://www.via.ecp.fr/via/ml/vlc-devel/200405/msg00105.html) a bug which would cause VLC to crash if the key store is empty.
eaglebtc
13th May 2004, 04:35
Originally posted by JonLech
There's a new release of hymn (http://hymn-project.org) (0.6.1) which supposedly fixes that.
Actually, authorization does not take place until you play a m4p file for the first time in iTunes. I've just fixed (http://www.via.ecp.fr/via/ml/vlc-devel/200405/msg00105.html) a bug which would cause VLC to crash if the key store is empty.
Yeah, this was it! I went to play the songs in iTunes, and it said "Your computer is not authorized to play these files. Would you like to do this now?"
:o
:rolleyes:
It works now! Hymn just converted the entire album in about 6 seconds. Thanks Jon!
pyt0n
30th May 2004, 20:01
are you able to ha* such files?
anything in future?
pyt0n
30th May 2004, 22:22
aye,
but untill then people who have dl'ed drm protected files
most surely want to remove it.
i believe ive seen a graphedit filter which can do this
but thats about it. anyone?
JonLech
7th July 2004, 23:08
I've released a new tool, FairKeys (http://nanocrew.net/blog/apple/fairkeys.html), which lets you retrieve your FairPlay keys from Apple's servers. Works on GNU/Linux, MacOS X and Windows (http://forum.doom9.org/showthread.php?threadid=79163) :)
pyt0n: I have no personal incentive to reverse MS DRM. There are no Open Source WMA9/WMV9 decoders (though that will probably change for WMV9 as soon as it's standarized as SMPTE VC9 (http://www.smpte.org/engineering_committees/technology_committees/)).
Neo Neko
8th July 2004, 03:22
Originally posted by JonLech
pyt0n: I have no personal incentive to reverse MS DRM. There are no Open Source WMA9/WMV9 decoders (though that will probably change for WMV9 as soon as it's standarized as SMPTE VC9 (http://www.smpte.org/engineering_committees/technology_committees/)).
Well you can decode them under Linux with Mplayer. But it does require the Microsoft libraries and that does limit you to intel without emulation. Not a real solution. But a working one. Still fight your battles one at a time. ;)
dorati
26th December 2015, 19:52
Somebody has Infos or this old Tools for me. I tried to learn something about Fairplay.
How i decrypt a file, if i have the key ?
If is not allowed here, please PM.
Wilbert
30th December 2015, 01:25
https://web.archive.org/web/20051231051146/http://www.hymn-project.org/jhymndoc/#downloads
https://web.archive.org/web/20060101014333/http://hymn-project.org/download.php
I can't find this FairKeys, but according to the second link iOpener is based on it.
calinb
30th December 2015, 06:28
I probably have hundreds of old tools archived, but the CDs are all packed away in storage. It may be awhile before I can dig them up, but I'll PM you when and if I can find anything.
Somebody has Infos or this old Tools for me. I tried to learn something about Fairplay.
How i decrypt a file, if i have the key ?
If is not allowed here, please PM.
dorati
30th December 2015, 06:49
thank you for help !
@Wilbert: perfect, thx -))
@calinb: it is not necessary to search, find the info... thx.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.