Discussion:
patch for broken DVD drives/kernels
H}kan Hjort
2002-10-10 17:22:25 UTC
Permalink
I've gotten several bugreports where the disc key isn't read from
the DVD drives properly i.e. libdvdcss says
"failed to decrypt the disc key, trying to crack it instead"
This means that no player key managed to produce a vaild decryption of
any of the keys entried in the disc key block.
So it fallsback to cracking it, only the disc key is infact just
random data (lots of ffff followed by random garbage).
This is what that the kernel/drive has delivered to us.

Have anyone else seen this, or have any idea what could be causing it?

I have managed to repoduce it here on some FreeBSD machines..
but on an identical machine (execpt for the DVD drive brand) it
does works. Some of the reports are from Linux users, and there have
been seveal different drive brands.

This is with libdvdcss 1.2.2, though even 0.0.3.ogle3 gets the same
data (only it works as it doesn't know how to crack the disc keys).

It doesn't matter if the region is unset, set to a matching region or
some other region.

I think that we shouldn't fall back to cracking the key, we have
_all_ (I think) of the player keys, so if it fails it's really an
error indicating that the disc key block is invalid. So we should
insead fall back to cracking the title keys directly.
This will not guard users how have set DVDCSS_METHOD to disc though.

I still wonder if it's the drives, the kernel, the ide chipset or
our css-auth sequence that is messing things up.
--
HÃ¥kan Hjort
Loading...