crypt-xordataexchange

Store/retrieve encrypted configs from etcd or Consul (CLI tool)

Install

All systems
curl cmd.cat/crypt-xordataexchange.sh
Debian Debian
apt-get install golang-github-xordataexchange-crypt
Ubuntu
apt-get install golang-github-xordataexchange-crypt
image/svg+xml Kali Linux
apt-get install golang-github-xordataexchange-crypt
Windows (WSL2)
sudo apt-get update sudo apt-get install golang-github-xordataexchange-crypt
Raspbian
apt-get install golang-github-xordataexchange-crypt

golang-github-xordataexchange-crypt

Store/retrieve encrypted configs from etcd or Consul (CLI tool)

Fess up. You have passwords and usernames hard coded in your apps. You have IP addresses checked in to your source code repository. You have entire configuration files that were created by the developer who wrote the app and haven’t been changed since she typed "git init". "crypt" is here to lead you back to the Path of Enlightened Configuration. Store encrypted configuration values in etcd or Consul using a command-line application. Decrypt them before starting your application using a wrapper script and the handy CLI tool, or inside the app using the "crypt/config" library. "crypt" is built on time-tested standards like OpenPGP, base64, and gzip. Your data is encrypted using public key encryption, and can only be decrypted by when the private key is available. After compression, it is encrypted, and base64-encoded so it can be stored in your key/value store of choice. etcd and Consul are supported out of the box, but adding other storage tools is a trivial task, thanks to Go’s interfaces. This package provides the command-line tool "bin/crypt", but renamed to /usr/bin/crypt-xordataexchange, to avoid filename collision with /usr/bin/crypt from the mcrypt package.