5 Commits

Author SHA1 Message Date
tomFlowee d046c171f6 New feature; add encrypt-at-rest
When a jail is encryted at rest using 'encfs' we detect that and ask for
a password upon starting the jail.

This sounded like a neat little idea which ended up taking nearly 4 days
to do...
EncFS needs to be running as root, as it is a FUSE system and it will
actually stop root from reading/writing files if it is running as a
user. It also is very picky about not running in a namespace, it manages
to hang indefinitely otherwise where a shutdown can't complete because
the process doesn't want to die :-)

So, it runs as root, takes the password via a pipe and we have a
watchdog proces to kill it when the jail is shut down.
2024-05-20 22:21:03 +02:00
tomFlowee 796a6fe2fc Write some high level overview API docs 2024-02-15 21:33:28 +01:00
tomFlowee e81cf7973f Fixlets and docs
Added plenty of small docs.
Changed the message to be pre-fixed with a message-size in order to allow
us to get interrupted on read() and know
if we need to read more.

Also fixes the bug that the server shuts down after one process as
reported by some.
2021-08-14 17:15:02 +02:00
tomFlowee 4d1e913d01 Make communication work better 2021-05-19 12:08:57 +02:00
tomFlowee b2fd26c471 First iteration that sets up IPC 2021-05-18 23:10:33 +02:00