This PR also adds a migrate function that allows moving from the previous layout to the new layout.
The migrate function cannot by itself know if the migration has been done. I would probably have it done by the Admin App, through a "privilegded" syscall, since the admin app is loaded first and can keep track of whether the migration has already been done.
This PR removes the
dat
folder used byClientFilestore
that wastes a lot of space on the filesystem.Depends on https://github.com/Nitrokey/trussed/pull/34
This PR also adds a
migrate
function that allows moving from the previous layout to the new layout.The migrate function cannot by itself know if the migration has been done. I would probably have it done by the Admin App, through a "privilegded" syscall, since the admin app is loaded first and can keep track of whether the migration has already been done.