Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
#1 | Link |
|
Matroska Team
Join Date: Nov 2002
Location: Bavaria - Germany
Posts: 1,341
|
Stream En/Decryption DirectShow filters, ready for alpha testing
Hi,
Jory 'jcsston' Stone, one of the matroska core devs, has a little surprise for you, he has created a set of DirectShow filters that will allow to encrypt any stream during the muxing process, and will insert automatically on playback asking for a password, he made it as a DirectShow 'finger training', to use Gabest's words ....To make this clear right fom the start, these filters are not limited to matroska ! They were tested with matroska, but should work fine with OGM and AVI also !! This is just said out front, to avoid any stupid conspiracy theories of the matroska enemies here on this board, who had stated already that they see commercial interests behind the project. We are currently collecting ideas of what to do with it, and here are our first considerations : 1. Protect your private movie collection from access by kids and/or your parents. This can be extremely useful for self-made 'movies' !2. Fool your friends, by burning the latest freaky movies for them, and then they need a PW to view them ![]() 3. For release groups : With the help of Gabest, we could establish a system where every release group gets its own PW, and Gabest hardcodes them all into DVobSub. That way all SSA streams could be stored encrypted in the MKV or OGM file, and DVobSub has the PW for them, so people can view them, but not extract them , unless they are skilled programmers. If only Gabest was here, i guess this could be implemented in no time ....Ideas and thoughts welcome Here the binaries : http://corecodec.org/download.php/34/DSCrypt_v0.1.zip Known bugs : 1. Doesnt work with Vorbis or AAC audio right now, only VCM video and ACM audio ( MP3, AC3 ) are supported Last edited by ChristianHJW; 30th September 2003 at 19:23. |
|
|
|
|
|
#2 | Link | |
|
Matroska Dev
Join Date: Sep 2002
Location: Texas, USA
Posts: 229
|
Re: Stream En/Decryption DirectShow filters, ready for alpha testing
Quote:
A FLAC encoder filter took more typing
|
|
|
|
|
|
|
#3 | Link |
|
Matroska Team
Join Date: Dec 2001
Location: Paris, France
Posts: 421
|
That sounds like an excellent "open DRM" alternative. Where everyone can become its own "authority" (and we can build some larger ones).
Is the encryption based on PKI (Public Key Infrastructure) and the groups/authorities hold the private key... Also in the option of having VSFilter (DVobSub?) store the decoding keys, it should be stored in a way only Gabest can have it back... Not possible with a 100% open source code. |
|
|
|
|
|
#5 | Link |
|
Matroska Dev
Join Date: Sep 2002
Location: Texas, USA
Posts: 229
|
Right now it's using AES encryption with a 16 character password/key. If your password is shorter the rest is filled will 0's and if it's too long it is cut off.
Tuning: No, the password cannot be changed after encryption, however you can decrypt and rencrypt at the sametime by chaining the filters together.
__________________
The Matroska Effect |
|
|
|
|
|
#9 | Link |
|
Registered User
Join Date: Oct 2002
Location: Canada
Posts: 8,732
|
Can it works with RV9 and RA8?
__________________
download RealAnime and Bencos |
|
|
|
|
|
#10 | Link | |
|
Matroska Dev
Join Date: Sep 2002
Location: Texas, USA
Posts: 229
|
Quote:
).
__________________
The Matroska Effect |
|
|
|
|
|
|
#12 | Link |
|
Matroska Dev
Join Date: Sep 2002
Location: Texas, USA
Posts: 229
|
I have a new release download.
I now have support for encryption of ASCII, UTF-8, SSA, ASS, and USF subtitles. Also there are different modes of encryption now. Sirber: Sorry but it may take a while for me to get RV/RA encryption working correctly. I've gotten it to encrypt but getting the decoders to connect to the decryped stream is the trouble. I've also been unable to get Vorbis working, it will encrypt and even connect to the Vorbis decoder. But nothing happens (no sound or video). Edit: Forgot the link.
__________________
The Matroska Effect |
|
|
|
|
|
#14 | Link | ||
|
Matroska Dev
Join Date: Sep 2002
Location: Texas, USA
Posts: 229
|
Quote:
So the answer to your question would be no, you would use the same password for encryption and decryption. Quote:
To any interested developers, I'm using the Crypto++ C++ lib to encrypt each frame with a reset key, which allows any frame decrypted without requiring previous frames. The encryption methods you can use are ASE (the orignal method), ASE with MD5 password hashing, BlowFish, BlowFish with MD5 password hashing. When using the MD5 password hashing, instead of using the password directly as a key I create a 16-byte MD5 hash from the password and use that.
__________________
The Matroska Effect |
||
|
|
|
|
|
#15 | Link | |
|
·
Join Date: Jan 2002
Posts: 1,729
|
Re: Stream En/Decryption DirectShow filters, ready for alpha testing
Quote:
|
|
|
|
|
|
|
#16 | Link | |
|
Registered User
Join Date: Oct 2002
Location: Cyberia
Posts: 443
|
Quote:
|
|
|
|
|
|
|
#17 | Link |
|
Registered User
Join Date: Aug 2003
Posts: 13
|
I'd have to agree with MF. No amount of obfuscation can protect a hardcoded decryption key forever. This would be one of those Crack Once Run Everywhere deals once somebody figured it out. It would be awesome though if you could get a working system in place that couldn't be cracked. Brutal irony, the netizens that bypassed commercial copy protection for their own use produce a home brew solution so rip groups can't snarf each others releases. Heheh.
If you decide to go ahead with that I would suggest switching to a PKI system so you can just hardcode the private key and give out the public key to anybody who wants to make a protected release. It would save a lot of arguing about who deserves a key and revisions of filters that don't have certain keys, etc. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|