mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-06-06 14:23:56 +02:00
668ce16dc7
Gate messages now propagate via the Infonet hashchain as encrypted blobs — every node syncs them through normal chain sync while only Gate members with MLS keys can decrypt. Added mesh reputation system, peer push workers, voluntary Wormhole opt-in for node participation, fork recovery, killwormhole scripts, obfuscated terminology, and hardened the self-updater to protect encryption keys and chain state during updates. New features: Shodan search, train tracking, Sentinel Hub imagery, 8 new intelligence layers, CCTV expansion to 11,000+ cameras across 6 countries, Mesh Terminal CLI, prediction markets, desktop-shell scaffold, and comprehensive mesh test suite (215 frontend + backend tests passing). Community contributors: @wa1id, @AlborzNazari, @adust09, @Xpirix, @imqdcr, @csysp, @suranyami, @chr0n1x, @johan-martensson, @singularfailure, @smithbh, @OrfeoTerkuci, @deuza, @tm-const, @Elhard1, @ttulttul
20 lines
652 B
Python
20 lines
652 B
Python
import json
|
|
from pathlib import Path
|
|
|
|
from services.mesh.mesh_crypto import build_signature_payload
|
|
|
|
|
|
def test_mesh_canonical_fixtures() -> None:
|
|
root = Path(__file__).resolve().parents[3]
|
|
fixtures_path = root / "docs" / "mesh" / "mesh-canonical-fixtures.json"
|
|
fixtures = json.loads(fixtures_path.read_text(encoding="utf-8"))
|
|
|
|
for case in fixtures:
|
|
result = build_signature_payload(
|
|
event_type=case["event_type"],
|
|
node_id=case["node_id"],
|
|
sequence=case["sequence"],
|
|
payload=case["payload"],
|
|
)
|
|
assert result == case["expected"], f"fixture mismatch: {case['name']}"
|