ClipLedger

Security

One Ledger Key protects every layer, while the local database keeps its own device-specific key.

Ledger Key

ClipLedger creates 256 random bits on first launch. The key is stored in iCloud Keychain as synchronizable and only available while your device is unlocked.

Three derived keys

A device salt and HKDF create the SQLCipher database key.

HKDF creates an AES-256-GCM key for larger files, each with a unique nonce.

HKDF creates a separate AES-256-GCM key for CloudKit payloads.

Recovery

A verified 24-word recovery phrase can move the Ledger Key without iCloud Keychain. The phrase is never stored. Without the key or phrase, nobody can recover the ledger, including us.