Skip to content

feat(quorum): real Ed25519 validator signatures (sovereign-key crypto) - #322

Closed
mdheller wants to merge 1 commit into
feat/attest-quorum-verifier-rsfrom
feat/quorum-ed25519-signing
Closed

feat(quorum): real Ed25519 validator signatures (sovereign-key crypto)#322
mdheller wants to merge 1 commit into
feat/attest-quorum-verifier-rsfrom
feat/quorum-ed25519-signing

Conversation

@mdheller

@mdheller mdheller commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Last mile of the quorum verifier: real Ed25519 signature verification. verify_quorum_signed requires each signature to cryptographically verify against the signer's REGISTERED public key over signed_payload_hash — an attacker can't forge a validator's vote without its private key. Ed25519 = NitroKey/sovereign-key form, pure Rust, cross-silicon (aarch64/x86_64/riscv64). Keys pinned out-of-band (Genesis enrollment). Fail-closed: unregistered signer, forged sig, wrong-payload sig, sub-threshold all reject. +4 real-keypair tests (12 quorumd total). Stacked on #321; follow-up ES256/WebAuthn. Not auto-merging.

mdheller added a commit that referenced this pull request Aug 4, 2026
…quorum (Rust fusion)

A device joins the fleet only if BOTH hold: its boot ATTESTS (watchdog_validator::attest_boot,
measured chain vs pinned policy, dm-verity-bound) AND a validator quorum CRYPTOGRAPHICALLY
co-signs THIS enrollment (verify_quorum_signed over enrollment_payload_hash, which binds the
device + its exact measured boot). Neither half alone suffices: an attested boot with no quorum
is a device nobody vouched for; a quorum with no attestation vouches for an unmeasured box.

enroll_device() fuses #321 (attest_boot) + #322 (Ed25519 quorum). quorumd now depends on
watchdog-validator + sha2. Fail-closed; pure Rust, cross-silicon. The payload hash binds the
vote to device+boot so a quorum can't be replayed onto another device.

+3 tests (15 quorumd total): enrolls with both, rejects unattested-boot-with-valid-quorum,
rejects quorum-bound-to-a-different-device. This completes the canon Genesis binding on-device.
@mdheller

mdheller commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Merged into main via #323 (the stack top carried all three commits: attest → Ed25519 quorum → enrollment).

@mdheller mdheller closed this Aug 4, 2026
@mdheller
mdheller deleted the feat/quorum-ed25519-signing branch August 4, 2026 08:02
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