SkyLords
· 4d
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...
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 whole system in RAM, that is the moment most likely to hit a limit: memory, or heat.
To narrow it down:
- test vault creation without toram first;
- boot without "quiet" and keep dmesg -w open on a second console: a "critical temperature" line would point to heat;
- try once with --pbkdf-memory 131072 (128 MiB), just as a test. If it passes, it is resources, not your code.
For the autologin: if you use Debian's live-config, the user is created at boot from username= (default "user"), so check that your boot line says username=skysigner.
Excuse my English, it comes with a French accent. Good luck with the tests.