Ability to encrypt text

Ability to encrypt text.

8 Likes

Moved to Feature Requests, as I assume that’s what this is.

And I think I like the idea. Do you mind clarifying what you’re looking for, though?

may be create something like .secrets to have encrypted files stored in there using AES encryption with the desired password. To access the vault and edit the file - one will have to enter the password. Once the file is closed it is encrypted again.

3 Likes

Perhaps ‘encrypt’ is not the correct technical term to express what I had in mind.

I was thinking of simply being able to select text or part of a note (such as a sentence, a paragraph) and make it ‘unreadable’ unless one clicks on it and enters a password.

I was thinking more in terms of privacy (for example: when working around others), and not necessarily in terms of data security.

3 Likes

I would also like something like this, or even the ability to password protect a folder within the vault. In my case, this would be for personal journaling. At the moment I know it is possible to keep this in a separate vault (or a separate application), but I guess I like the philosophy of having everything in a single vault.

1 Like
  1. I think it is quite easy to encrypt and decrypt the text files
  2. After opening the vault user should type password
  3. After password is matching the text files should be decrypted
  4. If somebody open the text file in any text editor it should be just garbage character inside

Are there any plans to implement this feature in the near future?

If not, Is there any good external tool available for encrypting text files?

Currently stuck with Joplin for all my private encrypted notes. Would love to migrate those to Obsidian if this feature is implemented.

Many ways to encrypt a vault.
Individual files would be much more complicated because Obsidian’s functions (search,linking,graph) require all files in the vault to be read.

What would be the best way to encrypt a vault?

I don’t know about best, but one of the simplest is using a zip utility. Which leaves the vault portable.

Most OSs have the ability to encrypt folders. That’s pretty simple and built-in.

Something like https://cryptdown.eu/ would be sweet as a plug-in that prompts you for the password and then encrypts/decrypts a note directly in Obsidian’s edit mode.

4 Likes

Any alternatives to cryptodown ?

Would love to see built-in vault encryption, a useful feature so that a vault may be hosted on a cloud drive, but is only viewable by the owner, preventing bots and curious eyes from trawling through personal data.

Am also keenly awaiting encrypted vaults within Obsidian.

+1

Selective note encryption is a key missing feature.

I’m missing it for the exact same reason.

it could be that encrypted files are simply ignored, similar to hidden or unmounted partitions under Windows or Linux, etc.

I’ve had a good experience with encrypting specific folders of my vault (or, an entire vault) using Boxcryptor. A pin is requested at startup, and if I fail to provide it that folder doesn’t appear when I open Obsidian as all the .md files are encrypted into gibberish (with a different extension).