Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Encrypted Datasafe Notes

xauravwwxauravww10 downloads

AES-encrypt markdown notes with lock/unlock vault, auto-lock timer, right-click encrypt/decrypt, corruption recovery, search decrypt, status bar indicator, file explorer decorations, and password change.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

A fork of obsidian-protected-note with enhanced features.

Features

Core encryption

  • AES encryption — encrypts markdown files on disk using CryptoJS.AES with a SHA-256 hashed passphrase
  • Dynamic ribbon icon — lock/unlock toggle with a Lucide-style SVG that changes visually when vault is locked vs unlocked
  • Status bar indicator — shows 🔒 Locked / 🔓 Unlocked in the status bar
  • Lock on window blur — automatically locks the vault when the Obsidian window loses focus
  • Auto-lock (seconds) — locks after a configurable number of seconds of inactivity

File operations

  • Right-click encrypt/decrypt — encrypt or decrypt any single .md file via the file explorer context menu (password prompt shown if vault is locked)
  • Bulk lock/unlock — encrypt/decrypt all files in the configured folder at once via ribbon click or commands
  • Protected folder — restrict bulk operations to a specific folder, or leave empty to protect the entire vault

Settings

  • Enable/Disable password — toggle encryption on/off with password confirmation
  • Change password — update your vault password (re-encrypts all files with the new key)
  • Protected folder — choose which folder to protect
  • Auto-lock (seconds) — idle timeout before automatic lock
  • Lock on window blur — lock when window loses focus
  • Decrypt on unlock for search — keeps files decrypted after unlock so Obsidian's search can index them
  • Show animations — toggle modal and background blur animations
  • High files protection (beta) — always-at-rest file encryption

File explorer integration

  • Encryption indicators — files in the protected folder show a colored left border and lock icon when the vault is locked (updates dynamically as you expand/collapse folders)

Recovery & diagnostics

  • Scan encryption status — shows encrypted vs plaintext file count with double-encryption warnings
  • Fix double-encrypted files — detects and recovers files encrypted twice (corrupted state)
  • lockctl.py — terminal-based recovery script with lock/unlock/recover/status functions
  • Auto-migration — seamlessly imports settings from the original protected-note plugin on first run

Hotkeys (set in Obsidian Settings → Hotkeys)

  • Lock vault
  • Unlock vault
  • Show encryption status
  • Recover corrupted files
  • Encrypt this file
  • Decrypt this file

Commands

Command Description
Lock vault Encrypt all files in the protected folder
Unlock vault Decrypt all files (password required)
Show encryption status Quick summary of file encryption state
Recover corrupted files Detect and fix double-encrypted files

Emergency Recovery Script

If files get corrupted (e.g., double-encrypted), run the Python recovery script:

cd /path/to/your/vault
python3 scripts/lockctl.py

The script auto-detects the vault and provides lock/unlock/recover/status functions. It uses the same AES encryption as the plugin.

Installation

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Copy them to <vault>/.obsidian/plugins/encrypted-datasafe-notes/
  3. Enable the plugin in Obsidian settings → Community plugins

Building from source

npm install
npm run build

License

MIT — based on obsidian-protected-note (MIT) by Mikail Gadzhikhanov.

83%
HealthGood
ReviewSatisfactory
About
Encrypt Markdown files on disk with AES using a password and toggle vault lock from a dynamic ribbon icon or status bar indicator. Lock automatically on window blur or after idle, encrypt/decrypt single files from the file explorer or bulk-lock a protected folder, and scan or repair double-encrypted files with built-in recovery tools.
FilesStatus barCommands
Details
Current version
2.1.0
Last updated
2 days ago
Created
3 days ago
Updates
1 release
Downloads
10
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
xauravwwxauravwwxauravww
GitHubxauravww
  1. Community
  2. Plugins
  3. Files
  4. Encrypted Datasafe Notes

Related plugins

Better Word Count

Count the words of selected text in the editor.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Local REST API & MCP Server

Unlock your automation needs by interacting with your notes over a secure REST API.

QuickAdd

Quickly add new notes or content to your vault.

Recent Files

Display a list of recently opened files.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Claudian

Embeds Claude Code/Codex as an AI collaborator in your vault. Your vault becomes agent's working directory, giving it full agentic capabilities: file read/write, search, bash commands, and multi-step workflows.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.