Skip to content

ci: add Gradle/BouncyCastle signing-key preflight (cross-repo sync) - #139

Merged
bernardladenthin merged 1 commit into
mainfrom
claude/android-signing-failure-q7zml9
Jul 9, 2026
Merged

ci: add Gradle/BouncyCastle signing-key preflight (cross-repo sync)#139
bernardladenthin merged 1 commit into
mainfrom
claude/android-signing-failure-q7zml9

Conversation

@bernardladenthin

Copy link
Copy Markdown
Owner

Summary

  • Adds the verify-signing-key-gradle job + the throwaway .github/signing-selftest/ Gradle project, byte-identical to the sibling repos. It validates the release GPG key can also sign via Gradle's useInMemoryPgpKeys (BouncyCastle), a stricter armored-key parser than gpg. This repo doesn't publish via Gradle yet; it's kept identical as a "prepared for Gradle" canary (a deliberate uniformity choice).
  • Companion to the verify-signing-key (gpg) job already on main. Standalone (no needs:), parallel at pipeline start, environment: maven-central; prints no secret material.

Test plan

  • After merge, verify-signing-key-gradle runs green on main (reads maven-central env secrets GPG_PRIVATE_KEY / GPG_PASSPHRASE / GPG_KEY_ID; signs the throwaway artifact via subkey 07D2D767).
  • On this PR branch it goes red by design — the maven-central environment gate rejects non-main refs before a runner starts.

Related issues / PRs

Cross-repo synchronization of the signing-key preflight (origin: java-llama.cpp #306 / #307).

Checklist

  • My commits follow Conventional Commits
  • No new secret material exposed — GPG_KEY_ID is a public key id (07D2D767); the private key and passphrase never appear in any log.

🤖 Generated with Claude Code


Generated by Claude Code

Adds the `verify-signing-key-gradle` job + the throwaway
.github/signing-selftest/ project, byte-identical to the sibling repos.
It validates the release GPG key can sign via Gradle's useInMemoryPgpKeys
(BouncyCastle) — a stricter parser than gpg — even though this repo does not
publish via Gradle yet ("prepared for Gradle"). Standalone, parallel at
pipeline start, environment: maven-central, prints no secret material.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018pwn51YPBbtiuUyiLRrfrG
@bernardladenthin
bernardladenthin merged commit 777072d into main Jul 9, 2026
9 of 13 checks passed
@bernardladenthin
bernardladenthin deleted the claude/android-signing-failure-q7zml9 branch July 9, 2026 10:50
@sonarqubecloud

sonarqubecloud Bot commented Jul 9, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

💡 Need a hand with PR review? Try Gitar by Sonar!

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.

2 participants