Giter Site home page Giter Site logo

Comments (8)

developer-guy avatar developer-guy commented on July 2, 2024

Hello, @Brend-Smits, the cosign has the support of uploading attestation files to the OCI Registry signing them.

$ cosign attest --key cosign.key --predicate <path> <image-uri>

Thomas Meadows asked that question in cosign's Slack channel.

Hey all! I am currently in the process of configuring https://github.com/philips-labs/slsa-provenance-action in a GitHub action to generate an attestation. I want to then take that created json and push it as an OCI manifest (.att) to the image repository against the image using cosign. How would I go about doing this?

I want to take care of this one, but I have a couple of questions first:

  • Do we want to sign the provenance files while uploading them to the OCI Registry?
  • Which method do you prefer for using cosign, as an executable or a Go module?

from slsa-provenance-action.

ChaosInTheCRD avatar ChaosInTheCRD commented on July 2, 2024

Thanks for the input here @developer-guy! I think signing the provenance files while uploading them would be very helpful? Unless anyone can think of a reason why we would want to avoid it.

from slsa-provenance-action.

developer-guy avatar developer-guy commented on July 2, 2024

yes, it'd be helpful no doubt. Also, we can do it with a keyless approach which leads us to the second item in the list, do we want to use cosign as an executable over os.Exec package, or a Go module?

from slsa-provenance-action.

developer-guy avatar developer-guy commented on July 2, 2024

I've started another issue on cosign

from slsa-provenance-action.

ChaosInTheCRD avatar ChaosInTheCRD commented on July 2, 2024

My only reservation with keyless is that it doesn't provide an option for private repositories. I guess though that this is in the minority of cases.

from slsa-provenance-action.

marcofranssen avatar marcofranssen commented on July 2, 2024

Resolved by #88

from slsa-provenance-action.

marcofranssen avatar marcofranssen commented on July 2, 2024

Correction we might still want to integrate this in the binary so no additional step is required.

from slsa-provenance-action.

marcofranssen avatar marcofranssen commented on July 2, 2024

Created a new dedicated issue to work on having a more native integration for docker images #129

from slsa-provenance-action.

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.