Skip to main content

Module auth

Module auth 

Source
Expand description

Cryptographic identity for Joy’s Trust Model.

Auth provides passphrase-derived Ed25519 identity keys using Argon2id for key derivation. This is the Trustship pillar of AI Governance: it answers “who is this?” with cryptographic proof rather than self-declaration.

Key hierarchy:

Passphrase + Salt --[Argon2id]--> DerivedKey --[Ed25519]--> IdentityKeypair

Modules§

delegation
Stable per-(human, AI) delegation private keys (ADR-033).
derive
Argon2id key derivation from passphrase and project-bound salt.
session
Session management for authenticated Joy operations.
sign
Ed25519 identity keypair for signing and verification.
token
AI delegation tokens with dual signatures (ADR-023, refined by ADR-033).