Damus
oblick · 5w
A bootable USB OS makes much more sense than a portable binary, nice. Tails is a good reference for exactly what you describe: unplugging the stick triggers an emergency shutdown, and the data in RAM ...
SkyLords profile picture
Thanks for mentioning Tails. It sounds very close to what I am trying to achieve with SkySigner USB OS. I will definitely study how it handles USB removal and memory erasure.

The startup problems are a little different from UEFI or Secure Boot issues. I managed to boot the Debian-based USB system and even reached the vault creation screen. But then the computer unexpectedly shut down.

In another test I encountered an automatic login authentication failure for the skysigner user. I have been trying to diagnose these issues before moving on to the USB removal and memory protection features.

I also experimented with loading the OS into RAM using toram but I have not managed to get everything working reliably yet.

Your suggestions about LUKS and keeping the system read-only are useful. I also had not considered the risk of corrupting the vault when unplugging the USB during a write.

For now I am testing on an old netbook with limited hardware. My goal is to eventually make it work on different computers without requiring any installation on the host.
oblick · 5w
Tails is a good reference for that, glad it helps. One lead for the sudden shutdown, to check rather than a certainty: creating a LUKS2 vault runs Argon2id, which deliberately grabs a lot of RAM (benchmarked between 64 MiB and 1 GiB) and full CPU. On an old netbook, with toram also keeping the whol...