7 Commits
Author SHA1 Message Date
zeekay b436812dd3 security(crypto): remove fail-open aggregated verifier
crypto/aggregated ThresholdSignature.Verify ignored its message argument and
returned true for any non-empty []byte — a method named Verify that verifies
nothing. Zero importers workspace-wide, so it was never reachable; removing it
before it ever could be. Real threshold verification lives in luxfi/threshold.

Verified: CGO_ENABLED=0 go build ./... clean, no remaining references.
2026-07-25 12:09:39 -07:00
Antje WorringandHanzo Dev 79bc183c6e mlkem/easycrypt: port ML-KEM proofs to current EasyCrypt
Fixed message-type inconsistencies in the model; '^^' is now boolean-xor
(use '^' = RField.exp via Real); import RealOrder; stricter apply/rewrite.
Reproved mlkem_correctness and IND-CCA2 advantage bound.

Verified: all check under easycrypt (z3 + alt-ergo), 0 admits. Part of the
41/41 EasyCrypt corpus that now checks against the current EC build. Added
modeling axioms are trusted-base only (non-negativity, group right-identity,
byte-decode/CT-leakage specs in the same vein as pre-existing primitive
axioms) — no security conclusion assumed, no lemma weakened.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
2026-06-02 11:32:55 -07:00
Hanzo AI 14bff900cc chore: gitignore build artifacts + drop 246 tracked files
dist/.next/target/etc. should never have been tracked.
Regenerated by build pipeline.
2026-06-01 15:20:12 -07:00
Hanzo AI 136a0457f6 chore: rename Comet → Magnetar (decomplect metaphor consistency)
Aligns hqc/slhdsa comments + dudect timing test docs with the canonical
PQ signature family naming:
  Pulsar (M-LWE threshold ML-DSA)
  Corona (R-LWE / Corona wrapper)
  Magnetar (SLH-DSA threshold via GF(257) Shamir)

Old name 'Comet' was the working title for Magnetar during early
development; this commit completes the rename in:
- hqc/hqc.go (family-disjoint gap comment)
- slhdsa/gpu.go (FIPS 205 GPU dispatch header)
- slhdsa/gpu_test.go (test descriptions)

Also includes:
- mlkem/ct/dudect/{decaps,encaps,keygen}_ct.go + .c — timing analysis
  harness improvements (decaps is the most CT-critical ML-KEM routine)
- mlkem/ct/dudect/run-m1-overnight.sh — operator runbook for Apple M1
  overnight timing analysis
- .gitignore — build artifacts (dudect/, *.dylib, *.so, results/)
2026-05-20 16:19:09 -07:00
Hanzo AI cef16f6f26 chore: untrack node_modules, improve .gitignore 2025-12-27 19:04:31 -08:00
Zach Kelling 168492cbac chore: add grpc-server.log to gitignore 2025-12-26 14:26:02 -08:00
Hanzo Dev be4f2e16cf Clean up documentation and update dependencies 2025-11-04 15:54:47 -08:00