I’m in the process of changing my note taking from Standard Notes to Obsidian, and I am trying to figure out how I can sync notes between my laptop and Android device with the notes encrypted. I thought I had the solution by encrypting with Cryptomator and syncing the encrypted vault with Syncthing. But I realized that Cryptomator on Android does not work by mounting a new drive like it does on Linux, so Obisidian could not access the unencrypted files. So now I am not sure where to go from here.
My requirements:
- Notes are synced both ways between laptop and phone
- Notes are encrypted at rest
- No usage of external cloud services
How do you go about syncing?
My only guess is that you could maybe use Termux to set up a gocryptfs mount that Obsidian could use, but I’m not sure if that would work or not.
gocryptfs
encrypts files physically on the drive, but exposes them unencrypted under a transparent logical mount.Edit: DroidFS uses
gocryptfs
in the backend, maybe that would be easier.Interesting. Would require the use of some of the unsafe features, but at first glance it does look like this could work.