Autore: DrWhax Data: To: The Tails public development discussion list Oggetto: Re: [Tails-dev] Create random seed at installation time with Tails
Installer
intrigeri: > kurono:
>> * The natural place to put it is in the usual seed file, inside the
>> Tails file system (filesystem.squashfs). But this would imply to extract
>> the image, change the file, and create a new image, which would be a lot
>> of extra work. Another disadvantage is that it makes any further file
>> integrity checking impossible.
>
> Ouch, no, let's not do that.
>
>> * The other option is to locate it outside of the tails file system,
>
> You mean in the FAT filesystem that Tails Installer creates, right?
> If yes, then this seems like the best option. Another option would be
> somewhere in the GPT (IIRC someone researched that).
>
>> let say the "binary" part, and link the random init script to this
>> file, only if we are creating it by the installer.
>
> I guess checking for this file's existence is enough.
>
>> I don't know if this last option is even possible.
>> Are there already some examples of it? Maybe the syslinux, etc?
>
> Yes, Tails Installer already creates / renames / mangles files in the
> FAT filesystem after extracting the content of the ISO filesystem.
>
> Just curious:
>
> * When do we update the content of this file?
> * What's the plan for upgrades of the Tails USB stick?
>
> Cheers,
>