Inline Encrypter

by Alexander Cheryomukhin
5
4
3
2
1
Score: 61/100

Description

Category: Privacy & Security

The Inline Encrypter plugin allows you to securely store sensitive information in your Obsidian notes by encrypting specific text or code blocks. With this plugin, you can protect your passwords, API keys, or other confidential data without compromising the integrity of your notes. The encryption process is seamless, and you can easily decrypt your notes using a password. The plugin also supports live preview mode, ensuring that your encrypted content appears as expected while still maintaining its security.

Reviews

No reviews yet.

Stats

50
stars
10,194
downloads
10
forks
915
days
14
days
14
days
15
total PRs
0
open PRs
0
closed PRs
15
merged PRs
20
total issues
3
open issues
17
closed issues
0
commits

Latest Version

14 days ago

Changelog

Fix for Ctrl-key on Mac.

README file from

Github

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. Buttons for secrets decryption are clickable in Live Preview mode.

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.

  3. There is possibility to insert pre-encrypted text. Run Insert pre-encrypted text.

Insert pre-encrypted text

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

You can also just set the cursor inside encrypted block.

Selecting secret in block

  1. Run Decrypt selected text from command palette.

  2. Enter the password for decryption.

When the Ctrl key is pressed, the secret will not be shown on the screen; it will be copied to the clipboard immediately.

You can also use context menu (right click) to choose decryption method.

Choosing decryption method from context menu

Decryption outside Obsidian

You can use external decryptor tool to decrypt secrets outside Obsidian: tools/decrypt.html. It's just one HTML file which you can open in your browser.

Security Notes

  • Decrypted content is only held in memory
  • No automatic writing of decrypted content to disk; the only time a decrypted secret is written to disk is when you use the "Decrypt selected text" command
  • Passwords are never written to disk; they are kept only in memory
  • Makes encryption with a given passphrase, if you lose your passphrase, you lose your data

Technical Notes

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

Donations

You can make any donations: