Comparison: Stateful vs. Stateless

TrustForge eliminates the need for database round-trips during authorization checks.

FeatureLegacy JWT/OAuthTrustForge Protocol
Verification LatencyHigh (Requires DB Read / Network JWKS)Low (<1ms in-memory calculation)
CryptographyVaried / Implementation dependentStrict Ed25519 / X25519
IoT / Bare-MetalDifficult / OS dependentNative no_std embedded support

Cryptographic Boundary

Session boundaries in TrustForge are secured via X25519 key agreements, signed with Ed25519 keys, and symmetrically encrypted via ChaCha20-Poly1305.

Edge Verification

When an agent presents a Capability and Proof to an edge node, the node verifies the signature against the agent's known public key. If valid, the edge node evaluates the Capability against a localized Rego policy schema. If both pass, the action is permitted.