Name: secure-template
Owner: racker
Description: Scripts to handle encrypting secrets shared across a team
Created: 2013-02-28 17:23:53.0
Updated: 2017-07-25 04:00:00.0
Pushed: 2017-03-14 11:30:46.0
Homepage: null
Size: 26
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A repository of credentials.
Each subdirectory contains its own access list.
Run handler.py
./handler.py –help
Use the -g / -grep parameter to search for a credential.
./handler.py -g twitter
User the -s parameter to search within one directory only
./handler.py -g staging -s example-project
Add your gpg public key into pubkeys/
$ gpg –armor –export your.name@rackspace.com > pubkeys/your.name.gpg
Import the other example-project user's public keys
$ gpg –import pubkeys/*.gpg
Add the user's gpg email address to example-project/access-list.conf
Decrypt the example-project files
$ ./handler.py -d -s example-project/
Re-encrypt the example-project files
$ ./handler.py -e -s example-project/
Remove the plaintext .txt files created in example-project/ when you decrypted. If you look at the output from step 4 you will see the full list. These files have been re-encrypted into example-project/files in step 5, and must be removed to keep those without the secret decorder ring out.
Commit and push