David Hurt7 downloadsCreate and edit encrypted Markdown notes with a passphrase and post-quantum key encapsulation.
Write a note in Obsidian Desktop and lock it with its own passphrase. The plugin is free, open source, and works offline without an account or subscription.
"Post Quantum" is a big name for a small plugin. I built this to make it easier for people who already use Obsidian to keep a few private notes encrypted on disk.
Use it for a handful of sensitive notes, such as passwords, backup codes, or recovery instructions. Each file has its own passphrase. You'll enter that passphrase every time you unlock the file, whether you're opening a different encrypted note or returning to one that has locked. That extra step makes the plugin a better fit for occasional access to secrets than for everyday notes across a vault.
You may have heard about recent discoveries in cryptography and the call to move faster toward post-quantum standards. While testing unreleased frontier AI models, researchers at OpenAI and Anthropic found weaknesses in some of the cryptography used on the internet. That work is part of why this project publishes its design and test results for others to review. Joint statement on recent advances in cryptography · Security notes and test scope.
This is an early preview. Take time to test it thoroughly with fictitious data until you feel comfortable using it. Independent security review is still pending. Feedback on what works, what is confusing, and what needs more testing is welcome.

.md_ file.When you unlock a note, the editor uses Obsidian's "Default editing mode" under Settings → Editor. If the setting is unavailable, the editor uses "Live Preview". In "Live Preview", headings, bold and italic text, and lists are formatted while you write. Click a task checkbox to update it. Markdown markers appear on the line you are editing. "Source mode" shows the Markdown as written. Both modes save the same encrypted file.
Memorize your passphrase and never share it. Use a different one for each note. Anyone who knows the passphrase and has the encrypted file can open it. If you forget it, you lose access to the note.
Choose six or more words independently at random from a large word list. Then invent a story or mental image that means something to you and helps you remember those words in order. Avoid using details from your life or a favorite quote as the passphrase itself. EFF guide to choosing and remembering random words.
Use a long, unpredictable passphrase. The 20-character minimum is a basic check. Anyone who gets a copy of the file can try guesses offline.
When you create a note, the passphrase meter checks for common words and patterns locally. Its labels, colored bars, and tips show how hard the phrase appears to guess. Personal information and familiar phrases can make a passphrase easier to guess than the meter estimates.
Before opening a note, Argon2id turns your passphrase into a key. Each attempt uses 256 MiB of working memory and makes three passes through that memory. Someone who has a copy of your encrypted file must do that work for each passphrase they try. Trying many guesses in parallel takes more memory. A long, unpredictable passphrase still matters because a good guess can work on the first attempt.
In one local Obsidian test, the JavaScript implementation of Argon2id took about 23 seconds to unlock a note. The time varies by device and by whether Obsidian can use the native implementation. That measurement describes the test device. An attacker using optimized software and hardware may test guesses faster. Plugin settings for Argon2id · Argon2 specification.
The plugin writes the note body to disk as encrypted data. File names, locations, timestamps, and approximate sizes are visible. While the note is unlocked, its text is in editor memory. Software with access to the session can read it, and the operating system can copy memory to disk through paging, hibernation, or crash dumps. Threat model.
The plugin uses Node's filesystem API to save encrypted .md_ notes. It checks that the note's destination is inside the vault, writes and syncs an encrypted temporary file next to the note, then replaces the previous file. This is the direct filesystem access shown in Obsidian's review. Save and recovery details.
While a note is unlocked on Windows or macOS, the plugin asks Obsidian Desktop to protect the entire window containing the note. Compatible Windows capture tools exclude the window or show it as black. Testing on a Mac is still pending, and macOS apps that use ScreenCaptureKit can still capture the window. An external camera, including a phone, can always photograph the screen. Electron's capture protection.
For important secrets, I recommend a dedicated vault. Keep this as its only community plugin and close other vaults before unlocking a note. A malicious plugin running in Obsidian can capture the passphrase you type or read the text while the note is unlocked. Using a dedicated vault this way reduces exposure to other plugins. Obsidian plugin security.
flowchart TD
F["Encrypted note on disk"] --> U["Unlock in Obsidian"]
P["Enter this note's passphrase"] --> U
U --> E["Read or edit the note in memory"]
E --> S["Encrypt the note before saving"]
S --> F
E --> L["Lock and clear the editor"]
Create the encrypted note before entering private content. Information previously saved in an ordinary .md note can remain readable in backups, sync history, trash, or Obsidian's File Recovery even after you remove the original.
.md_ files. If you synchronize your vault, check that your sync tool includes these binary files.You can paste into an unlocked note. The editor blocks copy and cut actions by default to prevent accidental copying.
To allow them, open Obsidian's settings, select "Just Simple Post Quantum Notes", and turn on "Allow copying and cutting while the file is unlocked and you are editing". Text you copy or cut can stay in your clipboard or clipboard history after the note locks. Other apps may read or sync it.

AES-256-GCM encrypts and authenticates the note. The file format also uses ML-KEM-1024, a NIST-standardized key encapsulation mechanism designed to resist attacks from future quantum computers. The passphrase protects all the key material needed to open the file. NIST standard for ML-KEM · How the file format works.
main.js, manifest.json, and styles.css from the 0.4.3 release on GitHub..obsidian/plugins/just-simple-post-quantum-cipher/. The .obsidian folder may be hidden in your file manager.You need Obsidian Desktop, Node.js 22.18 or later, and npm. From the repository directory, run:
npm ci
npm run check
Follow the same installation steps with the main.js, manifest.json, and styles.css files generated in dist.
Format specification, threat model, and review scope · Report a vulnerability privately.