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

Locky

Boink!Boink!1 downloads

Encrypt note contents at rest while keeping the title visible. Lock, unlock, or permanently decrypt notes with a vault-wide password or a per-note password.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Encrypt a note's contents while keeping its title visible. Locked notes stay as ordinary .md files — they show up in the file explorer, graph, and links by name — but their body is sealed with authenticated encryption until you unlock or permanently decrypt them.

Forked from danzar/Obsidian-Locker.

Features

  • 🔒 Lock / unlock individual notes via commands, the ribbon icon, or the file context menu.
  • 🔓 Permanent Decryption (Undo Initial Encryption):
    • Permanently decrypt a note — completely removes encryption, writes plain markdown back to disk, and removes the note from auto-lock registry.
    • Permanently decrypt a group of notes — right-click a folder or multi-select notes in File Explorer to permanently decrypt them in a batch.
    • Permanently decrypt the vault — undoes encryption for all vault-password notes across the entire vault with a single command.
  • 🗝️ Two key models:
    • Vault password — one password (cached in memory for the session) unlocks every note locked with the vault default.
    • Per-note password — lock a sensitive note with its own password.
  • 🧮 Strong crypto — PBKDF2 (SHA-256, 310k iterations by default) derives an AES-GCM-256 key. Each note gets a fresh random salt and IV, and GCM authentication means a wrong password fails cleanly instead of returning garbage.
  • ⏱️ Auto-lock — re-encrypt a note when you navigate away, after an inactivity timeout, and on Obsidian quit. The cached vault password expires after a configurable interval.
  • ✅ Encryption self-check — before a note's plaintext is overwritten, the freshly-made ciphertext is decrypted and compared to the original. If it doesn't match, the lock is aborted and the note is left untouched, so a faulty lock can never silently destroy content.
  • 🟡 Status-bar indicator — shows how many notes are currently unlocked (i.e. have plaintext on disk). Click it to lock everything at once.
  • 💪 Password-strength hint — a meter on the lock dialog nudges you away from trivial passwords.
  • 📄 Plain .md storage — the encrypted payload lives in a fenced ```locky block (with backward compatibility for ```locker), so locked notes still sync, back up, and version like any other note.

Installation

Obsidian Community Directory

Install directly from the official Obsidian Community Directory:

  1. In Obsidian, open Settings → Community plugins.
  2. Click Browse and search for Locky.
  3. Click Install, then Enable.

Manual install

Download main.js, manifest.json, and styles.css from the latest release and place them in <your-vault>/.obsidian/plugins/locky/, then enable Locky under Settings → Community plugins.

Beta testing with BRAT

Track pre-release builds by adding the repository in the BRAT plugin.

How a locked note looks on disk

---
locky: true
locker: true
locky-scope: vault
locker-scope: vault
---

> [!lock]- 🔒 Encrypted with Locky
> This note is locked. Run **Locky: Unlock note** (or click the ribbon lock
> icon) to decrypt it.

```locky
{"v":1,"alg":"AES-GCM","kdf":"PBKDF2","hash":"SHA-256","iterations":310000,"salt":"…","iv":"…","ct":"…","scope":"vault"}
```

The note's own frontmatter and body are encrypted together inside ct, so nothing of the original content leaks — only the filename stays readable.

⚠️ Security model — read this

This plugin gives you encryption at rest while a note is locked. Be aware of the tradeoffs of in-place editing:

  • While a note is unlocked, its plaintext is written to disk so you can edit it as a normal note. Auto-lock-on-close (on by default), the inactivity timer (5 min default), and a best-effort lock on quit shrink this window. If the app crashes or is force-quit while a note is unlocked, plaintext can remain on disk — on the next launch Locky detects this from a recovery ledger and prompts you to run Locky: Secure notes left exposed.
  • Permanent decryption undoes encryption permanently: when a note is permanently decrypted, it is restored as regular plain markdown on disk and will never be re-locked automatically.
  • There is no password recovery. Forget a password and the note is unrecoverable. Keep backups of anything important.
  • The vault password is held in memory only and never persisted. It is cleared on quit and after the "forget" timeout.

Usage

Action How
Lock the active note with the vault password Command Locky: Lock note (vault password) or the ribbon lock icon
Lock with a separate password Command Locky: Lock note with a separate password
Unlock the active note (temporary) Command Locky: Unlock note, ribbon icon, or file menu
Permanently decrypt active note Command Locky: Permanently decrypt note (remove encryption) or file menu
Re-encrypt all unlocked notes now Command Locky: Lock all currently-unlocked notes
Lock / unlock / permanently decrypt a folder Right-click a folder → Locky: lock / unlock / permanently decrypt all notes in folder
Lock / unlock / permanently decrypt selected notes Multi-select notes in File Explorer → Right-click → Locky: lock / unlock / permanently decrypt selected notes
Permanently decrypt entire vault Command Locky: Permanently decrypt every vault-password note in the vault
Lock / unlock the entire vault Commands Locky: Lock every note in the vault / Unlock every vault-password note in the vault
Clear the cached vault password Command Locky: Forget vault password (lock session)
Re-secure notes left exposed by a crash Command Locky: Secure notes left exposed (only available when needed)

Settings

  • Auto-lock on close — re-encrypt an unlocked note when you navigate away (default on).
  • Auto-lock after inactivity — minutes before an idle unlocked note re-locks (0 = off).
  • Forget vault password after — minutes the vault password stays cached (0 = until quit).
  • Key derivation iterations — PBKDF2 iterations for newly locked notes.
  • Verify before overwriting — round-trip-check each lock before replacing the note (default on; roughly doubles lock time).

Development

npm install      # install deps
npm run dev      # watch build -> main.js
npm run build    # type-check + production bundle
npm test         # run unit test suite

License

GNU General Public License v3.0 (GPL-3.0-or-later) © 2025-2026. See LICENSE.

HealthExcellent
ReviewSatisfactory
About
Encrypt note contents while keeping titles visible in the file explorer, graph, and links so notes remain plain .md files on disk. Lock and unlock notes individually or with a vault or per-note password, use AES-GCM-256 with PBKDF2-derived keys and per-note salt/IV, auto-lock on navigation/quit, and permanently decrypt notes, folders, or the whole vault.
FilesStatus barAutomation
Details
Current version
1.0.0
Last updated
4 hours ago
Created
7 hours ago
Updates
1 release
Downloads
1
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
GPL-3.0
Report bugRequest featureReport plugin
Author
Boink!Boink!boink
GitHubboinkdevteam
  1. Community
  2. Plugins
  3. Files
  4. Locky

Related plugins

Advanced URI

Control everything with URI.

QuickAdd

Quickly add new notes or content to your vault.

Vault Changelog

Maintain a changelog of recently edited notes.

Notebook Navigator

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

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Templater

Create and use dynamic templates.

BRAT

Easily install a beta version of a plugin for testing.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)