Repository navigation
ci: attest Maven release artifact provenance - #903
Conversation
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Independent two-pass release-security review identified one Medium issue: the provenance digest check occurs only after Maven Central publication/release, so it cannot prevent an attestation mismatch if the separate publishing Gradle invocation regenerates an artifact.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 49efc88371
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Independent two-pass release-security re-review confirms the prior provenance issue is fixed: all four JAR digests are verified before irreversible Maven publication, producer tasks are excluded to prevent rebuilding, and attestation identity is bound to the actual protected release commit. CI is green.
Summary
openai-java,openai-java-core,openai-java-client-okhttp, andopenai-java-bedrock.actions/attestaction to its immutablev4.2.2commit and scopeid-token: write/attestations: writeto the existing protected publishing job.main-only publishing environment, existing Sonatype authentication and PGP signatures, isolated Gradle cache, and current release behavior.gh attestation verify.Verification
GradleCacheTrustPolicyTestJUnit cases pass, including new regressions for exact artifact coverage, least-privilege permissions, SHA-pinned action inputs, pre-secret attestation ordering, and post-publication digest verification.actionlint .github/workflows/create-releases.ymlpasses.ktfmt 0.61formatting check passes.git diff --checkpass.2.1.0plugin offline.Rollout