Skip to content

Commit 3f5f9ad

Browse files
bigdazclaude
andauthored
Document the new Gradle signing key for dependency verification (#1071)
Follow-up to #1069, which bumped the `github-dependency-graph-gradle-plugin` default to `1.5.0`. `1.5.0` is signed with a **new** Gradle signing subkey, and the key currently documented in `docs/setup-gradle.md` has been revoked upstream. Without this docs change, the snippet we publish will fail dependency verification for Dependency Graph generation. I verified the published signatures rather than relying on the changelog: | Artifact | Issuer key | | |---|---|---| | `github-dependency-graph-gradle-plugin:1.5.0` | `D9B2DFBD9F3298BA` | new | | `github-dependency-graph-gradle-plugin:1.4.2` | `893A028475557671` | old | | `develocity-gradle-plugin:4.5.0` | `893A028475557671` | old | So the docs now list **both** keys instead of swapping one for the other. The Develocity Gradle plugin (`com.gradle`) is still signed with the old key, so replacing it outright would have broken Develocity injection for builds with dependency verification enabled. Docs-only change; no source or `dist` impact. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent b031f6d commit 3f5f9ad

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

‎docs/setup-gradle.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,5 +1040,19 @@ Each of the plugins is signed by Gradle, and you can simply add the following sn
10401040
<trusting group="com.gradle"/>
10411041
<trusting group="org.gradle"/>
10421042
</trusted-key>
1043+
<trusted-key id="E2879931BCA1A42E55F2D64DD9B2DFBD9F3298BA">
1044+
<trusting group="org.gradle"/>
1045+
</trusted-key>
10431046
</trusted-keys>
10441047
```
1048+
1049+
Two keys are listed because Gradle has rotated its signing key, and the plugins applied by these actions
1050+
are not all signed with the same one:
1051+
- `E2879931BCA1A42E55F2D64DD9B2DFBD9F3298BA` is the current signing subkey. The
1052+
`github-dependency-graph-gradle-plugin` used for Dependency Graph generation is signed with it from
1053+
version `1.5.0` onward.
1054+
- `7B79ADD11F8A779FE90FD3D0893A028475557671` is the older key, which has since been revoked. It is still
1055+
required: the Develocity Gradle plugin (`com.gradle`) is signed with it, as are `org.gradle` plugin
1056+
versions released before the rotation.
1057+
1058+
Keep both entries unless you pin plugin versions and have confirmed which key each one uses.

0 commit comments

Comments
 (0)