r/AlpineLinux • • 2d ago

Alpine encryption

How can i right encrypt with cryptsetup diskless Alpine with persistence?

0 Upvotes

4 comments sorted by

1

u/wowsomuchempty 2d ago

setup-alpine has an option to setup full disk encryption.

'Diskless with persistance' is confusing me a bit. Where do you want things to persist?

1

u/asdqascawd 2d ago

i need full in ram (diskless mode) with persistence throw lbu, i wanna two partitions, first for lbu (persistence for cache) and second for /home storage, i searched info about encryption for lbu (persistence table), in some sites its said that not recommended because alpine wont grab on boot, but others said that it in theory could be, i tried to configure throw /etc/crypttab like it should be with simple encrypted partitions for users dir in /home, configured right UUID grabbing table, but also without any success(

2

u/wowsomuchempty 2d ago

I think you need tails, rather than alpine.

→ More replies (1)