Start with the release path, not a key search alone
For each product record the repository, release job, runner, secret reference, signing service, registry, downloadable artifact and consumer verifier. Capture public fingerprints, certificate chains, permissions, expiry and the person who can revoke access. Do not export private keys into an inventory.
Separate four decisions: access to source, authorship of a commit, authenticity of a release artifact, and permission to upload a package. Replacing one does not replace the others. Include offline signing machines, HSM-backed keys and emergency release procedures.
The hero scan is a useful public website check, about five seconds. It does not inspect a CI runner or private registry. Combine this work with SSH deploy-key migration and the broader migration checklist.
Inspect GPG/OpenPGP keys and Git signing policy
With authorised local access, inspect public keys and the effective Git configuration. Use full fingerprints and include signing subkeys. The GnuPG colon-format documentation defines the algorithm and capability fields; do not infer the signing algorithm from the primary key alone.
gpg --list-keys --with-colons --with-fingerprint --with-subkey-fingerprint
git config --show-origin --get gpg.format
git config --show-origin --get user.signingkey
git log -1 --show-signature
git verify-tag v1.2.3
Replace the sample tag with a real release. A failed verification needs investigation: missing public-key trust and an invalid signature are different failures. Keep a known-good verification fixture before changing anything.
GitHub supports GPG, SSH and S/MIME commit signatures. SSH Ed25519 can simplify key handling where Git and consumers support it. GPG is a tool and OpenPGP is a format; neither word by itself means RSA. Choose a supported signing key and test local verification, hosted verification and release automation.
Ed25519 remains classical cryptography. Preserve public keys and evidence needed to verify old releases; do not rewrite signed history to make an inventory look cleaner. Announce a new fingerprint through an established trusted channel, test downstream consumers, then retire the old private signing capability through your key policy.
Use identity-bound artifact signing where it fits
Sigstore/Cosign keyless signing uses a workload identity and short-lived signing credentials instead of a stored long-lived release key. This changes the trust model; it does not remove the identity provider, certificate authority or classical trust-chain dependencies. See the Cosign documentation.
# Use an immutable digest, never a mutable tag as your only identifier.
cosign verify registry.example.com/team/app@sha256:REPLACE_WITH_DIGEST \
--certificate-identity 'REPLACE_WITH_EXACT_RELEASE_IDENTITY' \
--certificate-oidc-issuer 'REPLACE_WITH_EXPECTED_ISSUER'
Set the exact expected issuer and identity in your verifier policy. Review which repository, job and protected release reference can obtain that identity. Verify the digest and required attestations, not merely that some valid certificate signed something. Keep the verification bundle and required trust material for consumers that verify offline.
A valid signature says who signed a digest under that policy; it does not prove the build is benign. Protect review, runner isolation and dependency inputs too. Test that a signature from an unexpected identity is rejected before retiring the previous verification path.
Replace publishing tokens with constrained trusted publishers
npm
npm Trusted Publishing exchanges a supported CI workload’s OIDC identity for publishing access. Check the current supported provider, runner and CLI requirements. Register the intended package and release job, test a release, then remove redundant long-lived tokens. Provenance availability depends on the supported provider and publishing flow.
PyPI
PyPI Trusted Publishing similarly binds publication to a configured workload identity. Review every publisher’s project and environment settings. The PyPI security model notes that removing a maintainer does not remove publishers they registered; include them in offboarding.
These changes reduce stored publishing secrets. They do not replace artifact-signature verification or make OIDC tokens post-quantum. Protect the identity that can request a token and test that an unrelated branch or workload cannot publish.
Respect Apple and Windows platform constraints
Apple’s signing process requires platform-approved signing identities and certificate validation. Windows Authenticode identifies the publisher through its own trust system. Supported algorithms depend on the platform, issuer, format and target versions. Do not assume an arbitrary Ed25519 certificate is accepted.
If a required signing chain still uses RSA, record that dependency and the vendor-controlled migration path. Keep private keys protected and revocation procedures tested. Review Authenticode timestamping and test existing signatures against supported Windows clients. A supplementary Cosign signature does not replace mandatory platform signatures or notarisation.
Close the change with evidence
- Verify a new release on each supported consumer. Test a changed digest, wrong signer and missing trust material as negative cases.
- Preserve historical verification keys, signatures and timestamps. Record the transition date and expected identities.
- Remove old publishing grants and private-key references after acceptance. Confirm a retired credential can no longer publish or sign through the old service.
- Assign unresolved platform dependencies an owner and review date. Link supplier answers to the enterprise readiness register.
Use the Evidence Pack below to document the decision, or a Zero-Access Review to have an engineer examine your supplied inventory and tests without production access.
Questions engineers ask
Does changing my SSH deploy key change release signing?
No. Repository access, Git commit signatures, artifact signatures and package publishing credentials are different controls. Inventory and test each one. A new deploy key does not replace a GPG release key or an Authenticode certificate.
Is Ed25519 commit signing post-quantum?
No. Ed25519 avoids RSA but remains a classical signature algorithm. Confirm support in Git, the hosting service and every verifier before changing signing policy.
Does keyless Sigstore signing remove all cryptographic risk?
No. It reduces reliance on a stored long-lived signing key, but still depends on the OIDC identity provider, certificate authority, trust roots and verification policy. Restrict the expected identity and issuer and verify the artifact digest.
Can I replace every Apple or Windows signing certificate with Ed25519?
Do not assume so. Supported certificate chains, algorithms and signing formats are controlled by the platform, certificate issuer and target clients. Keep required platform signatures and track a vendor-supported migration path. An additional Sigstore signature does not replace mandatory platform signing.
Will the public website scanner find CI secrets?
No. It checks public website cryptography. Inventory release runners, secret stores, signing services and registry permissions separately, using authorised read-only access. Never submit private signing keys or publishing tokens to a scanner.