Skip to content

Are you open to adding Buildkite as a trusted publisher? #5377

@yob

Description

@yob

Buildkite would love to publish it's own gems using OIDC, and we have customers who would benefit from this too.

I've been tested out OIDC and Api Key Roles for that, aiming to get the process documented (see #5296 (comment) and #5376). However, I also noticed that trusted publishers are now a thing, and the doc here says:

We would like to add a simplified workflow to allow gems to be published from “trusted” sources (e.g. github actions) that are configured on the RubyGem level. Heavily inspired by PyPi trusted publishing.

Differences from OIDC API Key Roles

  • Not associated with a single user
  • Fewer configuration options guides users towards a more secure default path
  • Only gives API keys that allow publishing

Those all seem pretty compelling to me, so I'm up for implementing Buildkite as a trusted publisher if you're interested.

My assumption is that this would allow gems to be pushed from Buildkite CI jobs using the new --attestation flag released in rubygems 3.6.0?

Relatedly, I'm working with the sigstore folks to add some additional extensions to certs generated from our OIDC tokens: sigstore/fulcio#1903. I assume that might be helpful for trusted publisher reasons.

cc @sj26

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions