[libdvdcss-devel] cache: use libxdg-basedir and save cache into XDG-compliant location.

Diego Elio Pettenò flameeyes at flameeyes.eu
Wed Feb 27 08:24:25 CET 2013


On 27/02/2013 08:19, Reimar Döffinger wrote:
> Since I've said it so often I don't know if there is a point, but XDG
> cache dir is completely inappropriate IMHO. The data in it can _not_
> generally be restored, just try e.g. installing a new drive and
> dvdcss will stop working completely until the use manually configures
> a region.

Is it the case? I never set the region of DVD drives and they seem to
work just fine... including external USB drives.. I think most
manufacturers pre-set the region on the units they sell.

> There are also cases where titles are too short for cracking and thus
> only manually created key files work (which btw. speaks against the
> binary format, also look at e.g. libaacs, they too use text format
> files).

Manually created how? If there is a way to "manually create" a key for
short titles, maybe it's a good idea to just fix libdvdcss so that it
can generate he same?

Also it's trivial to copy the key around with base64, even when it's
stored as binary.

-- 
Diego Elio Pettenò — Flameeyes
flameeyes at flameeyes.euhttp://blog.flameeyes.eu/


More information about the libdvdcss-devel mailing list