Skip to content

Shazoo/obsidian-encrypt

 
 

Repository files navigation

Obsidian Encrypt Plugin

Hide secrets in your Obsidian.md notes.

This plugin allows you to encrypt portions of text so you can store sensitive details within and alongside your notes.

Under the hood it uses the Advanced Encryption Standard (AES) in GCM mode.

WARNING: Use at your own risk.

  • Your passwords are never stored anywhere, if you forget your password you can't decrypt your text.
  • There haven't been any audits for the soundness of encryption methods being used. Unwanted decryption by a 3rd party may still be possible if they have access to your files.

Usage

How to encrypt text

  1. Select the text lines to encrypt

Select the text lines to encrypt

Note: Partial selection is ok, it will be expanded to include the whole line.

  1. Run the Encrypt/Decrypt command from the palette (or bind a keyboard shortcut to it)

Run the Encrypt/Decrypt command

  1. Enter and confirm a password to use

Enter a password to use

  1. Your selected lines are now encrypted

Your selected lines are now encrypted

How to reveal your encrypted text

  1. Place your cursor on the encrypted line

Place your cursor on the encrypted line

  1. Run the Encrypt/Decrypt command from the palette

Run the Encrypt/Decrypt command

Note: If you choose 'Encrypt/Decrypt In-place' your text will be decrypted directly into the editor without showing the dialog in step 4 below.

  1. Enter the correct password

Enter the correct password

Note: Your previously used password is filled in by default (You can change this in the plugin settings).

  1. Your decrypted text is revealed

Your decrypted text is revealed

Note: Click 'Decrypt In-place' to replace the encrypted text in the editor.

Settings

Your decrypted text is revealed

Installation

You can install the plugin via the Community Plugins tab within Obsidian by searching for "Encrypt"

Do you find this plugin useful?

Thank you for your support 🙏

About

Hide secrets in your Obsidian.md vault

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.2%
  • TypeScript 8.3%
  • CSS 0.5%