clortho

Key/value store for shell use where both key and value are obfuscated
git clone git://git.defalsify.org/clortho.git
Info | Log | Files | Refs | LICENSE

Clortho is a bash prototype for a tool that will be written in Rust. It is a key/values store, where both the key and value are obfuscated. The key is stored as sha256 of passphrase || key. The value is symmetrically encrypted with passphrase. (the bash prototype uses ccrypt) The passphrase is given by setting the env var CLORTHO_PASSPHRASE To set: bash clortho.sh foo bar To get: bash clortho.sh foo This script it NOT SAFE for production use because it leaks password to process lists and tmpfs while executing. However, the key/value pairs, once produced, are safe to store.