# eno Encrypted notes, oui. [View Better Docs](https://stigr.org/eno.html) Install with a single command: ```sh curl -sSL https://gitlab.com/whiteboardguy/eno/raw/master/install.sh | sh ``` Or install with `go install gitlab.com/whiteboardguy/eno/cmd/eno@latest` if you have **Go** set up. ## Motivation I wanted encrypted notes designed for linux. Not the gnupg all-in-one mess, nor something as "javascripty" as Notesnook (*amazing tho*). Something for the terminal. Something quite simple. Something that could be synced and backed up using just git (TBD). ## Usage ```sh # Initialize config eno init # Create an encrypted note (passphrase) eno new my-note # Create a note and open editor right after eno new my-note -e # Use your SSH key instead of a passphrase eno new secret --ssh # Edit an existing note (decrypts, opens $EDITOR, re-encrypts on save) eno edit my-note # Encrypt any file with a passphrase eno encrypt document.pdf # Decrypt any .eno file eno decrypt document.pdf.eno # Set up SSH key for note auth (Ed25519 only) eno ssh init ``` SSH mode uses X25519 ECDH key exchange. Passphrase mode uses Argon2id. Both use ChaCha20-Poly1305. Editor defaults to `$EDITOR %s`. To use a different editor, set `EDITOR_STRING` in `~/.config/eno/eno.conf` — `%s` is replaced with the temp file path. **Security note:** An attacker who modifies `EDITOR_STRING` could execute arbitrary commands when you edit a note. Verify the config value before using `eno edit`, or wait for upcoming versions with a built-in editor.