Skip to content

ci: let QuantumExplorer sign dashmate release checksums - #6274

Merged
shumkov merged 2 commits into
v5.1-devfrom
dashmate-qe-signer
Nov 25, 2026
Merged

shumkov merged 2 commits into
v5.1-devfrom
dashmate-qe-signer

Conversation

@shumkov

@shumkov shumkov commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Issue being fixed or feature implemented

The dashmate release checksums (SHA256SUMS) can only be signed by keys listed in ALLOWED_SIGNERS, and the apt repository accepts signatures from those keys only. QuantumExplorer's key was to be added once it existed; it now does, so he can sign releases too.

What was done?

  • scripts/release/sign_dashmate_checksums.sh: added QuantumExplorer's primary key fingerprint 556CBC89DA31CAD4928F0926D59CAD3E1BEAFEF0 (ed25519, created 2026-11-25, expires 2028-11-24) to ALLOWED_SIGNERS next to Ivan Shumkov's, labelled each by name, and removed the "added once it exists" comment. The fingerprint was verified two ways: he sent it over Slack, and it matches the key on his GitHub account (key id D59CAD3E1BEAFEF0).
  • .claude/skills/release/SKILL.md: the signing section names both signers as current. The skill lists no fingerprints, so it names them only.
  • .github/scripts/tests/test_sign_dashmate_checksums.py: new test_should_accept_both_maintainers_keys pins both keys in the allow-list.

How Has This Been Tested?

  • python3 -m unittest discover -s .github/scripts/tests -p 'test_sign_dashmate_checksums.py': 27 tests pass.
  • shellcheck scripts/release/sign_dashmate_checksums.sh: clean.
  • The new test fails against the previous script and passes with this change.
  • Not exercised: a real signature by QuantumExplorer's key; the tests use a stubbed gpg.

Breaking Changes

None.

Checklist:

  • I have performed a self-review of my own code
  • My Rust, FFI, WASM, Swift or Kotlin changes follow the coding conventions
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
  • I have made corresponding changes to the documentation if needed
  • If I added or changed GroveDB structure, I described it in the area's structure.rs, regenerated grovedb-structure.json, and checked the structure viewer link posted on this pull request
  • If I added or changed a system contract's document schemas, I checked the contract viewer link posted on this pull request

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

🤖 Generated with Claude Code

PR Hygiene · 1acba3a

  • Bots — thepastaclaw ✓
  • Self-review — post /self-reviewed
  • Build green
  • Approvals
    • claude — you own it
    • github (.github/scripts/tests/test_sign_dashmate_checksums.py) — ktechmidas
    • files with no dedicated owner — you own it

When every merge requirement is met, the PR Hygiene check passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.

Summary by CodeRabbit

  • Chores
    • Checksum signing now accepts QuantumExplorer’s key alongside Ivan Shumkov’s, and signatures made with either key are recognized by the release workflow. The signing guidance clarifies that the script’s signer list and the package publisher’s trusted-key list are maintained separately; both must include the key, and publisher enrollment should be confirmed before using it for a stable release.

Add QuantumExplorer's primary key fingerprint to ALLOWED_SIGNERS next to
Ivan Shumkov's, and update the release skill, which no longer says his key
is added once it exists.

Test would have caught this in CI: test_should_accept_both_maintainers_keys
fails against the old script and passes after the change.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@shumkov shumkov added this to the v5.1.0 milestone Nov 25, 2026
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The checksum signing script now accepts QuantumExplorer’s key alongside Ivan Shumkov’s. Release guidance distinguishes the script’s signer allowlist from the publisher’s trusted-key list. Tests check signing with either accepted key.

Changes: Checksum signer allowlist

Layer / File(s) Summary
Update the accepted signer list
scripts/release/sign_dashmate_checksums.sh, .claude/skills/release/SKILL.md
The script adds QuantumExplorer’s fingerprint to its signer allowlist. The guidance says the script allowlist and publisher trusted-key list must match.
Test both accepted signer keys
.github/scripts/tests/test_sign_dashmate_checksums.py
The fixture defines QuantumExplorer’s fingerprint. A test checks that signing succeeds when GPG reports either accepted key as the signer.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related issues

Possibly related PRs

  • dashpay/platform#6144 — That PR introduced the checksum signing script whose signer allowlist this change updates.
Merge Risk: Minimal · up to 1acba

