Joplin can encrypt and it is selfhostable and uses Markdown
Benefit: apps for every platform
Joplin can encrypt and it is selfhostable and uses Markdown
Benefit: apps for every platform
If you are dealing with compliance seek help from a professional
This needs to be reiterated. If you need to comply with ANY laws at all do not perform this service yourself. Consult professionals and allow them to assume that risk.
If all you are doing is trying to encrypt notes you are taking then maybe that's a different story. Please just make sure you are not at a legal risk.
if you're encrypting at rest you also have to consider where there encryption key is being stored.
if you're storing the encryption key plaintext on the same drive as the data, there's not much of a point in encrypting.
a TPM/HSM could solve the issue, depending on how far down the rabbit hole you need to go.
EDIT: You could also encrypt the disk of the VM/Server hosting the app. similar situation.
In my mind at least this would be solved by the "vault" needing to be decrypted with a password every time notes are accessed/saved with the password acting as the key? I'm not terribly well educated on encryption though.
The problem is how many random characters can you remember in your head?
A good encryption key would be around 32 characters to form a 256 bit encryption key.
You can do a fun game of encrypt the encryption key with a password but that's just another vulnerability in the chain.
I recommend getting a PGP key stored on a yubikey and then encrypt all your notes with it since it's all in markdown, I store my notes on Google drive and keep them decrypted in memory so that I can still use Obsidian.
Or just use a password manager like keepass where the problem of storing passwords has been solved already...
As long as you protect that password store with a sufficiently strong password that you store in a password manager that has a sufficiently strong password :P
I joke but yes some sort of password store is what you would use but make sure that password store needs something like a yubikey with a strong private key on it ^_^
if you want to type the key yourself each time this could work. I'm not aware of an app that does this but it wouldn't be too hard I don't think.
You can selfhost Standard Notes. The notes are encrypted client side before they reach the server.
If you are storing manly on one device and are looking for a relatively "simple" solution for encryption at rest I would suggest to just encrypt the folder/directory/image the data are living in.
Of course, this way you have to decrypt the data while you are using it. However, it separates the responsibility from the note taking app.
This may or may not be a good solution for your use case, but it should be fast and easy to implement.
I used to do this with some mildly sensitive data using a mac encrypted disk image with plain markdowns files inside. I accessed the files with vscode, but I don't see why it wouldn't work with Obsidian. It may just be a bit of a hassle to open the vault each time.
I think this is the best answer. Separation of concerns and all. And OP can keep using whatever notes app he is right now or even switch to another, without the additional encryption requirement.
Maybe Anytype? It kind of fits the description. It's still in beta though.
all 27 comments