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).

  • liliumstar@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    What about veracrypt?

    It’s very easy to use and cross-platform. You can create a volume of arbitrary size, either as a file or using a device/partition, then mount it when you need it.

  • blind3rdeye@lemm.eeOP
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I appreciate all the comments and links, everyone. Thanks a heap. I feel like I’ve got a much stronger and up-to-date understanding of what’s available now.

    While checking out various links, I’ve found this detailed comparison provided by GoCrypt. It includes comparisons of features, encryption methods, and a couple of performance metrics. So that’s valuable information for decision making. I found the CryFS comparison page useful too, but that felt more about highlighting the advantages of their tool rather than a thorougher comparison of different tools.

    • TCB13@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Yes, until you’ve to build it from the source because… https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928956

      Unfortunately ECryptfs seems to be only one that supports inotify as the other popular solutions (gocryptfs, encfs, cryfs) are all FUSE based and it doesn’t seem to play very well with inotify. And cryptomator is another FUSE joke that will lead to data loss.

        • TCB13@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          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
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            1 year ago

            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
              link
              fedilink
              English
              arrow-up
              1
              ·
              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.

  • ouch@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    What’s your threat model?

    Personally I think full disk encryption with LUKS is the only worthwhile setup. Directory-based encryption software tends to be error-prone, and is much more vulnerable.

    • blind3rdeye@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      One advantage of directory-based encryption is for online backups. I use SpiderOak to backup some stuff, and so I can tell it backup my encrypted data without it ever seeing the unencrypted data. I don’t think that’s so easy with full-disk encryption. (I suspect only a handful people in the world still use SpiderOak, but the idea applies to whatever cloud backup thing you might use.)

      Similarly, it means I can lend a portable HDD to someone to share videos or something, but still have private stuff stored on there as well if I want to.

  • Evotech@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I personally use cryptomator https://cryptomator.org/

    Because I can use it regardless of the underlying file system and OS, you can set up different vaults and you can store these vaults in the cloud if you want so you can access your shit on any device

    • blind3rdeye@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I’m not sure what you mean by ‘good luck’ here. Perhaps you got some really cool random encryption blocks or something? In any case, I hadn’t heard of that one yet. So thanks for mentioning it.

      Their approach with separate key-files is probably a wise idea for serious security… but I don’t think I’m that serious right now.

      The puns in the commands feel like they are a style from the past. I don’t think people would do that in serious software made today. I guess this one has been around for awhile!

      • AbidanYre@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        I mostly just meant that it was easy to use and never lost or ate any of my data.

        I switched over to cryptomator because it lines up better with my use case, but I’ve heard rumors of it losing data, so I’m keeping a close eye on it for now.