Repository navigation
ci: let QuantumExplorer sign dashmate release checksums - #6274
Conversation
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]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
|
✅ Final review complete — no blockers (commit 1acba3a) · triage: low |
thepastaclaw
left a comment
There was a problem hiding this comment.
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:
lowbygpt-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); agentphase1-reviewer - Phase 1 model:
glm-5.3-flash— zai quota: 5h 94% left, weekly 22% left; passed overgemini-3.8-flash-high(lane failed) - Fresh verifier:
gpt-6.2-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.2-sol— general (completed, effort medium); agentphase2-reviewer,gpt-6.2-sol— architecture-layering (completed, effort medium); agentphase2-reviewer,gpt-6.2-sol— security-auditor (completed, effort medium); agentphase2-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.
|
Bots are done — your move: post |
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]>
|
Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
thepastaclaw
left a comment
There was a problem hiding this comment.
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:
lowbygpt-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); agentphase1-reviewer - Phase 1 model:
glm-5.3-flash— zai quota: 5h 69% left, weekly 17% left; passed overgemini-3.8-flash-high(lane failed) - Fresh verifier:
gpt-6.2-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.2-sol— general (completed, effort medium); agentphase2-reviewer,gpt-6.2-sol— architecture-layering (completed, effort medium); agentphase2-reviewer,gpt-6.2-sol— security-auditor (completed, effort medium); agentphase2-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.
|
Bots are done — your move: post |
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]>
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]>
Issue being fixed or feature implemented
The dashmate release checksums (
SHA256SUMS) can only be signed by keys listed inALLOWED_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 fingerprint556CBC89DA31CAD4928F0926D59CAD3E1BEAFEF0(ed25519, created 2026-11-25, expires 2028-11-24) toALLOWED_SIGNERSnext 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 idD59CAD3E1BEAFEF0)..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: newtest_should_accept_both_maintainers_keyspins 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.Breaking Changes
None.
Checklist:
structure.rs, regeneratedgrovedb-structure.json, and checked the structure viewer link posted on this pull requestFor repository code-owners and collaborators only
🤖 Generated with Claude Code
PR Hygiene ·
1acba3a/self-reviewedclaude— you own itgithub(.github/scripts/tests/test_sign_dashmate_checksums.py) — ktechmidasWhen every merge requirement is met, the
PR Hygienecheck passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.Summary by CodeRabbit