Skip to content

Tails Installer clones any garbage to any new device

Helping a user to solve #11387 I found that garbage in Tails partition of USB stick is cloned to a new device.

I verified it by creating /lib/live/mount/medium/live/watermark.txt on a life system which got cloned when installing to or upgrading another stick by cloning.
Same when modifying an offline USB stick, booting it and then cloning it.
1st use case that came into my mind is watermarking a stick to get an idea of its distribution.

I consider it a risky behavior to rely on a safe, clean environment and just copy it. It reminds me of not checking input values of web forms.
Shouldn’t Tails installer rather only copy what it knows (ideally even checksum checked)?

Regards

Related issues

Original created by @mawo on 11388 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information