Skip to content

Migrate gem signing to the Socketry certificate - #236

Merged
samuel-williams-shopify merged 1 commit into
mainfrom
migrate-socketry-certificate
Oct 18, 2026
Merged

samuel-williams-shopify merged 1 commit into
mainfrom
migrate-socketry-certificate

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

The v1.22.2 release merged successfully, but publishing stopped before building or uploading the gem because the organization's GEM_SIGNING_KEY does not match io-event's old personal release.cert.

Migrate to the shared Socketry certificate using bundle exec bake modernize:signing. The generator selects ~/.gem/socketry-release.cert from the gem's GitHub owner. Update the gemspec's local signing-key path to ~/.gem/socketry-release.pem, add the release note, and regenerate the README with utopia:project:update.

The public certificate identifies /O=Socketry/CN=Socketry Ruby Gems and expires on 2027-09-21. Its SHA256 fingerprint is 93da798e45600ed06c90ce3014e7b8a0beb28278d32ca8d2c7aba6c410d76899. The matching local Socketry key was checked without printing or committing private-key material. GitHub secret values cannot be read back; the existing organization secret remains unchanged.

Validation:

  • Built a signed gem using the gemspec's default signing-key path.
  • Verified the package with RubyGems' HighSecurity policy in a temporary trust directory, including exact agreement between the embedded signer and release.cert.
  • Confirmed the key matches the certificate and the certificate is currently valid.
  • RuboCop passed for the changed gemspec and README; git diff --check passed.

After merge, prepare the next patch release (v1.22.3). Re-running the failed v1.22.2 publisher would still use that release's old certificate, because publication is pinned to the merged release commit. This PR does not publish a gem or alter existing tags.

@samuel-williams-shopify
samuel-williams-shopify merged commit 6775de4 into main Oct 18, 2026
58 of 63 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the migrate-socketry-certificate branch October 18, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant