Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

cypherpunks, to linux in Is there a tool to real-time encrypt folders?
@cypherpunks@lemmy.ml avatar

tomb looks like a nice wrapper around LUKS but it doesn’t appear to support creating a sparse file, so, it will immediately use however much space you allocate to it.

(I think it doesn’t support a sparse backing file because I searched the word “sparse” on their github, and for the word “seek” (which is the dd argument for creating a sparse file) in the tomb bash script, and both searches yielded no results.)

cypherpunks, to linux in Is there a tool to real-time encrypt folders?
@cypherpunks@lemmy.ml avatar

that creates encrypted archives, but doesn’t provide a mountable filesystem (which is what OP means by “real-time”).

cypherpunks, to linux in Is there a tool to real-time encrypt folders?
@cypherpunks@lemmy.ml avatar

You have a few options.

My preferred way is to create an encrypted disk image using LUKS, backed by a sparse file. Sparse means that, while you’ll still need to specify a size for the encrypted volume, it won’t actually use the space on the underlying disk until you use the space on the encrypted volume. You could even make the encrypted volume bigger than your physical disk (though of course you’d get an error if you tried to actually use that extra space).

There are a few ways to setup a LUKS container; if you want to learn how to do it manually, this howto i just found looks like a good overview of the steps (though I wouldn’t recommend doing its final Setup auto mount section).

These days, you can also create a LUKS volume on a sparse file entirely using a GUI such as the GNOME Disks program. Using it, just click the hamburger menu and select “New Disk Image” and then with your new disk image selected click the gears menu and “Format Partition” and there should be a checkbox for LUKS on that screen. If you leave “Erase” turned off (which is the default), then the backing file will be sparse.

One downside to the sparse disk image approach is that when you delete files from the encrypted volume you will not regain that space on the outer disk automatically. It is possible to, but requires work to do so which I won’t try to document here.

Another approach which doesn’t have that downside is to use eCryptfs instead of LUKS. It stores each encrypted file separately (with an encrypted name) and thus doesn’t hide the directory structure or file sizes - only directory and file names and file contents are encrypted. It also appears to have not been updated since 2016, but, it is still included in various distributions so it is also an option. You can read about how to use it (and other caveats about it) on the arch wiki.

cypherpunks, (edited ) to risa in Ah, Kirk, my old friend...
@cypherpunks@lemmy.ml avatar
cypherpunks, (edited ) to risa in I wonder if you can roll back the miles on a starship?
@cypherpunks@lemmy.ml avatar
cypherpunks, to risa in The Wreath of Khan
@cypherpunks@lemmy.ml avatar
cypherpunks, to memes in Why though
@cypherpunks@lemmy.ml avatar
cypherpunks, to risa in This is a PSA
@cypherpunks@lemmy.ml avatar

obligatory link to Voyager Audition

cypherpunks, to linuxmemes in big deal
@cypherpunks@lemmy.ml avatar
cypherpunks, to linuxmemes in big deal
@cypherpunks@lemmy.ml avatar

it can has if you apk add coreutils

cypherpunks, to linuxmemes in Distros bad
@cypherpunks@lemmy.ml avatar

see my other comment in this thread…

cypherpunks, (edited ) to linux in would it be illegal to download Ubuntu on a Chromebook?
@cypherpunks@lemmy.ml avatar

I think most chromebooks allow you to disable their boot security? some even allow you to re-enable it with different keys so that you can have a different trust anchor instead of google.

cypherpunks, (edited ) to linux in would it be illegal to download Ubuntu on a Chromebook?
@cypherpunks@lemmy.ml avatar
cypherpunks, to linuxmemes in Distros bad
@cypherpunks@lemmy.ml avatar
cypherpunks, to linuxmemes in Can you install thid 25 year old program?
@cypherpunks@lemmy.ml avatar

32-bit x86 Haiku OS: is only binary-compatible with a proprietary OS from 2 years ago

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #