LockRoll's cryptography is built on Apple CryptoKit and libsodium Argon2id, verified by automated unit and persistence tests. An independent third-party security audit has not yet been completed and is planned as a future milestone.
1. Per-Space Keys & Per-File AES-256-GCM
Every LockRoll space receives its own random 32-byte root key. Each stored original photo, preview derivative, thumbnail, video stream, and space manifest is encrypted with a unique random per-file key using authenticated AES-256-GCM (Apple CryptoKit). Associated authenticated data binds each file to its space and canonical relative path so files cannot be silently swapped across spaces.
2. Credential Wrapping & iOS 26 ML-KEM-1024 Hybrid Protection
- Master Password: Derived with Argon2id (libsodium) using random per-envelope salts to wrap management and recovery access.
- Daily 4×4 Pattern: Combined with a device-bound secret stored in the iOS Keychain under
WhenPasscodeSetThisDeviceOnly, plus escalating lockout cooldowns after consecutive wrong attempts. - iOS 26 Post-Quantum Upgrade: On iOS 26 devices, LockRoll adds an Apple CryptoKit Secure Enclave ML-KEM-1024 hybrid key encapsulation layer for daily unlock—combining post-quantum KEM protection with classical Argon2id + device Keychain binding.
3. Isolated Main & Decoy Spaces
In Independent Spaces mode, each daily 4×4 pattern unwraps only its matching space root key. During daily unlock and normal browsing, LockRoll loads only the unlocked space's decrypted in-memory session and never displays a space switcher or indicator revealing that other spaces exist. Only Master Password verification opens Access Settings where all spaces can be managed.
4. Authenticated Video Playback & Metadata-Free Sharing
- Encrypted Video Playback: Videos stream to AVFoundation through a custom
AVAssetResourceLoaderthat authenticates and decrypts requested byte ranges on the fly—avoiding writing a full plaintext playback.movto disk. - Zero-Metadata Share Copies: Editing preserves originals untouched. Shared JPEG copies and video exports strip GPS coordinates and EXIF camera tags, and temporary share copies are cleaned up after sharing finishes.
5. Portable Encrypted .lockroll Backups
Manual single-space exports protect a random 32-byte archive key with a separate user-chosen backup password via Argon2id and AES-256-GCM, then authenticate all media in 1 MiB AES-256-GCM chunks. Archives exclude your device Keychain secret, daily pattern, and other spaces, and validate manifest hashes and every chunk before replacing local data on restore.
6. Honest Threat-Model Boundaries (What LockRoll Cannot Guarantee)
- Compromised or Unlocked Devices: No iOS app can defend against spyware, jailbroken OS tampering, or someone watching your screen while a space is actively unlocked.
- Apple Photos Originals: Importing a photo copies it into LockRoll; the original remains in Apple Photos (and iCloud Photos if enabled) until you delete it there and clear Recently Deleted.
- Offline Disk Copies & Self-Destruction: Opt-in Self-Destruction Mode triggers only on real in-app unlock attempts; it cannot detect offline forensic disk copies or recall previously exported files.
- Visible Watermarks: Watermarks serve as visual reminders only and cannot prevent screenshots or cropping.
Have a technical security question or vulnerability report? Contact security@lockroll.app.