I used to use ecryptfs to set up encrypted directories in linux, but apparently it's no longer recommended, developed, or supported, so I'm wondering about the current best practice.
I have a newbie friend who has made the jump to linux (debian+kde) (edit to add: I'm asking re: kubuntu here, but general info is welcome) and he wants to set up an encrypted directory to contain sensitive client data. We opted not to do full-disk/partition encryption on install because I thought it would be simpler to just have an encrypted dir somewhere... that might have been a bad call!
I've been looking into fscrypt.
Things I like:
- though still painful, not a terrible pain to set up
- PAM integration means he doesn't have to enter extra passwords or go to the CLI after login to access the data
Things I don't like:
- can't back up the folder when it is locked, which is basically a deal-breaker
I looked into LUKS, but that seems like a minor nightmare to get set up. I was tempted by this answer, though, which makes it look pretty simple, but I still have more to research...
Are there any other options? (I don't mean to whine; it's surprising how difficult this is to do on linux in 2024... I'd have thought by now that you could just right-click a folder in any file manager and say "encrypt with my login password", be able to back it up, etc.)
Thanks!
I have a newbie friend who has made the jump to linux (debian+kde) (edit to add: I'm asking re: kubuntu here, but general info is welcome) and he wants to set up an encrypted directory to contain sensitive client data. We opted not to do full-disk/partition encryption on install because I thought it would be simpler to just have an encrypted dir somewhere... that might have been a bad call!
I've been looking into fscrypt.
Things I like:
- though still painful, not a terrible pain to set up
- PAM integration means he doesn't have to enter extra passwords or go to the CLI after login to access the data
Things I don't like:
- can't back up the folder when it is locked, which is basically a deal-breaker
I looked into LUKS, but that seems like a minor nightmare to get set up. I was tempted by this answer, though, which makes it look pretty simple, but I still have more to research...
Are there any other options? (I don't mean to whine; it's surprising how difficult this is to do on linux in 2024... I'd have thought by now that you could just right-click a folder in any file manager and say "encrypt with my login password", be able to back it up, etc.)
Thanks!
Comment