The signing script now accepts a second maintainer key and the release guidance describes the separate publisher key list. The change is small and low risk. Before relying on the new key for a stable release, confirm it is enrolled with the publisher.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "ci: let QuantumExplorer sign dashmate release checksums" matches the main change. The PR adds QuantumExplorer's primary-key fingerprint to ALLOWED_SIGNERS in scripts/release/sign_dashmate_c…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "ci: let QuantumExplorer sign dashmate release checksums" matches the main change. The PR adds QuantumExplorer's primary-key fingerprint to ALLOWED_SIGNERS in scripts/release/sign_dashmate_checksums.sh, updates the test fixtures and a new test, and clarifies the release skill documentation. The title is specific, short, and states the primary change from the developer's view.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between ea396f9 and 1acba3a.

Files selected for processing: 1

  • .claude/skills/release/SKILL.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added the waiting-bots Waiting for the review bots to report on this head label Nov 25, 2026
@thepastaclaw

thepastaclaw commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Final review complete — no blockers (commit 1acba3a) · triage: low

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final validation — Phase 1 + Phase 2

This PR adds QuantumExplorer’s verified OpenPGP fingerprint to the dashmate checksum signing script, updates the release runbook, and adds a regression test for both maintainer keys. The runner-contract tests passed, including the new test, and NPM release build validation passed; PR Hygiene and PastaClaw review are still pending.

🟡 1 suggestion(s)

Approved: nothing here blocks the merge. The non-blocking findings are optional: fix them forward, in this PR or a follow-up, without waiting for another review round.

Review provenance

Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.2-sol (agent: phase2-reviewer, role: general); reviewer 3: gpt-6.2-sol (agent: phase2-reviewer, role: architecture-layering); reviewer 4: gpt-6.2-sol (agent: phase2-reviewer, role: security-auditor); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)

  • Triage: low by gpt-6.2-sol (effort low) — The diff adds one trusted fingerprint to the release-signing allow-list and updates the test and documentation without changing signature verification logic.
  • Phase 1 reviewers: glm-5.3-flash — general (completed, effort high); agent phase1-reviewer
  • Phase 1 model: glm-5.3-flash — zai quota: 5h 94% left, weekly 22% left; passed over gemini-3.8-flash-high (lane failed)
  • Fresh verifier: gpt-6.2-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.2-sol — general (completed, effort medium); agent phase2-reviewer, gpt-6.2-sol — architecture-layering (completed, effort medium); agent phase2-reviewer, gpt-6.2-sol — security-auditor (completed, effort medium); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.

In `.claude/skills/release/SKILL.md`:
- [SUGGESTION] .claude/skills/release/SKILL.md:106: The release runbook treats local signer approval as APT publisher approval
  Impact: A maintainer who signs a stable release with QuantumExplorer’s key before Infrastructure enrolls it can successfully attach a signature that the APT publisher rejects.
  A successful `--upload` establishes that the signature passed the Platform script’s checks and was attached to the GitHub release, not that the stable APT publisher will accept it. `ALLOWED_SIGNERS` is checked locally in `verify_signature`; [Infrastructure’s publisher plan](https://github.com/dashpay/platform/issues/4246#issuecomment-7043452840) calls for a separately provisioned list of trusted maintainer keys. The new test exercises the local check, and publisher enrollment was not verified. Distinguish the two checks in the runbook and tell maintainers to confirm enrollment with Infrastructure before relying on the new key for stable APT publication.

Comment thread .claude/skills/release/SKILL.md Resolved
@github-actions

Copy link
Copy Markdown
Contributor

Bots are done — your move: post /self-reviewed.
Full checklist in the description.

@github-actions github-actions Bot added waiting-self-review Waiting for the author to post /self-reviewed and removed waiting-bots Waiting for the review bots to report on this head labels Nov 25, 2026
The signing section read as if ALLOWED_SIGNERS were the publisher's list. The script
and the publisher check separately, so a key must be enrolled with the publisher too.

Docs-only change, no test.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added waiting-bots Waiting for the review bots to report on this head and removed waiting-self-review Waiting for the author to post /self-reviewed labels Nov 25, 2026

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-review — Final validation — Phase 1 + Phase 2

New on this head: The only change since the previous review is a runbook clarification: the signing script and the APT publisher check separate signer lists, and maintainers should confirm publisher enrollment with Infrastructure before using a key for a stable release. NPM release build validation passed, no checks failed, and PR Hygiene and PastaClaw review are still pending.

🔴 0 blocking | 🟡 0 suggestion(s) | 💬 0 nitpick(s)

Review provenance

Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.2-sol (agent: phase2-reviewer, role: general); reviewer 3: gpt-6.2-sol (agent: phase2-reviewer, role: architecture-layering); reviewer 4: gpt-6.2-sol (agent: phase2-reviewer, role: security-auditor); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)

  • Triage: low by gpt-6.2-sol (effort low) — The diff changes which keys may sign release checksums, but the change is limited to one allow-list entry, a regression test, and documentation.
  • Phase 1 reviewers: glm-5.3-flash — general (completed, effort high); agent phase1-reviewer
  • Phase 1 model: glm-5.3-flash — zai quota: 5h 69% left, weekly 17% left; passed over gemini-3.8-flash-high (lane failed)
  • Fresh verifier: gpt-6.2-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.2-sol — general (completed, effort medium); agent phase2-reviewer, gpt-6.2-sol — architecture-layering (completed, effort medium); agent phase2-reviewer, gpt-6.2-sol — security-auditor (completed, effort medium); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify the current code and confirm that no unresolved issues remain.

