Create encrypted notes within your Obsidian.md vault.
Encrypted notes are never decrypted to disk (unless you use the decrypt in-place feature) giving you piece-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.
You can install the plugin via the Community Plugins tab within Obsidian by searching for "Meld Encrypt"
Please report any bugs or feature requests here.
- fix encrypt/decrypt of notes don't update links (#118)
- add encrypt/decrypt of
.md
or.encrypted
notes #68 (via file context menu, ribbon icon or command palette, helps with #91, #103, #108, #114) - fix double blank line #107
- fix offline decrypt tool #111 (found in
/tools/decrypt.html
) - ribbon icon changes
- code refactor and clean up
- stronger encryption (thanks @brycx)
- fix #92 - Enable selection text in Reading view
- fix #93 - Encrypting text in-place in a table breaks
- follow 'readable line length' and 'show inline title' settings in encrypted notes
- update layout and styling
- enable spell check when editing
- add inline encrypted text marker (clickable) in reading view
(See more at the bottom of this page)
- Select 'Create encrypted note' from the command palette (or click the ribbon icon).
- Enter and confirm a password and optional hint to use.
- Edit your encrypted note (it's contents will be encrypted and saved to disk).
- Open the note as usual from the navigation tree.
- Enter the password for the note.
- Open the note as usual from the navigation tree.
- Enter the password for the note.
- Click the 'Change Password' icon from the tab title bar or tab context menu.
- Enter the new password and hint.
- 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)
- 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.
- Run the Encrypt/Decrypt command from the palette (or bind a keyboard shortcut to it).
-
Enter and confirm a password and optional hint.
-
Your selected text should now be encrypted.
- Place your cursor anywhere on encrypted text.
- Run the Encrypt/Decrypt command from the palette.
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).
- Enter the correct password.
Note: Your previously used password is filled in by default (You can change this in the plugin settings).
- Your decrypted text is revealed in a dialog window.
Note: Click 'Decrypt In-place' to replace the encrypted text in the editor.
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 passwords by using File Name or Parent Folder matching |
Default view for new tabs | The default view that a new encrypted note tab gets opened in |
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 |
Support further development of the plugin by...
Thank you for your support 😊
- Limited support for markdown in
.encrypted
notes - New setting to select the default view when opening
.encrypted
notes (Source or Reading)
- Auto decrypt note if password remembered
- Clear remembered password when re-locking file
- When changing password, remember it if 'remember passwords' is active
- Change wording for 'Remember Password Timeout' in settings
- Add new setting to remember password by parent folder path
- Code refactors
- fix creating encrypted note on mobile
- fix password remembered even when 'remember password' setting is unchecked
- add common password session cache
- also remember passwords for whole note encryption
- add password peek button
Due to popular demand, the encrypt in-place functionality is no longer scheduled for removal 🙄🥳.
Changes
- Code refactors
- UI clean up
- Update usage docs
Bug fixes
- fix large files can't be encrypted (#41)
- add 'Change Password' and 'Lock' actions to note tab context menu (#49)
To make encrypted notes more resilient, starting from v2.0.0, the plugin introduces a new .encrypted note.
The advantages of this new approach are:
- Your note contents are always encrypted on disk.
- Encrypted bytes are hidden away from the user making it difficult to accidentally corrupt the encryption and thus making the note un-decryptable.
- Encrypted notes are easily identifiable by their '.encrypted' file extension.
- Better workflow for editing encrypted notes.
⚠️ It is recommended that you change all previously inline encrypted text into the new encrypted note format.