r/AlpineLinux • u/asdqascawd • Oct 25 '26
Alpine encryption
How can i right encrypt with cryptsetup diskless Alpine with persistence?
1
Upvotes
1
u/sky-shredder 5h ago
have you tried lbu with encryption, just enter your password when it boots
# cat /etc/lbu/lbu.conf
DEFAULT_CIPHER=aes-256-cbc
ENCRYPTION=$DEFAULT_CIPHER
PASSWORD=mypassword
LBU_MEDIA=lbu_partition1
u/asdqascawd 50m ago
im on way of creating on custom alpine build or smth like that smile 😄, if you have jabber or maybe just codeberg i can show you. its with already encryption + hardering, i wont mind if tou suggest me smth
2
u/wowsomuchempty Oct 25 '26
setup-alpinehas an option to setup full disk encryption.'Diskless with persistance' is confusing me a bit. Where do you want things to persist?