meld-cp / obsidian-encrypt

Hide secrets in your Obsidian.md vault
MIT License
607 stars 36 forks source link

Please provide an option to encrypt full pages in obsidian #13

Closed skillhacker-code closed 2 years ago

skillhacker-code commented 3 years ago

Please provide an option to encrypt full pages in obsidian .

I don't need encryption ,just password protection so that no one who uses my computer can access a particular note , Kanban or mindmap

knightlightdigital commented 3 years ago

I would also love this capability, and would add that it would be awesome to encrypt files and folders. A use case would be for keeping a private journal inside a dedicated folder. Thank you for considering this!

meld-cp commented 3 years ago

Unfortunately, there isn't a secure way to do this that I know of. Since we are working directly on the files on disk, when you decrypt, it will be stored decrypted on disk and you will have to remember to re-encrypt your files before you close Obsidian. This makes for a sub-optimal user experience.

A better option would be to use a 3rd party app like https://github.com/cryptomator/cryptomator

702573N commented 3 years ago

I also don't need password protection for folders or files. But an option in MELT ENCRYPT to encrypt the full text (without text-selection) within a note would be great.

meld-cp commented 3 years ago

Thinking about this further, I could implement another command to encrypt the whole page. But decryption will always be inplace and directly to disk. Which means if you have any syncing of your vault running, the decrypted file would also get synchronised.

It would be up to the user to manage this and make sure they remember to re-encrypt the page once they are done editing.

Would this still be useful?