

Make sure to install gnupg using apk add gnupg.As pulling involves overwriting parts of you existing vault, the local repository lets you rollback in case of an accidental pull.


Initialize a repository in /syncrepo and connect it to your chosen remote repository.Įncryption is done using tar to compress the vaults folder into a single file, and then using gnupg to encrypt the file.This is the repo that pushes/pulls encrypted files to/from the remote. git file so the folder is staged correctly. This will be a local git repo for rollbacks (see why it is needed later). Make a folders /obsidian and initialize a git repository.As the encryption is open source and cross platform you can decrypt your notes anywhere. I strongly dislike the idea of having my notes unencrypted on a hosting service like github so I extended the idea to support end-to-end symmetric AES256 encryption using gnupg on iSH.
