ci: release-signing identity on the Forgejo job token (plan §4.3 step 7) #119

Merged
founder merged 1 commit from ci/release-signing-job-token into main 2026-08-17 00:47:06 +00:00
Owner

release-signing-identity action gains source/authority; job tokens for Google (providers forgejo-release-signing/-publish) and Azure (federated credential forgejo-release-signing); callers gated by the two variables; verified offline. Identity apply + founder az step follow.

release-signing-identity action gains source/authority; job tokens for Google (providers forgejo-release-signing/-publish) and Azure (federated credential forgejo-release-signing); callers gated by the two variables; verified offline. Identity apply + founder az step follow.
ci: release-signing identity on the Forgejo job token (plan §4.3 step 7)
Some checks failed
build-release.yml / ci: release-signing identity on the Forgejo job token (plan §4.3 step 7) (pull_request) Failing after 0s
build-release.yml / ci: release-signing identity on the Forgejo job token (plan §4.3 step 7) (push) Failing after 0s
Release: If Needed / Check (Release Needed) (push) Successful in 8s
Release: Signing Preflight / Release (Signing Preflight) (push) Failing after 43s
Infra: Cloud OpenTofu / Infra (Cloud OpenTofu) (push) Successful in 1m1s
Deploy: Web / Deploy (Web) (push) Successful in 2m21s
Deploy: API / Deploy (API) (push) Successful in 2m48s
525560c220
The release-signing-identity action gains `source: age|openbao` and
`authority: release-signing|release-publish`. In openbao mode it mints
Forgejo job tokens (trust guard, trusted-main / trusted-manual on
refs/heads/main) for audiences key-store-<authority> and
api://AzureADTokenExchange, validates the claims, and exports the same
names as before: KEYSTORE_RELEASE_SIGNING_IDENTITY, the Google
external_account credential against WIF provider forgejo-<authority>
(impersonating the release SA), and AUTHENTIK_AZURE_SIGNING_TOKEN_FILE —
now the job token itself as the Entra client_assertion. No age is touched
in that branch. Callers pass the gate variable (release lanes:
KEYSTORE_CI_RELEASE_SECRETS_SOURCE; cloud-tofu: KEYSTORE_CI_SECRETS_SOURCE)
and gate "Configure Age" off. release-signing-bootstrap stays on age
(founder plane).

infra/identity: providers forgejo-release-signing / forgejo-release-publish
(issuer git.key.store/api/actions, main-only condition, constant
attribute.authority) and non-authoritative workloadIdentityUser members on
the release SA for those principalSets (the Authentik cloud-signing member
stays). infra/cloud-signing: azurerm_federated_identity_credential
forgejo-release-signing on the release UAMI (manage_azure-gated).

Verified: YAML + bash -n on 340 run blocks; claims-validator replay (18
cases); offline replay of the action's openbao branch against a fake
Forgejo OIDC endpoint (dispatch/push on main succeed with the exact
GITHUB_ENV contract; tag push / branch dispatch / PR refused); tofu fmt +
validate on both stacks. Not yet applied: identity (parent) and the Azure
credential (founder az command).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
founder deleted branch ci/release-signing-job-token 2026-08-17 00:47:06 +00:00
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
key-store/key.store!119
No description provided.