Skip to content

rphillips/gosec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gosec

Build Status

Gosec manages secrets using PGP. Given the following project layout it will decrypt/encrypt/grep through given secrets:

project1/files/logins.gpg
project2/files/cloud.gpg

For example, to grep for accountA in project1:

gosec -s project1 -g accountA

Usage

Usage of ./gosec:
-d=false: Decrypt
-e=false: Encrypt
-g="": Regex String
-s="": Directory
Root directory must be specified

Install

GO15VENDOREXPERIMENT=1 godep get github.com/rphillips/gosec