Git Product home page Git Product logo

Comments (3)

bennieswart avatar bennieswart commented on June 4, 2024

@crazy-max any ideas on how this could be solved? I'll give the implementation a shot once there's a plan.

from ghaction-import-gpg.

imRentable avatar imRentable commented on June 4, 2024

We struggle with this as well. Error logs from attempting to encrypt deployment secrets via helm secrets:

Could not generate data key: [failed to encrypt new data key with master key "*************": could not encrypt data key with PGP key: golang.org/x/crypto/openpgp error: key with fingerprint ************* is not available in keyring and could not be retrieved from keyserver; GPG binary error: exit status 2]
Error: plugin "secrets" exited with error
Error: Process completed with exit code 1.

The actual fingerprint has been replaced by *************. The aforementioned logs from the Post step are identical for us. We are currently executing this action with a concurrency of 7. Most of these steps succeed but 1-3 will always fail. If we re-run those, they will be successful as well.

from ghaction-import-gpg.

imRentable avatar imRentable commented on June 4, 2024

There is another error message that we sometimes see when invoking our helm secrets step concurrently:

Group 0: FAILED
  *************: FAILED
    - | could not decrypt data key with PGP key:
      | github.com/ProtonMail/go-crypto/openpgp error: Could not
      | load secring: open /home/github/.gnupg/secring.gpg: no such
      | file or directory; GPG binary error: exit status 2

Recovery failed because no master key was able to decrypt the file. In
order for SOPS to recover the file, at least one key has to be successful,
but none were.
Error: plugin "secrets" exited with error
Error: Process completed with exit code 1.

Here, the fingerprint has been replaced by ************* and the Post step logs complain about not finding the key as well.

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.