Live data from Hacker News

Ask HN: What Do You Use for Linux Full Disk Crypto?

news.ycombinator.com

1–10 of 51 posts

Re: Ask HN: What Do You Use for Linux Full Disk Crypto?

#2
LUKS + Clevis and Tang does all that you want. http://www.admin-magazine.com/Archive/2018/43/Automatic-data... There's no way to prevent a determined user with root access from removing a key, except maybe some kind of locked down trusted boot scenario which will undoubtedly create more problems than it solves.

Re: Ask HN: What Do You Use for Linux Full Disk Crypto?

#4

I wish it was so easy as on MacOS or Windows - where you can essentially turn it on with one button. I don't think enabling encryption on an existing installation of Linux can be done without reinstalling or a lot of work.

Ackchually, enabling full disk encryption via LUKS is rather easy on Manjaro. It's literally a button that states "use full disk encryption" as part of the setup wizard. You then enter a password and that's it.

The tricky bit is if GRUB breaks (hint: GRUB looks for every opportunity to break. If it can break, it will) and you have to chroot into an encrypted LUKS partition. That's where your average user will be SOL. Not sure how the recovery process would work for Bitlocker or FileVault.

Re: Ask HN: What Do You Use for Linux Full Disk Crypto?

#8

I wish it was so easy as on MacOS or Windows - where you can essentially turn it on with one button. I don't think enabling encryption on an existing installation of Linux can be done without reinstalling or a lot of work.

Ackchually, enabling full disk encryption via LUKS is rather easy on Manjaro. It's literally a button that states "use full disk encryption" as part of the setup wizard. You then enter a password and that's it. The tricky bit is if GRUB breaks (hint: GRUB looks for every opportunity to break. If it can break, it will) and you have to chroot into an encrypted LUKS partition. That's where your average user will be SOL.…

The parent was referring to doing it after the installation and he is right, it can't be done without serious hassle.

Re: Ask HN: What Do You Use for Linux Full Disk Crypto?

#9

I wish it was so easy as on MacOS or Windows - where you can essentially turn it on with one button. I don't think enabling encryption on an existing installation of Linux can be done without reinstalling or a lot of work.

on MacOS its pretty easy... i use it, i think? and Windows its relatively simple too since they added BitLocker in 10. i think every os supports it?

Re: Ask HN: What Do You Use for Linux Full Disk Crypto?

#10
>what do you use

luks

>what do you use to manage

cryptsetup

>prefer a more enterprise solution...

You have exotic needs, I doubt there is any open source solution that fits, you have to write your own.

You can start by reading this arch page: https://wiki.archlinux.org/index.php/dm-crypt/System_configu...

Post reply on HN