Encrypt data at rest

I would like to have encryption for the data at least before pushing to github.

The idea is to encrypt the content before writing to the virtual file system, or the real file system. And decrypt when reading them.

I’m thinking to use tweetnacl.js which should be easy to integrate. In the setting the user can enable a toggle box and a input box would appear with the generated encryption key. I’m thinking to generate a paper key similiar to how keybase does it, by encoding the nacl secret key as short english words.

Then you can write down the encryption key and use it on other devices.

Mockup settings page:

Half working proof of concept

1 Like

Wow! Super awesome!
I’m pulling to test your PR now. The mockup is great too!
I will reply soon!

For those visiting from the future, this feature has been removed as of Deprecation of on-disk encryption