markqvist___RNode_Firmware/scripts
GlassOnTin 1672a65475 Add IFAC crypto test vectors — all 4 tests pass
Firmware crypto test (debug command 'C') validates IfacAuth.h
against test vectors generated by scripts/test_ifac.py from
Reticulum's Python implementation:

  pk:   Ed25519 keypair from seed      PASS
  sig:  Ed25519 detached signature     PASS
  hkdf: HKDF-SHA256 mask generation    PASS
  ifac: Full IFAC packet wrapping      PASS

The IFAC crypto implementation matches Reticulum exactly.
The beacon reception failure is NOT a crypto bug — likely
an IFAC key provisioning issue (NVS storage mismatch) or
a beacon packet format issue before IFAC is applied.

Run: ./scripts/screenshot.py crypto
Generate vectors: python3 scripts/test_ifac.py

Also: guarded profiling variables for non-T-Watch builds
so T-Beam Supreme and other targets compile cleanly.
2026-03-29 13:16:17 +01:00
..
profile_baseline.json Save profile baseline, add --save option to profile command 2026-03-29 11:00:06 +01:00
profile_provisioned.json Add provisioned radio profile baseline 2026-03-29 11:27:36 +01:00
screenshot.py Add IFAC crypto test vectors — all 4 tests pass 2026-03-29 13:16:17 +01:00
test_ifac.py Add IFAC crypto test vectors — all 4 tests pass 2026-03-29 13:16:17 +01:00