Skip to content

Pushing gem with attestation fails with "Server error. Please try again." #6369

@haines

Description

@haines

Steps to Reproduce

(in GitHub Actions)

  1. Build gem
  2. cosign sign-blob xyz.gem --bundle xyz.gem.sigstore.json (using cosign v3.0.5)
  3. Configure RubyGems credentials using trusted publishing
  4. gem push xyz.gem --attestation xyz.gem.sigstore.json

In my specific case you can see the failure in the GitHub Actions logs. This is the attestation file:
pg-aws_rds_iam-0.8.0.gem.sigstore.json.

Expected Behavior

gem push succeeds (or at least fails with a useful error message if there is something wrong).

Current Behavior

gem push fails with

Pushing gem to https://rubygems.org...
Server error. Please try again.

Environment

RubyGems version: 4.0.9

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