Skip to content

Update signing configuration for PGP subkey - #153

Merged
blindpirate merged 1 commit into
mainfrom
update-signing-configuration
Aug 21, 2026
Merged

Update signing configuration for PGP subkey#153
blindpirate merged 1 commit into
mainfrom
update-signing-configuration

Conversation

@blindpirate

Copy link
Copy Markdown
Member

After the move to a signing subkey following the August 14 security incident, useInMemoryPgpKeys needs the key ID as its first argument — without it the signing plugin falls back to the primary key.

This adds the key ID to the signing {} block and makes the publishing build configuration pass it as env.PGP_SIGNING_KEY_ID, matching what was already done in gradle/gradle#38874, gradle/gradle-promote#382 and gradle/gradle-pom-properties#20.

The pgpSigningKeyId TeamCity parameter is already defined on the parent project, so no new secret is needed.

Docs: https://docs.gradle.org/current/userguide/signing_plugin.html#sec:subkeys
Part of gradle/gradle-private#5321

After the move to a signing subkey, useInMemoryPgpKeys needs the key ID
as its first argument, and the publishing build configuration needs to
pass it as env.PGP_SIGNING_KEY_ID.

See https://docs.gradle.org/current/userguide/signing_plugin.html#sec:subkeys
Part of gradle/gradle-private#5321
@blindpirate
blindpirate marked this pull request as draft August 21, 2026 10:43
@blindpirate blindpirate self-assigned this Aug 21, 2026
@blindpirate
blindpirate marked this pull request as ready for review August 21, 2026 11:08
@blindpirate
blindpirate added this pull request to the merge queue Aug 21, 2026
Merged via the queue into main with commit 8765aa0 Aug 21, 2026
5 of 6 checks passed
@blindpirate
blindpirate deleted the update-signing-configuration branch August 21, 2026 11:12
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