Giter Club home page Giter Club logo

Comments (4)

slipset avatar slipset commented on July 30, 2024

I would be very happy to receive a PR on this :) Messing around with GPG is, well, interesting, if one were to be very positive.

from deps-deploy.

weavejester avatar weavejester commented on July 30, 2024

I've found myself with some time to mess about with this, and I was wondering what your preference would be in terms of how to handle this.

We could handle it like Leiningen, and allow GPG to handle getting the passphrase. This would be the most correct behaviour (and the simplest to implement) but may not be backward compatible.

Alternatively, we add in some option to choose between getting the passphrase ourselves, or leaving it up to GPG. The question then is: what should be the default?

I'd lean toward the first solution, but it's up to you.

from deps-deploy.

slipset avatar slipset commented on July 30, 2024

While I like the first solution, I've spent quite some time making CircleCI and gpg play together when it comes to pass-phrases when deploying directly form Circle as I tend to do.

So I probs like option two best, with todays behavior as the default?

from deps-deploy.

weavejester avatar weavejester commented on July 30, 2024

Sounds good. What about an option :read-passphrase that defaults to deps-deploy.gpg/read-passphrase and expects a zero-argument function that returns a string. If nil, it will default to letting GPG handle it.

from deps-deploy.

Related Issues (20)

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.