Skip to content

kkpan11/obsidian-encrypt

 
 

Repository files navigation

Obsidian Encrypt Plugin

Create encrypted notes within your Obsidian.md vault.

Encrypted notes are never decrypted to disk giving you peace-of-mind that the decrypted contents haven't been sync'd or backed up to external systems.

⚠️ WARNING - Use at your own risk ⚠️

  • Your passwords are never stored anywhere, if you forget your passwords you can't decrypt your notes.
  • No known audits have been undertaken for the soundness of encryption methods being used. Unwanted decryption by a 3rd party may be possible if they have access to your files.
  • Bugs could be introduced to the software at anytime, you are responsible for having backups of your notes.

⚜️ Installation

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

⚜️ Latest Changes

Please visit the Change Log for a listing of changes.

Report any bugs or feature requests here.

⚜️ Usage

Whole encrypted notes (.mdenc files)

To create a new encrypted note

  1. Select 'Create encrypted note' from the command palette (or click the ribbon icon).
  2. Enter and confirm a password and optional hint to use.
  3. Edit your encrypted note (it's contents will be encrypted and saved to disk).

To edit/view an encrypted note

  1. Open the note as usual from the navigation tree.
  2. Enter the password for the note.

To change an encrypted note's password and hint

  1. Open the note as usual from the navigation tree.
  2. Enter the password for the note.
  3. Click the 'Change Password' icon from the tab title bar or tab context menu.
  4. Enter the new password and hint.

To encrypt/decrypt an existing note

  • Right-click the file and choose 'Encrypt note' or 'Decrypt note'.

OR

  • Select the ribbon icon named 'Convert to or from an Encrypted note' to toggle the active file between encrypted and not.

OR

  • Select 'Convert to or from an Encrypted note' from the command palette (or even better, bind a hot key)

In-place Encryption

To encrypt selected text

  1. Select some text to encrypt

Note: A partial selection will be expanded to include the whole line if the 'Expand selection to whole line' setting is enabled.

  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 and optional hint.

  2. Your selected text should now be encrypted.

Your selected lines are now encrypted

How to reveal your encrypted text

  1. Place your cursor anywhere on encrypted text.

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 (any syncing or backup software could then pick this up).

  1. 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 in a dialog window.

Your decrypted text is revealed

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

⚜️ Settings

Confirm password Confirm password when encrypting (recommended)
Remember password Remember the last used password for this session.
Remember Password Timeout The number of minutes to remember the last used password.
Remember Password Using Remember session passwords by using Vault, Folder or File matching

Whole note encryption

Default view for new tabs The default view that a new encrypted note tab gets opened in

In-place encryption

Expand selection to whole line Partial selections will get expanded to the whole line
By default, show encrypted marker when reading When encrypting inline text, should the default be to have a visible marker in Reading view

About

Hide secrets in your Obsidian.md vault

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.9%
  • HTML 4.6%
  • JavaScript 2.5%
  • CSS 1.0%