Skip to content

Initialize Edit signing on Actions with maintainer approval - #2

Merged
tas0dev merged 2 commits into
mainfrom
staging
Nov 11, 2026
Merged

tas0dev merged 2 commits into
mainfrom
staging

Conversation

@tas0dev

@tas0dev tas0dev commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Add a default-branch-only Initialize Edit signing workflow protected by the existing application-maintainers Environment approval. It downloads a selected successful main package run, uses pinned trusted DevKit tooling without an application checkout, and performs runner-only Edit key creation, Kome device login, certificate issuance, package signing/verification and atomic Environment Secret storage.

Use official Developer 019f9e5ac6687902b0e72fe53abfbef1 and package org.mochios.edit. A short-lived Edit-only fine-grained PAT with Environment read/write is provided as SIGNING_SETUP_TOKEN; the helper removes that Secret after success, and the operator then revokes the PAT in GitHub settings. Interrupted issuance retains an encrypted recovery keypair so retrying cannot silently rotate the key. No private credential artifact upload exists, and no Root/Intermediate private key is needed.

Update the package publisher to consume MSIGN_IDENTITY_B64. Publication stays disabled, and neither this PR nor initialization releases software. After review/merge and a successful main package build, dispatch setup with that run ID, approve the Environment, and follow the public Kome login URL in the running step. See BUILDING.md for the concrete procedure.

Validation: common helper tests and trusted tooling builds are checked in DevKit; the pinned Edit package build is checked by this PR. Actual initialization is intentionally not run from staging/PR or bypassed around approval.

Final verification: https://github.com/mochiOS/Edit.app/actions/runs/42988089358 succeeded, including the real read-only job token reading the required Team/branch policy, 14 host tests, native build, MPKG generation and upload. The final downloaded artifact matches SDK 0f8585f and GitHub PR test-merge 954ae59; all 11 payload hashes/sizes and runner-path checks passed, and resolved Cargo.lock exactly matches the committed file. Publication was skipped. Common tooling passed: https://github.com/mochiOS/devkit/actions/runs/42987419911 (20 Python, 28 msign, 52 Kome tests).

@tas0dev
tas0dev marked this pull request as ready for review November 11, 2026 08:40
@tas0dev
tas0dev merged commit f0a5ca8 into main Nov 11, 2026
2 checks passed
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