Code Monkey home page Code Monkey logo

Comments (1)

bdehamer avatar bdehamer commented on July 30, 2024

@enteraga6 there was a little refactoring of the way the identity token is retrieved in v1.9. Looking at your code, I think you just need to remove the signOptions altogether:

https://github.com/enteraga6/slsa-github-generator/blob/sigstore-bug/.github/actions/sign-attestations/src/main.ts#L20-L23

Those options were really only intended to be used in scenarios where you want to use the OAuth provider to retrieve an OIDC token.

You can see here that when those options are omitted, it will fallback to using the CI provider (which is the one which knows how to retrieve an OIDC token from GHA:

https://github.com/sigstore/sigstore-js/blob/sigstore%401.9.0/packages/client/src/config.ts#L130-L139

I think the change that may have broken this for you was that it used to always try the CI provider by default as the first strategy for retrieving a token and now it only falls back to that when some other strategy hasn't been configured.

from sigstore-js.

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.