Encryption similar to Joplin

Use case or problem

Currently, Obsidian works on the .md files directly. It would be great if they are encrypted locally as Joplin provides.

Proposed solution

Encrypt the vault folder using a Master Encryption password. On opening the vault it should require for a password with the ability to remember password or not prompt for it again to decrypt content.

Work on your vault, on exiting the vault it should automatically encrypt the raw .md files.

So, that raw .md are not susceptible to any kind of privacy violations later in future or may be useful for ones threat model.

Current workaround (optional)

Encrypt the vault folder using Veracrypt or cryptomator and decrypt the data only when you use Obsidian.