this post was submitted on 10 Oct 2023
53 points (98.2% liked)

Linux

48092 readers
923 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm vaguely interested in having a few different encrypted folders on my computer, with different passwords on each. I don't have any particular strong requirements. It's more of a velleity; mostly just to try it so that I know more about it.

That said, when I search for encryption options, I see a lot of different advice from different times. I'm seeings stuff about EncFS, eCryptFS, CryFS; and others... and I find it a bit confusing because to me all those names look basically the same; and it's not easy for me to tell whether or not the info I'm reading is out of date.

So figure I'd just ask here for recommendations. The way I imagine it, I want some encrypted data on my computer with as little indication of what it is as possible; and but with a command and a password I can then access it like a normal drive or folder; copying stuff in or out, or editing things. And when I'm done, I unmount it (or whatever) and now its inaccessible and opaque again.

I'm under the impression that there are a bunch of different tools that will do what I've got in mind. But I'm interested in recommendations (since most of the recommendations I've seen on the internet seem to be from years ago, and for maybe slightly different use-cases).

you are viewing a single comment's thread
view the rest of the comments
[–] TCB13@lemmy.world 1 points 1 year ago (1 children)

I need something that is able to encrypt single files - not an entire disk / partition / volume or a disk image. I'm using Syncthing on those encrypted files so having them as a partition or single file doesn't work out.

[–] Eideen@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (1 children)

On a folder level that is how I work both in Linux and windows.

For single use encryption the is also GPG.

https://devconnected.com/how-to-encrypt-file-on-linux/

Edit2:

With Syncthing there is options to use a / partition / volume or a disk image. I am assuming you are using a linux desktop.

You can use tools like LUKE with Systemd-homed, where the home folder is encrypted, that get mount at login, and Syncthing service get started after mount.

[–] TCB13@lemmy.world 1 points 1 year ago

Unless I'm missing something, what I need is something that I can point to a folder and say "this is encrypted" and it will mount an unencrypted version of that somewhere. What ECryptfs does is that it encrypts any file I place on the foder individually / doesn't create a single block of data that is hard to sync. GPG is file by file manually.