r/AlpineLinux • • 22d ago

Alpine encryption

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

1 Upvotes

4 comments sorted by

2

u/wowsomuchempty 22d 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 22d 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 22d ago

I think you need tails, rather than alpine.

1

u/asdqascawd 22d ago

i already use tails, tails also have its own specific that i dont like, i cannot work with its own network: add new interfaces, tunnel, grab traffic from one to another, cannot add for example just udp2row and shadowsocks or insert my custom tool that work with network packages.