this post was submitted on 30 Jun 2023
7 points (100.0% liked)

Free and Open Source Software

18294 readers
267 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

I have a bit of data that has to be encrypted and stored into a file so that it can be moved across file systems and possibly OSes. Disk encryption like dm-crypt and a loop device isn't appropriate as it may not exist on another OS.

It's been a very long time since I needed this sort of software. More than a decade ago I used TrueCrypt. I know that VeraCrypt is the current re-incarnationn of the project. Is that still the go-to software for this sort of application? Is there something else that's popular these days?

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 2 years ago

Zip the file(s), then GPG symmetric encryption/decryption with AES. Nothing fancy.

[–] Nsh 6 points 2 years ago (2 children)
[–] [email protected] 3 points 2 years ago

Yes highly recommend Veracrypt.

[–] maino82 2 points 2 years ago

Seconded. Veracrypt is great with lots of flexibility in how you can do the encryption, good documentation, support for passwords and keyfiles, the ability to mount encrypted files as drives, etc... Great software.

[–] [email protected] 4 points 2 years ago

I use gocryptfs, i like having both CLI for scripts and its got GUI built into KDE Plasma's Vault feature

[–] [email protected] 3 points 2 years ago

If you're comfortable on the command line, you can use good old GnuPG to encrypt a file. There are binaries available for Windows too.

[–] [email protected] 3 points 2 years ago

I'd recommend encrypted archives. Like using 7z/7zip to encrypt files.

[–] [email protected] 2 points 2 years ago

I personally use Cryptomator, which does on-the-fly data encryption/decryption, allowing you to mount the encrypted data as a "drive" which from the user's perspective looks like any other data drive.

[–] [email protected] 2 points 2 years ago

I do use gocryptfs on my Linux machines (syncing via nextcloud) and access on my Android device using DroidFS

[–] [email protected] 2 points 2 years ago

I like securefs and use it with sirikali. It doesn't use a single container but encrypts the files and names.