/obsidian-inline-encrypter

Inline Encrypter plugin for Obsidian

Primary LanguageTypeScriptMIT LicenseMIT

Obsidian Inline Encrypter Plugin

Overview

Encrypt your secrets in the Obsidian.md notes.

This is a simple plugin for encrypting the text in Obsidian notes just inline. It was inspired by Obsidian Encrypt Plugin.

⚠️ WARNING: Use at your own risk. Your passwords are never stored anywhere. If you forget your passwords you can't decrypt your notes. Do not give access to your files to a third party to avoid possible decryption of data.

You can encrypt all the text in a note, as well as parts of it, such as the contents of lists, tables, etc. The encrypted value is saved directly in the note as a block of code and appears as a button in reading mode.

Edit mode:

Editing mode

Reading mode:

Reading mode

Live Preview mode is also supported.

Usage

Encryption

  1. In edit mode select text you want to encrypt.

  2. Run Encrypt selected text from command palette.

Commands

  1. Enter the password for encryption.

  2. You can also run Encrypt selected text as code block command for encrypting into common code block.

Decryption

  1. To see the decrypted value without decrypting it in the text of the note, simply click on the button in reading mode.

Button

  1. Enter the password for decryption.

  2. To decrypt a secret in the text of a note, select the entire code block in edit mode.

Selecting secret in inline code block

Selecting secret in common code block

  1. Run Decrypt selected text from command palette.

  2. Enter the password for decryption.

Technical Notes

Encryption algorhytm is aes-256-gcm. Salt and IV are unique and random.