Curio 2.9 · Software & Security Architecture

Built to outlast cloud startups.
Secured by verifiable mathematics.

Curio is a clean-room native Swift 6 application built exclusively on Apple system frameworks and SQLite3. We operate zero user accounts, zero cloud databases, and zero telemetry servers — so your collections remain fast, private, and yours decades from now.

Swift 6 Strict Concurrency SQLite3 + FTS5 + PRAGMA secure_delete XWingMLKEM768X25519 PQ-KEM AES-256-GCM + HKDF-SHA256 0 Third-Party SDKs
Curio 2.6 running natively across macOS and iOS with shared CurioCore SQLite engine
1 · Shared Multiplatform Core (CurioCore)

One deterministic engine across Mac, iPhone, and iPad.

Instead of wrapping a web view or Electron runtime, Curio compiles to native Apple Silicon machine code with shared persistence, indexing, and cryptography across macOS 15+, iOS 18+, and iPadOS 18+.

⛁

Normalized SQLite3 + FTS5

Typed attributes live in composite B-tree indexed tables alongside a normalized document_links relational graph and an FTS5 prefix index for sub-millisecond search across tens of thousands of items.

ƒ

Non-eval AST Formula Engine

Formulas parse into a strongly typed Abstract Syntax Tree supporting cross-collection dot-notation ({Link.Field}), cycle guards, date diffs, and LINK_SUM / LINK_AVG rollups without dynamic code execution.

◈

Liquid Glass Without Blur Stacking

Curio strictly separates the floating functional Liquid Glass control layer from elevated semantic content cards — maintaining crisp legibility, 120Hz scrolling, and full Reduce Transparency support.

2 · Network Lockdown & At-Rest Vaults

Offline Mode ON by default. True disk-level vault encryption.

Most “local” apps still open sockets on launch for feature flags, crash analytics, or account pings. Curio’s NetworkBoundaryGuard.secureFetch blocks all outbound DNS and HTTPS traffic out of the box — verified as 0 packets in Little Snitch and LuLu until you explicitly opt in to Online Catalog Auto-Fill.

  • True Cryptographic Collection Locks: Locking a collection encrypts every field row (value_tag = 'vault_enc') with AES-256-GCM binding collectionID:fieldID as AAD, purges plaintext tokens from documents_fts, and encrypts attached MediaVault images (CURIOENC) on disk.
  • 28-Character Crockford Decryption Key: Hardware-protected in ThisDeviceOnly Keychain with Touch ID / Face ID Secure Enclave unwrap — zero keys ever stored by Curio.
  • 600,000-Round PBKDF2-HMAC-SHA256 RAM-Only Passphrase: Optional compelled-biometric defense where derived keys live strictly in active memory and are zeroed immediately on lock, sleep, or ⌃⌘L.
  • Forensic Hygiene: SQLite PRAGMA secure_delete = ON zeroes deleted documents on disk; photo imports strip GPS coordinates, camera serials, and EXIF timestamps; copied secrets auto-expire from the clipboard after 30 seconds; and .curioarchive backups use LZFSE + AES-256-GCM.
Curio Privacy and Security settings showing Offline Mode, 28-character Decryption Key, and Vault controls
Curio Linked Devices QR pairing and 60-digit Safety Number verification sheet
3 · Signal-Inspired Post-Quantum Sync (SignalSyncEngine)

How Mac, iPhone & iPad sync with zero cloud trust.

Syncing between desktop and mobile usually forces a trade-off: hand your database to a vendor’s cloud or give up multi-device continuity. Curio 2.6 solves this with a peer-authenticated, post-quantum hybrid cryptographic protocol modeled on Signal’s security principles.

60-Digit Safety Number · 5,200× SHA-512 ● Verified
48291039487712059304 11842904516283934012 85710294835019276438

Per-Device Hybrid PQ Identities

Every Mac, iPhone, and iPad generates its own non-exportable Curve25519 (Ed25519) signing key and Apple CryptoKit XWingMLKEM768X25519 hybrid post-quantum KEM key (ML-KEM-768 + X25519) inside ThisDeviceOnly Keychain. Long-term device identity keys are never copied over any network.

Optical QR Handshake & Epoch Rotation

Scanning a live curio-pair://v1 QR code binds an optical proof token and establishes a quantum-resistant root secret. Selecting Unlink Device inside a peer’s Device Details page immediately increments the group epoch and performs fresh post-quantum KEM re-encapsulation to remaining peers.

Forward-Secret Hash Ratchet

Each outgoing change batch advances an HKDF-SHA256 symmetric chain ratchet to derive a single-use 256-bit message key and immediately zeroes the predecessor key — ensuring past sync batches stay undecipherable even if future state is compromised.

Fixed-Bucket Padded Sealed Envelopes

Payloads are compressed with LZFSE, padded with CSPRNG bytes to fixed 4 KB, 64 KB, or 1 MB buckets, sealed with AES-256-GCM, and written under blinded HMAC-SHA256 filenames so passive observers cannot infer collection names or document counts.

Per-Field HLC Smart Merge & localOnly

SQLite’s field_hlc table tracks Hybrid Logical Clocks per individual field: editing Rating on iPhone and Location on Mac while both are offline merges both edits cleanly, while concurrent Long Notes preserve a [Synced Conflict Copy]. Any collection can also be marked “Keep on This Device Only” (localOnly).

3 Zero-Knowledge Transports (Incl. iCloud Relay)

Sync directly over LAN/Hotspot via Bonjour _curiosync._tcp (permitted while Offline Mode is ON), enable 1-click Encrypted iCloud Relay (ZeroKnowledgeiCloudRelay storing strictly QR-keyed 4 KB/64 KB/1 MB padded ciphertext in private CloudKit or CurioEncryptedRelay with zero titles or schemas), or choose a custom Blind Mailbox folder (Proton Drive, Syncthing, Dropbox, NAS).

4 · Zero-Telemetry Human-Inspectable Diagnostics

Crash & hang diagnostics you read first — never phoned home.

Third-party crash SDKs silently upload stack traces, device identifiers, and memory breadcrumbs to external servers. Curio contains zero crash-reporting or analytics SDKs. Instead, ZeroTelemetryDiagnostics subscribes locally to Apple’s system MetricKit (MXMetricManager) and passes every entry through a deterministic sanitizer before writing to a tiny local ring buffer:

  • DiagnosticSanitizer automatically redacts 28-character Crockford Decryption Keys, Bearer/API tokens, email addresses, UUIDs, macOS/iOS filesystem paths (including paths with spaces), and double-quoted document or collection titles.
  • Nothing is ever uploaded automatically — open Settings → Privacy & Security → Local Diagnostics → Inspect… to read the exact plain-text report line-by-line before choosing whether to copy or clear it.
# Example Human-Inspectable Local Diagnostic Entry
# (Generated on-device; 0 bytes ever transmitted)

[2026-11-14T18:14:02Z] [INFO] [SyncEngine:PQ_EPOCH_OK]
Peer handshake verified (XWingMLKEM768X25519, epoch 2).
Mailbox path: <local-path>
Collection title: "<redacted>"
Peer ID: <uuid> · Decryption key: <redacted-decryption-key>
5 · Don’t Trust — Verify

Audit Curio on your own Mac in 30 seconds.

Every privacy and cryptographic guarantee in Curio 2.6 can be verified directly from macOS Terminal without trusting marketing claims.

# 1. Confirm Developer ID signature & Hardened Runtime
codesign --verify --deep --strict --verbose=2 /Applications/Curio.app

# 2. Verify zero third-party analytics, crash, or network SDKs are linked
otool -L /Applications/Curio.app/Contents/MacOS/Curio

# 3. Confirm SQLite secure_delete is active (overwrites deleted rows with zeroes)
sqlite3 "$HOME/Library/Containers/com.curiodb.app/Data/Library/Application Support/Curio/curio.sqlite" "PRAGMA secure_delete;"
# Output: 1

# 4. Verify locked collection values are encrypted (AES-256-GCM 'vault_enc') & FTS5 is purged
sqlite3 "$HOME/Library/Containers/com.curiodb.app/Data/Library/Application Support/Curio/curio.sqlite" \
  "SELECT value_tag, length(secret_blob) FROM document_values WHERE value_tag = 'vault_enc' LIMIT 5;"
Download Curio 2.9 Free Read Full Sync & Vault Documentation Read Privacy Policy