Ed25519 Manifest Verification (DESTINY-MODELS-V1) & Apple Silicon 273 GB/s Decode Sizing Walkthrough

#2
by karany97 - opened
Destiny by Nandai Jewels org
•
edited 6 days ago Hugging Face CLI

DESTINY-MODELS-V1 Ed25519 Manifest Signing + Apple Silicon 273 GB/s M4 Pro Bandwidth Sizing

Two cryptographic and hardware-sizing upgrades landed on karany97/destiny in 4e9b17d8 inside mcp/destiny_mcp_server.py (io.github.karany97/destiny@2.0.0, MIT, pure Python >=3.10 stdlib):

1. Fail-Closed Ed25519 Manifest Verification & Release Cross-Checks

  • list_destiny_models verifies the Ed25519 signature (kid: destiny-ota-ed25519-v1, public_key_b64: 7y6YzFY2ZxGdGx5secvm35hiuE9G7R6YTD0rbPcb8vA=) over the exact byte string "DESTINY-MODELS-V1." + payload_b64u from models.nandai.org/v1/models-manifest.json (38 weights) by wrapping the raw 32-byte key in ASN.1 SubjectPublicKeyInfo DER (302a300506032b6570032100) and invoking openssl pkeyutl -verify -rawin (resolving Homebrew OpenSSL 3 on macOS automatically and falling back gracefully if -rawin is unavailable). Single-bit signature or payload tampering fails closed (ok: false, ed25519_signature_verified: false).
  • verify_destiny_release cross-verifies nandai.org/appcast.json (2.0.0, build 2000, 271,345,746 B) against Sparkle XML dl.nandai.org/appcast.xml (sparkle:edSignature + matching byte length & SHA-256), GitHub v2.0.0 SHA256SUMS.txt (2da76c011c1bd511cc5547ff152b8b7382cf7793cc5d7e13078ba317abd54a3e), and HEAD DMG byte length.

2. estimate_apple_silicon_tok_per_sec & 273 GB/s M4 Pro Unified Memory Decode Sizing

Using manufacturer memory-bandwidth specifications (M1 68.25 GB/s, M1/M2 Pro 200, M3 Pro 150, M3 Max 300/400, M4 120, M4 Pro 273, M4 Max 546, M3 Ultra / M4 Ultra 819 GB/s), live manifest byte counts, and MoE vs dense active-parameter ratios (ctx = 8192, kv_quant = q8_0 on 24 GB M4 Pro, 18.0 GiB usable Metal wired pool):

Model Live Bytes Active Ratio Required / Headroom Roofline vs Realistic Metal Decode
lfm2-8b-a1b-q8 (MoE) 8,868,428,480 B 0.24 8.834 GiB / +9.17 GiB 127.37 tok/s ceiling · 78.33 tok/s realistic (matches 78.62 tok/s @ 1K)
qwen3.8-27b-ud-q4_k_m (Dense) 16,817,244,384 B 1.00 16.300 GiB / +1.70 GiB 16.21 tok/s ceiling · 9.97 tok/s solo (29.37 tok/s w/ DFlash2 draft)

Try interactive sizing on Apple Silicon GGUF VRAM Calculator, inspect M4 Pro Benchmarks, browse Destiny-M4-Pro-Hardware-Benchmarks, view Zenodo DOI 10.5281/zenodo.24642737, or review security documentation at nandai.org/security/.

Sign up or log in to comment