What is the best way to encrypt a USB drive that can be used on multiple OSes?

2 years ago by ninjaturtle to c/privacy

Not sure is this is the best place to post this question, but wondering what is the best way to encrypt a usb drive?

Want to be able to carry an encrypted flash drive with me but also be able to unlock it, if possible, on various OSes. Preferably with some kind of portable software. Something similar to the method that comes with the Kingston Data Traveler USB drives.

Edit: Seems like Veracrypt and Cryptomator are the best options to check out. Thank everyone!

Novi 50 points 2 years ago

Veracrypt. Make a file on your disk.

Don't want a storage file?

Make 2 partitions, put veracrypt portable exe on the first normal storage partition. (fat32 is likely ideal here) Second partition formatted with veracrypt.

path: 0 12048192, hotness: undefined, score: 50, children: 8
Deconceptualist 11 points 2 years ago path: 0 12048192 12050741, hotness: undefined, score: 11, children: 3
Novi 7 points 2 years ago

I would not just default to exfat because it is "newer," it does have compatibility issues on non-windows systems. The implementations differ wildly.

path: 0 12048192 12050741 12053445, hotness: undefined, score: 7, children: 1
Deconceptualist 2 points 2 years ago

Back when I used Windows, it worked fine for me out of the box between Win7 and both Ubuntu-based and Arch-based Linux distros 🤷

path: 0 12048192 12050741 12053445 12059855, hotness: undefined, score: 2, children: 0
PM_Your_Nudes_Please 1 point 2 years ago

I have had major issues with exFAT across a variety of platforms. But I also work with a bunch of niche gear. But my point is simply that being widely compatible isn’t the same as being fully compatible. And OP was asking for the best way to reach the widest compatibility. That calls for FAT32, even if it has issues with things like file size.

path: 0 12048192 12050741 12083926, hotness: undefined, score: 1, children: 0
scytale 6 points 2 years ago

+1 for veracrypt. Very convenient.

path: 0 12048192 12049735, hotness: undefined, score: 6, children: 0
curry 3 points 2 years ago

I make 1 single partition for the entire drive and encrypt it with veracrypt. Veracrypt has portable executables for windows and if I lose the flash drive in the worst case people will think it's a corrupted disk (unrecognized partition) and reformat them probably.

path: 0 12048192 12076960, hotness: undefined, score: 3, children: 0
PM_Your_Nudes_Please 1 point 2 years ago

This was my immediate thought as well. Portable launchers for the various OS’es on a tiny (just large enough to store the launchers) FAT32 partition, then a large FAT32 partition (the majority of the drive) encrypted by VeraCrypt. As long as it can read FAT32 and run VeraCrypt, it’ll be compatible. And that covers Windows, Linux, Raspberry Pi, and Mac ecosystems. It’s not as simple as just plugging it in and getting a password prompt, but it’s going to be the most compatible while still allowing for (nearly) the entire drive to be encrypted.

path: 0 12048192 12083870, hotness: undefined, score: 1, children: 1
Novi 1 point 2 years ago

👏👏

path: 0 12048192 12083870 12084218, hotness: undefined, score: 1, children: 0
rmtworks 9 points 2 years ago

Cryptomator might be a good option. They have clients for Windows, macOS, and Linux. It’s designed around encrypting your cloud storage but nothing should stop you from using it on a USB drive.

path: 0 12048161, hotness: undefined, score: 9, children: 1
mp3 6 points 2 years ago

That what I use, the key itself is formatted using ExFAT for compatibility with all major OSes, and using Cryptomator to encrypt the files.

path: 0 12048161 12048894, hotness: undefined, score: 6, children: 0
Extrasvhx9he 4 points 2 years ago

Yup Veracrypt is great even has a portable version that can be kept on the drive (might still need admin privileges though) so you won't have to install it on the system iirc . Would also go with cryptomator if you plan on using it with mobile systems but it has a one time payment for mobile.

path: 0 12050718, hotness: undefined, score: 4, children: 0
kali 4 points 2 years ago

Probably far from the best option; but you could use 7zip? Put a 7zip portable exe & linux binary on the usb, put the regular contents in an encrypted .zip file, anyone with the password can decrypt. I assume there are much more secure options though.

path: 0 12047813, hotness: undefined, score: 4, children: 2
possiblylinux127 3 points 2 years ago

Encrypted ZIPs are very trivial to break. I can break it with a simple python script.

For instance, Microsoft does that for all encrypted ZIPs

https://arstechnica.com/...

path: 0 12047813 12088821, hotness: undefined, score: 3, children: 0
delirious_owl 2 points 2 years ago

7zip encryption is solid, but the problem with this is that you don't Mount 7zip, so you have to extract it. Once you extract encrypted files into a drive thats not encrypted, they may as well never have been encrypted in the first place.

Its better to use a tool that creates an encrypted filesystem that you can mount and read-write directly without copying the files onto another disk

path: 0 12047813 12061504, hotness: undefined, score: 2, children: 0
lostinasea 1 point 2 years ago

The best option is going to be a USB drive that has an external key entry feature. Kingston IronKey has these and its as simple as enter a key and plug in. I use them at work and it works on all the major OSes. They're not cheap though so if you want or are looking for a free solution then something like VeraCrypt portable and an encrypted container will be your next best option.

path: 0 12048605, hotness: undefined, score: 1, children: 6
delirious_owl 0 points 2 years ago

Ooff, terrible advise

path: 0 12048605 12061494, hotness: undefined, score: 0, children: 5
lostinasea 5 points 2 years ago

How about you tell me why instead of just saying "TeRribLe AdViSe."

path: 0 12048605 12061494 12066686, hotness: undefined, score: 5, children: 4
delirious_owl 1 point 2 years ago

Because historically when FDE is done in hardware there's been massive compromises. FDE is better done in software. Its more secure.

But, sure, there's no shortage of companies trying to sell you shitty hardware thats "100% secure" (which is a major red flag)

path: 0 12048605 12061494 12066686 12077291, hotness: undefined, score: 1, children: 3
lostinasea 1 point 2 years ago

Nothing is 100% fool proof. Hardware or software encryption both have their issues. Case in point, Truecrypt (on which VeraCrypt is based) had a few issues that ultimately led to its demise. Hardware devices (I saw mention of one SSD maker) a few or years ago would store keys on the device that could be read off. So you're going to have to give me a source for "FDE is better done in software. It's more secure" beyond "just trust me bro."

path: 0 12048605 12061494 12066686 12077291 12087423, hotness: undefined, score: 1, children: 2
pna 1 point 2 years ago path: 0 12089902, hotness: undefined, score: 1, children: 0
subpar_nsfw 0 points 2 years ago

Get a Kingston IronKey. I have personally used the D500S. This is an off the shelf solution so it is a bit pricy. But it does look like they have lower versions in the same product line. Maybe you will find something that fits your budget.

path: 0 12062656, hotness: undefined, score: 0, children: 0
privacy
privacy

@lemmy.ml

login for more options
51414
5293
5096

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

  • Posting a link to a website containing tracking isn't great, if contents of the website are behind a paywall maybe copy them into the post
  • Don't promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

much thanks to @gary_host_laptop for the logo design :)

go to feed...