Encrypt data for secure sharing between teammates.
Installation + Setup
git clone https://github.com/vet/teamcrypt.git cp teamcrypt/teamcrypt /usr/local/bin
Also, you'll have to set up an environment variable
TEAMCRYPT_SECRET. You can export this in your
Note, this secret must be the same for all users you plan to share with.
You'll probably also want to use the following history config, so you can keep all the encrypted passwords out of your history. You can export this in your
teamcrypt, version 1.0.0 usage: man [-e encrypt] [-d decrypt] e encrypt : encrypt the stdin and output result to stdout d decrypt : decrypt the stdin and output result to stdout
Note, I am using a space in front of all commands using teamcrypt to keep them out of our history file
echo "secret-password" | teamcrypt -e > U2FsdGVkX18/mczXJ0tobBq9yd2tCfmQgRPxUuwzUn3yIEEeENVjHw4vqvBOLa5D
echo "U2FsdGVkX18/mczXJ0tobBq9yd2tCfmQgRPxUuwzUn3yIEEeENVjHw4vqvBOLa5D" | teamcrypt -d > secret-password
cat attack-plans.txt | teamcrypt -e > attack-plans.txt.enc
cat attack-plans.txt.enc | teamcrypt -d > kill all humans