Skip to content

Sign the release installers with the Complexus Lab key - #32

Merged
thierrysays merged 1 commit into
mainfrom
claude/happy-albattani-8kgoqj
Nov 15, 2026
Merged

thierrysays merged 1 commit into
mainfrom
claude/happy-albattani-8kgoqj

Conversation

@thierrysays

Copy link
Copy Markdown
Collaborator

What

A new workflow, Sign release (.github/workflows/sign.yml), runs when a release is published, or by hand with a tag for an earlier release. It:

  1. downloads every asset of the release;
  2. lists them with their SHA-256 digests in SHA256SUMS;
  3. signs that file with the Complexus Lab Ed25519 key (the key that signs Rouvre releases and its bundle index), after checking that the key matches keys/release-signing.pub.pem;
  4. attaches SHA256SUMS and SHA256SUMS.sig to the release;
  5. copies both to https://complexuslab.fr/cartocortex/releases/<tag>/ through the site repository, so the signature can be checked against a host other than GitHub.

This proves where the installers come from. It does not lift the macOS or Windows warnings, which need Apple or Windows code-signing certificates (RELEASING.md says so).

RELEASING.md documents the one-time setup and how a user checks a download; the README points to it.

Setup needed before the first run

Environment release in this repository, deployment branches main and tag pattern v*, with the secrets COMPLEXUS_LAB_SIGNING_KEY (same PEM key as ROUVRE_SIGNING_KEY) and SITE_TOKEN.

How it was checked

  • The signing and verification commands, run locally with a throwaway Ed25519 key on two fake installers: signature verified, sha256sum -c passes.
  • The workflow file parses as YAML. The workflow itself runs only once the environment exists; the first real run will be on v0.1.2, started by hand.

Generated by Claude Code

A new workflow, Sign release, runs when a release is published (or by
hand for an earlier tag). It lists every asset with its SHA-256 digest in
SHA256SUMS, signs that file with the Ed25519 key that also signs Rouvre,
attaches SHA256SUMS and SHA256SUMS.sig to the release, and copies them to
complexuslab.fr/cartocortex/releases/<tag>/.

The public key is committed as keys/release-signing.pub.pem and the
workflow refuses a private key that does not match it. RELEASING.md lists
the one-time setup (environment `release`, secrets
COMPLEXUS_LAB_SIGNING_KEY and SITE_TOKEN) and how to check a download.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016C1G4PAfifGYcaQ9xTa51L
@thierrysays
thierrysays marked this pull request as ready for review November 15, 2026 17:47
@thierrysays
thierrysays merged commit 54b72f2 into main Nov 15, 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.

2 participants