Cryptsidian

by triumphantomato
Score: 46/100
favorite
share
Description
Category: Privacy & Security

The Cryptsidian plugin provides a robust solution for encrypting all files in your Obsidian vault using a password, ensuring your data remains secure and private. Designed for desktop use, the plugin encrypts notes and attachments directly on disk with AES-256 encryption, protecting sensitive information from unauthorized access. Users can easily encrypt and decrypt their vault through modals accessed via the command palette. The plugin is particularly useful for shared device scenarios, such as family or public computers. It automatically closes open files during encryption to prevent corruption and emphasizes the importance of password retention, as files are irretrievable without it. While offering strong encryption, the plugin is not audited for critical security use cases.

Stats
79
stars
14,084
downloads
5
forks
1,254
days
993
days
1,253
days
1
total PRs
0
open PRs
0
closed PRs
1
merged PRs
21
total issues
7
open issues
14
closed issues
0
commits
Latest Version
3 years ago
Changelog

Encrypt all files in your Obsidian.md Vault with a password.

Desktop-only.

README file from

Cryptsidian: Encryption for Obsidian.md

Encrypt all files in your Obsidian.md Vault with a password.


Three Warnings

  1. Backup the Vault - before running the plugin make a backup to save your data.
  2. Remember your Password - files cannot be recovered without your password.
  3. File Corruption - Do not open files in Obsidian.md (or other app) after encrypting them. Contents can become corrupted and irrecoverable. The plugin auto-closes all open notes to avoid accidental corruption.

👋🏾 New Project: OpenRelay

Want more privacy? Check out my new project: OpenRelay, a community-built, privacy-first VPN with provably no logs! Tech docs here.


Cryptsidian Installation & Use

You can install the plugin via the Community Plugins tab within Obsidian by searching for "Cryptsidian".

Manual Installation: Copy over main.js and manifest.json (from Releases) to your vault in this location: VaultFolder/.obsidian/plugins/cryptsidian/.

Git Clone: git clone this repository into VaultFolder/.obsidian/plugins/cryptsidian and npm install and npm run dev.

Use: open the command palette (cmd + P on mac) and type "cryptsidian" to bring up the encrypt and decrypt modals. To encrypt, select the encrypt modal and enter your password. To decrypt, select the decrypt modal and enter the same password.

If you use different passwords for encryption and decryption, your files will become corrupted.

Files remain encrypted (or decrypted) after the Obsidian app closes.


Usability

This plugin makes it dead simple to encrypt your vault with a user selected password, including all notes and files (e.g. attachments) in the vault directory. Useful for single device, multiple user situations, like a family computer or a shared computer lab.

It is desktop-only and has been tested on OSX and Linux. It should work on Windows but has not been tested.

This plugin has not gone through an independent security audit and should not be relied upon for critical security applications.

Future changes to the Obsidian API may break this plugin. Forward compatibility is not guaranteed.


Technical Notes

Files are encrypted and overwritten in-place on disk.

Encryption used is aes-256-ctr. A reasonable improvement would be using GCM instead to take advantage of AEAD.

Salt is static in the source code. IV is unique and random (and pre-pended to the file on disk). PBKDF is scrypt with default parameters, from the Node.js crypto API.

Password is required to posess sufficient entropy, but you can change the amount of entropy required in the hasEnoughEntropy function.

The backend functions are all in cryptsidian.mjs. The frontend interaction is in main.ts.

Unit tests can be run using mocha with npm install then npm test.

Code is well commented for readability.

Similar Plugins
info
• Similar plugins are suggested based on the common tags between the plugins.
Lock Screen
3 years ago by Eric Biewener
QuickShare
3 years ago by Maxime Cannoodt (@mcndt)
📝 An Obsidian plugin for sharing encrypted Markdown notes on the web. Zero configuration required.
Android nomedia
2 years ago by JakeisAwesome
When syncing Obsidian with Android you will see a lot of media associated with your vaults. This will add the .nomedia file to ever folder in your Vault.
HackerOne
2 years ago by neolex
A plugin to get our hackerone reports data into obsidian
gpgCrypt
a year ago by Tjado Mäcke
Seamlessly encrypts your notes using GPG. Supports smartcards for enhanced security! 🔒📝📎
Share Note
a year ago by Alan Grainger
Instantly share an Obsidian note with the full theme exactly like you see in your vault. Data is shared encrypted by default, and only you and the person you send it to have the key.
Remotely Secure
a year ago by sboesen
fork of remotely-save with security upgrades
Global Markdown Encryption
a year ago by shlemiel
a plugin for encrypting obsidian markdowns in-memory, single password based.
Global Proxy
a year ago by windingblack
🚀 Obsidian Global Proxy is an Obsidian plugin that makes it easy to configure web proxies and use proxies throughout Obsidian.
Evernote Decryptor
a year ago by rcmdnk
Obsidian Plugin for encrypted data imported from Evernote
GPG Encrypt
a year ago by Luis Jaramillo
Obsidian Plugin GPG Inline Encrypt
Password Protection
a year ago by Qing Li
This is a password plugin for protecting your private notes and diary, no encrypt, no decrypt.
Differential ZIP Backup
a year ago by vorotamoroz
Password Protect
a year ago by Aspharmyx
Crypt It
a year ago by fyears
Obsidian plugin allowing users to right click on a file to generate an encryption version of the file using a password.
NSFW filter
9 months ago by catvatar
Obsidian Plugin adding a button to toggle visiblity of NSFW notes
Harper
8 months ago by Elijah Potter
File Share
7 months ago by muckmuck
A lightweight obsidian.md plugin for sharing files between multiple vaults
Ledger
4 years ago by Tony Grosinger
Plain text accounting in Obsidian.md
Meld Encrypt
4 years ago by meld-cp
Hide secrets in your Obsidian.md vault
Privacy Glasses
4 years ago by Jill Alberts
Privacy Glasses plugin for Obsidian. Preserve your privacy while working in public!
Garble Text
4 years ago by kurakart
Obsidian plugin for exposing Obsidian's garbleText() function
Peekaboo
5 months ago by Wang Guoshi
An Obsidian plugin protects your privacy by setting a password to hide notes.
Blur Mode
5 months ago by dangehub
Blur Mode - Blur elements on the obsidian interface for presentations or screenshots|模糊模式 - 对obsidian界面上的元素进行模糊处理以便演示或截图
Password Audit
5 months ago by Sai Prashanth Pulisetti
Password Audit Plugin
Cypher
4 months ago by Atharva Wankhede
Obsidian Plugin
Send Note
3 months ago by jvsteiner
Instantly share an Obsidian note text/content with other users. Data is shared encrypted by default, and only you and the person you send it to have the key.
Simple Disguise
3 months ago by slow-groovin
Obsidian plugin: disguise/obscure/hide the content in a very simple way
Age Encrypt
2 months ago by Metin Ur
A plugin for Obsidian that provides age-based encryption for your notes.
Sync Vault CE
a month ago by Camus Qiu
sync vault, fully self controlled method of syncing.
Private Mode
6 days ago by markusmo3