racker/secure-template

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Secure.git

A repository of credentials.

Each subdirectory contains its own access list.

How to use
How to add yourself to the gpg encrypted files
  1. Add your gpg public key into pubkeys/

    $ gpg –armor –export your.name@rackspace.com > pubkeys/your.name.gpg

  2. Import the other example-project user's public keys

    $ gpg –import pubkeys/*.gpg

  3. Add the user's gpg email address to example-project/access-list.conf

  4. Decrypt the example-project files

    $ ./handler.py -d -s example-project/

  5. Re-encrypt the example-project files

    $ ./handler.py -e -s example-project/

  6. 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.

  7. Commit and push


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.