No unresolved findings remain from the prior review on this head.

Comment thread .claude/skills/release/SKILL.md Resolved
@github-actions

Copy link
Copy Markdown
Contributor

Bots are done — your move: post /self-reviewed.
Full checklist in the description.

@github-actions github-actions Bot added waiting-self-review Waiting for the author to post /self-reviewed and removed waiting-bots Waiting for the review bots to report on this head labels Nov 25, 2026
@shumkov
shumkov merged commit bb3b203 into v5.1-dev Nov 25, 2026
30 of 31 checks passed
@shumkov
shumkov deleted the dashmate-qe-signer branch November 25, 2026 13:15
dcg-infraclaw Bot added a commit to dashpay/infra that referenced this pull request Nov 25, 2026
A final release reaches stable when its SHA256SUMS is signed by a key in
publisher/maintainers/. dashpay/platform#6274 added a second signer there,
QuantumExplorer, 556CBC89DA31CAD4928F0926D59CAD3E1BEAFEF0; this adds the
same key here. The key file is the one published on the GitHub account
QuantumExplorer (github.com/QuantumExplorer.gpg), exported minimal; its
fingerprint is the one in ALLOWED_SIGNERS on v5.1-dev and in the issue.

dashpay/platform#6267 ships the keyring at
/etc/apt/keyrings/dashmate-archive-keyring.gpg, not under /usr/share, and a
pin file. The README, the keyring's README and the integration test say so
now. Nothing in the publisher depends on the path.

Tested: 19 unit tests; tests/integration.sh in Ubuntu 24.04 and 22.04
containers, all passed.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@shumkov shumkov mentioned this pull request Nov 26, 2026
9 of 16 tasks
HashEngineering pushed a commit to HashEngineering/platform that referenced this pull request Nov 27, 2026
Brings v5.1-dev's 7 commits into v5.2-dev: dashpay#6315, dashpay#6316, dashpay#6289, dashpay#6209,
dashpay#6210, dashpay#6267 and dashpay#6274.

Conflicts, all in dashmate doctor, where dashpay#6316 (v5.1-dev) and dashpay#6317
(v5.2-dev) changed the same code:

- archiveSamples.js: combined. Config secrets are scrubbed, samples are
  staged in a private mkdtemp directory that is removed afterwards, and
  the tar is portable and lists the staged files (dashpay#6316). The archive
  name is Windows-safe, the archive is packed into a `wx` 0600 partial
  file renamed into place inside its cleanup guard, and its path is
  returned (dashpay#6317). The staging directory and the mkdtemp prefix use the
  Windows-safe name. When the archive fails, the staging directory is
  removed inside a guard, so the error that stopped the archive is the
  one reported, as dashpay#6317 already did for the partial file.
- report.js: passes the config and prints the returned archive path.
- collectSamplesTaskFactory.js: both sides' imports.
- archiveSamples.spec.js (add/add): v5.1's tests take the archive path
  from the return value; the "did not write" test plants a directory
  under both earlier staging names; v5.2's tests sit in an
  "archive file" block and pass the config. New test: the packing error
  is reported when removing the staged files fails too (fails on a plain
  `finally`, passes on the resolution).
- collectSamplesTaskFactory.spec.js: both sides' imports.

Merged without mergiraf (core.attributesFile=/dev/null).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-self-review Waiting for the author to post /self-reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants