Coder Social home page Coder Social logo

secure-template's Introduction

Secure.git

A repository of credentials.

Each subdirectory contains its own access list.

How to use

  • 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

How to add yourself to the gpg encrypted files

  1. Add your gpg public key into pubkeys/

    $ gpg --armor --export [email protected] > 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

secure-template's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.