
Liz replied in the blog post:milhouse wrote:One thing that occurs to me is whether it would have been better to put the licence keys in a separate file that is read at boot (eg. licences.txt) since config.txt is often provided by various distributions (obviously without licence key information) and will require modification to re-enable MPG2/VC1 etc.
If we had the keys in a separate file we would just need to copy that file over each time - much easier...
OK, but I'm at a bit of a loss how a separate plain text licence file is any less secure than a single plain text config file...No – well, I mean, it’d be *easier*, but it’d be less secure. We have to make it hard to circumvent so we don’t get sued by the MPEG LA!

Yeah, should be interesting to see how many keys are accidentally made public by virtue of people sharing their config.txt...OK, but I'm at a bit of a loss how a separate plain text licence file is any less secure than a single plain text config file...

Possibly, but if the GPU (through it's bootloader firmware) is able to read one file (config.txt) I'd expect it to be possible to read a second. More work for dom, of course, but "cleaner" than adding yet more end-user (rather than device) specific options to config.txt.mahjongg wrote:Its probably because the config.txt file is read by the GPU at boot time, not by easily to disassemble ARM code.
Quite likely... another overhead for developers and maintainers of distributions (though surely the key will be hashed with the serial#?)lavers wrote: Yeah, should be interesting to see how many keys are accidentally made public by virtue of people sharing their config.txt...

I'll think about it. Not sure it makes life that much easier for you:milhouse wrote: Possibly, but if the GPU (through it's bootloader firmware) is able to read one file (config.txt) I'd expect it to be possible to read a second. More work for dom, of course, but "cleaner" than adding yet more end-user (rather than device) specific options to config.txt.
Code: Select all
cp licences.txt /boot/licences.txtCode: Select all
cat licences.txt >> /boot/config.txtThanks RPF!liz wrote:We've also made VC-1, H.264 encode and CEC support available - some of these things are bundled with the latest firmware, others you'll have to pay for. See below for details.
http://www.raspberrypi.org/archives/1839
Thanks.dom wrote: I'll think about it.
True, but separating the licence keys from config.txt just "feels" like the right thing to do... I can't think of any real pro's (from an end-users POV) for keeping it all combined in a single file, mostly just con's.dom wrote: Not sure it makes life that much easier for you:orCode: Select all
cp licences.txt /boot/licences.txtCode: Select all
cat licences.txt >> /boot/config.txt
Although I'm guessing we'll have a lot of relatively inexperienced Windows users wanting to do that. In that case, dragging licenses.txt to the FAT partition is far easier than editing a text file they normally don't need to touch, and far less likely to break something.dom wrote:I'll think about it. Not sure it makes life that much easier for you:orCode: Select all
cp licences.txt /boot/licences.txtCode: Select all
cat licences.txt >> /boot/config.txt
Look through the options you can specify within config.txt, and the majority of them should not be distributed beyond the users set-up. i.e. I'd be annoyed if a distribution forced a video resolution on me just because it was what the distributor uses.linuxstb wrote:Although I'm guessing we'll have a lot of relatively inexperienced Windows users wanting to do that. In that case, dragging licenses.txt to the FAT partition is far easier than editing a text file they normally don't need to touch, and far less likely to break something.
But I would also like to sincerely thank all that made this possible - especially as it's outside the foundation's core goals.
Add the set up of a license (once the user has a key) to raspi-config for those that don't want to/know how to muck about with files?milhouse wrote:Thanks.dom wrote: I'll think about it.
True, but separating the licence keys from config.txt just "feels" like the right thing to do... I can't think of any real pro's (from an end-users POV) for keeping it all combined in a single file, mostly just con's.dom wrote: Not sure it makes life that much easier for you:orCode: Select all
cp licences.txt /boot/licences.txtCode: Select all
cat licences.txt >> /boot/config.txt
Admittedly it's not a huge concern, but keeping the keys separate would seem to make life easier for end-users over the longer term (I can imagine schools having fun with "Now children this is what your config.txt file should like like - whoops, those are my special keys, ignore those...").
They have to learn it.W. H. Heydt wrote: Add the set up of a license (once the user has a key) to raspi-config for those that don't want to/know how to muck about with files?

August 8th or newer.Dweeber wrote:I assume this is based on a newer Kernel / Update? Do we know which versions include it?
Just ordered both the MPEG-2 and VC-1 licenses.
