Steps to Reproduce
(in GitHub Actions)
- Build gem
cosign sign-blob xyz.gem --bundle xyz.gem.sigstore.json (using cosign v3.0.5)
- Configure RubyGems credentials using trusted publishing
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