Skip to content

Harden release signing and publishing - #42

Merged
henderkes merged 1 commit into
devfrom
codex/harden-release-signing
Sep 7, 2026
Merged

Harden release signing and publishing#42
henderkes merged 1 commit into
devfrom
codex/harden-release-signing

Conversation

@henderkes

Copy link
Copy Markdown
Member

Summary

  • scope Certum credentials only to the authentication and signing steps
  • disconnect SimplySign immediately after signing, including failure paths, and unregister certificates on disconnect
  • remove insecure workflow-command compatibility and write the version through GITHUB_OUTPUT
  • replace the mutable third-party release action with the preinstalled GitHub CLI

Security impact

The release publisher no longer runs while the cached signing session is active, and publishing cannot read the Certum TOTP seed, user ID, or certificate thumbprint. Dynamic version data is carried through the environment instead of being interpolated into generated PowerShell source.

Validation

  • Actionlint v1.7.7 (ignoring only the repository's existing custom runner label)
  • YAML parse for all workflows
  • PowerShell syntax parse for all signing scripts
  • command-shaped version regression check
  • git diff --check

@henderkes
henderkes changed the base branch from master to dev September 7, 2026 09:15
@henderkes
henderkes force-pushed the codex/harden-release-signing branch from 4aff1f5 to 2531869 Compare September 7, 2026 09:20
@henderkes
henderkes merged commit 9b4c250 into dev Sep 7, 2026
@henderkes
henderkes deleted the codex/harden-release-signing branch September 7, 2026 09:39
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