News for hackers. Stuff that matters.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by 8fingerlouie on Monday October 02, 2023 @04:18AM (#37735299)
I've used countless encryption "schemes" over the years, from True/Vera-Crypt to encrypted sparse bundles/images, and none have ever really felt right.

These days i tend to use Cryptomator[0] instead. It accomplishes what none of the others could do, which is transparent encryption across devices.

With Cryptomator, i simply create a vault somewhere in the cloud, stuff data in it, and i can access it from my laptop, phone or tablet, and not think much about it. It integrates into the normal file browsing APIs, and doesn't get in the way.

Because it does "per file" encryption, it also doesn't need to download a 20-100MB chunk from the cloud before decrypting, so it's rather fast (depending on file size of course).

Cryptomator is also open source[1], and free on the desktop, though the mobile apps costs a one time fee.

[0]: https://cryptomator.org/

[1]: https://github.com/cryptomator

Re:VeraCrypt: Free, open source, disk encryption for Windows... by akvadrako on Monday October 02, 2023 @04:54AM (#37735583)
Gocryptfs is another alternative in the same vein. I've switched to it from Cryptomator as it has better Android support and is more ergonomic on the command line.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by alwyn on Monday October 02, 2023 @06:15AM (#37736201)
What I haven't found a solution for, is being able to synchronise and open a gocryptfs with cloud sync on Android. Dropbox/Drive/pCloud folders aren't directly accessible or mounted in Android. One work-around could be to export a zip of the folder from Dropbox/whatever, then extract and open that, but that's one-way.

Do you have a solution for this?

Re:VeraCrypt: Free, open source, disk encryption for Windows... by akvadrako on Monday October 02, 2023 @08:36AM (#37737298)
I use syncthing for this. But yeah it isnt ideal.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by chuckufarley on Monday October 02, 2023 @01:12PM (#37741224)
Likely won't be of much help with the cloud sync angle, but for CryFS and GocryptFS support in Droid, you might find DroidFS worth a look.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by alwyn on Thursday October 05, 2023 @10:16AM (#37778902)
Yep unfortunately the same still applies with DroidFS. Thanks though.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by didntcheck on Monday October 02, 2023 @04:55AM (#37735606)
I've not used it myself, but there's also CryFS [1]. It's file-level like EncFS or eCryptFS, but uses fixed-size and padded cypherfiles to avoid leaking details about your file structure. I'm not sure about Cryptomator, but with EncFS it would be relatively easy to infer that someone has, say, the Tor browser stored in it, by the size and shape of the encrypted files

[1] https://www.cryfs.org/

Re:VeraCrypt: Free, open source, disk encryption for Windows... by alwyn on Monday October 02, 2023 @06:11AM (#37736181)
I'm a fan of gocryptfs [1]/cppcryptfs (Windows implementation) [2], they also have a fairly unbiased comparison [3] with other solutions, including CryFS.

[1] https://nuetzlich.net/gocryptfs/

[2] https://github.com/bailey27/cppcryptfs

[3] https://nuetzlich.net/gocryptfs/comparison/

Re:VeraCrypt: Free, open source, disk encryption for Windows... by 8fingerlouie on Monday October 02, 2023 @06:40AM (#37736426)
CryFS (and gocryptfs) both suffer from the same lack of support on iOS, which Cryptomator has, which is the reason i'm sticking with it.

As for how it encrypts files, there is a description here : https://docs.cryptomator.org/en/1.5/security/architecture/#f...

Re:VeraCrypt: Free, open source, disk encryption for Windows... by riedel on Monday October 02, 2023 @10:50AM (#37738874)
Cool, I did not know it, and is a product from a master thesis at our university. Have to try it.

People complain about speed in the past : https://news.ycombinator.com/item?id=23469401

Is it usable?

Re:VeraCrypt: Free, open source, disk encryption for Windows... by 1696239517 on Monday October 02, 2023 @05:41AM (#37735965)
Looks very similar to the 'Crypt' remote offered by Rclone[0]

I use it to store 'per file' encrypted data on Dropbox. (I also keep a restic repository on there)

[0]: https://rclone.org/crypt/

Re:VeraCrypt: Free, open source, disk encryption for Windows... by 8fingerlouie on Monday October 02, 2023 @06:42AM (#37736445)
I have used rclone with crypt in the past, and it works well, but doesn't easily lend itself to being used from mobile devices, which is what led me to Cryptomator in the first place.

I don't want to rely on having a server running at home, which i can then connect to via VPN, in order to download encrypted stuff from the cloud. With Cryptomator i can simply download from the cloud and decrypt locally.

Re:VeraCrypt: Free, open source, disk encryption for Windows... by piaste on Tuesday October 03, 2023 @12:29AM (#37747996)
> I have used rclone with crypt in the past, and it works well, but doesn't easily lend itself to being used from mobile devices, which is what led me to Cryptomator in the first place.

Round-Sync for Android [0] is an app wrapper for rclone. I use that to upload my photos via plain SSH.

[0] https://github.com/newhinton/Round-Sync

Re:VeraCrypt: Free, open source, disk encryption for Windows... by Saris on Monday October 02, 2023 @02:19PM (#37742278)
Rclone doesn't work too well on mobile though, which is where cryptomator is really nice.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by 1696343940 on Tuesday October 03, 2023 @10:41AM (#37752612)
RCX on android[0] gives a reasonable experience for pecking at files (Also handles media streaming reasonably well and supports the Crypt remote mentioned in the sibling comment)

[0] https://github.com/x0b/rcx

Re:VeraCrypt: Free, open source, disk encryption for Windows... by arsome on Monday October 02, 2023 @07:18AM (#37736725)
I used to use similar per-file cloud solutions, but SyncThing has been better in every way, especially if you already have a server you want to sync to or can use as an encrypted endpoint.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by geek_at on Monday October 02, 2023 @09:17AM (#37737670)
A few years ago I was in a Arma3 Milsim group that hosted their own server.

Back then there was no automated way to sync plugins so we installed syncthing and told all users to install it too.

We put like 50gigabytes worth of addons on syncthing and the users were so much happier because since 50+ people were using this syncthing connection, everyone could download with full speed from the others as in contrast to the 100mbit/sec bandwith of the HTTP server we formerly used.

And nobody had to care about checking versions anymore, the syncthing folder was directly synced into the Arma3 plugin directory

Re:VeraCrypt: Free, open source, disk encryption for Windows... by jetbalsa on Monday October 02, 2023 @09:29AM (#37737809)
That is not a bad model if you completely trust the server owners. I feel there are more secure ways, but I suspect if a Arma3 server wanted to infect a machine with a bad mod they could. so the threat vectors are the same really.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by 8fingerlouie on Monday October 02, 2023 @02:27PM (#37742374)
I’ve used syncthing sporadically over the years, but it has had very bad iOS support whenever I’ve tried it.

Mobeus exists, but doesn’t integrate into the files app, and uses a lot of battery.

I also used Resilio Sync for years, but it appears to have more or less died out.

So when it came to finding a replacement I settled on using cloud native for synchronization, and simply put encryption on top, and for that, Cryptomator is great.

Re:VeraCrypt: Free, open source, disk encryption for Windows... by mdhen on Monday October 02, 2023 @06:34PM (#37745362)
I use CryFS combined with SyncThing, perfect solution for my needs. Have it set up on linux and android.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by BrandoElFollito on Wednesday October 04, 2023 @06:58AM (#37763388)
I tried many, many sync solutions (I self host a lot) but syncthing always looked weird to me.

One day I forced myself to actually configure it and, boy, what a wonderful product it is.

It takes some time before you have the eureka moment but then the flexibility of the tool us incredible.

It is hard to keep track of the links so I wrote https://github.com/wsw70/syncthing-map to ease the pain a little bit.

Re:VeraCrypt: Free, open source, disk encryption for Windows... by czei002 on Wednesday October 04, 2023 @01:49AM (#37761281)
Does Cryptomator also works over sftp? Does it supports concurrent edits to the same vault? Can't find much about it in the docs...
Re:VeraCrypt: Free, open source, disk encryption for Windows... by mock-possum on Thursday October 05, 2023 @02:32AM (#37775487)
Yep I use Cryptomator for when I want to sync a bunch of small individual files, and Veracrypt for big local archives. I forget whether I have cryptomator hooked up to Dropbox or google drive, but I’ve never had an issue with it.