Giter Site home page Giter Site logo

gpgenv's Introduction

gpgenv's People

Contributors

sheax0r avatar svc-scm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gpgenv's Issues

better usability

Look at how sack implements profiles, as well as its installation process. gpgenv should have something similar:

  • Maybe: ability to "switch" profiles, rather than entering a profile to use on each command?
  • Definitely: ability to automatically set up config files linked from ~/*.rc files, to define commands in the shell (instead of only using executables).

Request more doc related to `pass`

I'm confused about the solution this gem brings that could be solved in a simpler way.

I particularly don't understand this section

I love pass, because it makes it easy to store passwords encrypted. But it doesn't make it easy to use them in any capacity other than copy-and-pasting them. I wrote gpgenv to bridge that gap:


Being drawn to pass my self, I'm looking around the net, to see what other people are doing. I was thinking of using this approach in my deploy scripts:

heroku config:set SECRET_VAR=$(pass show MyApp/serviceA)

And for locally managed scripts:

SECRET_VAR=$(pass show MyApp/serviceA)

Even this would suffice:

heroku config:set SECRET_VAR=$(gpg -d ~/.password-store/MyApp/ServiceA)

Could you please describe in more detail what advantages the gpgenv work flow brings?

As I feel i must be missing something here, thanks!

Add gpgedit command

As long as we have to convert dotenv files, this won't get much traction. However, we could very likely do something like this:

  • Add an executable called gpgedit.
  • Implement it so that it reads all the .gpgenv vars and generates a temporary file in .env format containing these files, then opens $EDITOR to edit them. On close, write the files out to gpgenv again.

This way we don't need to bother with dotenv at all.

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.