this post was submitted on 12 Nov 2023
8 points (100.0% liked)

ObsidianMD

4102 readers
1 users here now

Unofficial Lemmy community for https://obsidian.md

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[โ€“] [email protected] 2 points 1 year ago

Interesting. Would require the use of some of the unsafe features, but at first glance it does look like this could work.