Markdown, rendered
Write in Markdown and read it like a GitHub README: headings, checklists, tables, and code in framed boxes with syntax colours and a copy button. Links always ask before they open.
Bastion is a notepad for the things you can't afford to lose or leak — passwords, recovery codes, account details, private notes. Sort them into folders, write in Markdown and read it rendered. Everything is encrypted before it touches the disk, and only your master password opens it. Keep it on one computer, or sync it across your devices through a server that can't read it.
Every note is encrypted in memory and only ciphertext reaches the disk. A stolen laptop, a copied file or a leaked backup gives away nothing but noise.
No telemetry, ever. Keep your vault as a single file that never goes near the network, or sync it through a server that stores only what it can't read.
An offsite recovery key and encrypted backups mean a forgotten password or a dead drive doesn't take your notes with it.
Everything a plain notepad does, with the paranoia built in, so you don't have to think about it.
Write in Markdown and read it like a GitHub README: headings, checklists, tables, and code in framed boxes with syntax colours and a copy button. Links always ask before they open.
Keep work, personal and recovery codes apart. Pick a note up and drop it on a folder to file it; folders open, close and reorder the same way.
Give any note or folder one of nearly a hundred icons and a colour, and tag notes so search finds them. The icons are built in, so choosing one never touches the internet.
Shown once when you create your vault. Print it or put it on a USB stick kept somewhere else. It's your way back in if you forget the password.
Walk away and Bastion locks after the idle time you choose, wiping keys and text from memory. Or hit the orange lock, or Ctrl+L.
Copied secrets stay out of Windows clipboard history and cloud sync, and are wiped after 30 seconds, on lock and on exit.
The window shows up blank in screenshots, screen recordings and Teams or Zoom screen shares, so a stray share never shows your notes.
Export a copy to a drive, another PC or the cloud. It stays encrypted wherever it goes and restores in one click from the lock screen.
Search everything with Ctrl+K, and step back and forth through what you've opened. Type and Bastion encrypts and saves a moment after you stop. There's no Save button to forget.
Keep your vault on this computer and Bastion never opens a connection. Or keep it on a Bastion server and have it on your laptop and your desktop alike. The server holds your vault, but it only ever receives ciphertext. It never sees your password, and it can't read a single note.
Your password is stretched on your device, then split one way into a key that opens the vault and a separate key that signs you in. The server only ever gets the second, and it can't be turned back into the first.
Each device keeps an encrypted copy and unlocks from it, with or without a connection. Edits made on a plane go up the next time the server can be reached.
Changes from different devices are merged note by note. If the same note was edited on both, you keep both versions, one marked as a conflicted copy. A delete never wipes out an edit made elsewhere.
A revision number is sealed inside every copy, where the server can't touch it. A server trying to pass off an older copy of your vault is caught and refused.
Vaults are encrypted a second time on the server, under a key kept outside its database. Even with both, every password guess still costs 512 MiB of Argon2id, just like attacking a vault file.
The server is a small Rust program with its database built in. Run it with Docker behind nginx or Caddy on any machine you control.
No home-made cryptography and no vague promises. Bastion uses the same well-studied algorithms as modern password managers, and says exactly what they are.
Notes are sealed under a random 256-bit key. Change a single bit of the file and Bastion refuses to open it rather than hand back altered text.
Your master password is stretched with a memory-hard function, so every guess costs an attacker half a gigabyte of RAM. That's what stops GPU cracking.
Buffer overflows and use-after-free bugs are ruled out at compile time, and keys and text are wiped from memory when the vault locks.
HTTPS only. A self-signed server certificate is trusted only once you've checked its fingerprint, and your vault is sealed before it leaves your device. A build without sync has no network code at all.
What a thief would find. Illustrative file.
Keep your vault on this computer, or on a Bastion server to use it on all your devices. Then pick a master password: four or more random words are easy to type and hard to guess. It's never stored anywhere.
Save the recovery kit to a USB stick or print it, and keep it somewhere other than your computer. It's shown once, then it's yours to keep.
A welcome note shows you around. Then hit Ctrl+N and start typing. Every change is encrypted and saved automatically, and synced if your vault lives on a server.
Plain about the limits: Bastion protects your notes on disk, on screen and on the way to a server, but no app can protect them from malware already running on your PC while the vault is open. And nobody, not even the server, can reset a forgotten password: lose both it and your recovery key and the vault is gone. Keep your system clean and your recovery key safe.
Encrypted, private and recoverable, with folders and Markdown to keep it tidy. A single file for Windows 10 and 11, with nothing to install, and an optional sync server you can run anywhere Docker does.