Git Product home page Git Product logo

Comments (2)

crazy-max avatar crazy-max commented on May 24, 2024

@jasonkarns LGTM, I think we would only need to add enable-ssh-support to gpg-agent conf and maybe specify keys in gnupg sshcontrol but we would need to handle keygrips somehow. Last we have to tell SSH how to access the gpg-agent. Maybe use SSH_AUTH_SOCK for that.

from ghaction-import-gpg.

jasonkarns avatar jasonkarns commented on May 24, 2024

I've realized later that this probably won't work for my primary use case...

My thought was to have a single gpg key for signing+auth which would be installed using this action. The signing key would be used to sign git commits, and the auth key would be used for authenticating with github for the push/pull.

However, there's a bit of a catch-22. This action must run after the checkout action, in order to support setting the gpg signing key. However, it would need to run before the checkout action if one wanted to provide the auth key to the checkout action via the ssh-key parameter.

So while I still think there may be some utility here, my personal interest has waned a bit. Unless this feature were to "double up" on whatever the checkout action's ssh-key param is doing (and thereby cut the catch-22 loop).

from ghaction-import-gpg.

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.