Sunlionet

Outside: Trust Model

SunLionet uses offline distribution of signed bundles rather than a central fetch API. This shifts trust to explicit key management and fail-closed verification.

Actors

Trust Anchors

Inside must be configured with a set of trusted Ed25519 signer public keys. A bundle is accepted only if:

No network lookup or “key server” is required.

What the Signature Means

The Ed25519 signature authenticates:

This provides integrity and origin authentication. It does not provide confidentiality unless the payload is encrypted for a recipient.

Recipient Encryption

If cipher="age-x25519", the payload is encrypted for a specific age X25519 recipient public key.

Inside must possess the matching age identity (private key) to decrypt the payload. Verification checks that:

Fail-Closed Rules

Bundles are rejected if any trust-critical condition fails:

Transport Is Not Trusted

The delivery channel is assumed to be:

Therefore: