for encryption.
It's supposed to be used when alphaOS is booted with fresh.
cryptosave then fools alphaOS to believe it is in usbmode and encrypted
savefile is loaded as if in usbmode. There is no automatic save but data in
RAM is saved when pressing save-session button on desktop. If alphaOS is rebooted
without performing "cryptosave d changes.img" data will be saved when OS is closing down.
Download: cryptosave.sb
The script is based on cryptobox from AUR.
To create a LUKS container:
Code: Select all
cryptosave c changes.fs4
the output will be a file called changes.img that is encrypted.
This file can be activated in alphaOS by
Code: Select all
cryptosave a changes.img
and dectivated with
Code: Select all
cryptosave d changes.img
cryptosave uses a modified /usr/bin/bundle to work
(included in cryptosave.sb)
Only thing i changed is bundle-->bundle_activate() line: 128
from
Code: Select all
exit 0
to
Code: Select all
# exit 0
and
bundle-->bundle_deactivate() line: 162
from
Code: Select all
exit 0
to
Code: Select all
# exit 0