A CLI tool written with CLAP for easy encrypting/decrypting .md files in a folder. Meant to be used to lock/unlock Obsidian vaults.
-
Clone this repo
git clone https://github.com/Dhanushkmr/rust_md_encrypt/
-
Open the repo
cd rust_md_encrypt
-
Build it!
cargo build --release
-
Add to your binaries
cargo install --path .
-
Go to your obsidian Vault
cd <PATH-TO-OBSIDIAN-VAULT>
-
To encrypt:
vault <KEY> encrypt
orvault <KEY> e
!!! Do not forget your key (support for environment variable coming soon!) !!!
- To decrypt:
vault <KEY> decrypt
orvault <KEY> d