All articles
Back to Developers
Identity & security

Secrets & runtime delivery

Installation-bound secrets, AES-256-GCM, TPM-sealed keys, idempotent OIDC delivery and the no-plaintext boundary.

7 min read Updated: 20 October 2026
Markdown

Boundary

Secrets live separately from the platform snapshot, app manifest, operation journal and normal app storage. Each record is bound to a complete AppIdentity and a validated namespaced purpose.

Encryption

  • Every value is encrypted independently with AES-256-GCM and a random 96-bit nonce.
  • Authenticated data includes format version, secret ID, app identity, purpose, key ID and creation timestamp.
  • SQLite stores metadata, key ID, nonce and ciphertext — never the root key.
  • The 256-bit root key comes from a SecretEncryptionKeyProvider.
  • Tpm2UnsealKeyProvider invokes a fixed absolute tpm2_unseal executable without a shell and accepts exactly 32 bytes.
  • Missing keys and authentication failures fail closed.

Delivery

Confidential OIDC clients are registered by storing the generated secret, persisting only its digest, verifying declaration-derived metadata on replay, and delivering the same value through the privileged runtime channel before the journal step becomes applied.

text
operation + installation + client identity
        │
        ▼
decrypt stored OIDC secret
        │
        ▼
Unix peer-credential authenticated delivery
        │
        ▼
installation namespace read-only secret mount

Non-negotiables

  • No secret in the manifest, platform snapshot, React bundle, command line or environment variables.
  • No secret in logs or error messages.
  • Runtime adapters must acknowledge an identical replay and reject changed material.
  • Update-time credential rotation and its rollback policy remain open work.

Need more context? Read the source or open a discussion with the project.

On this page