SPB Git

Repository Public

SECURITY.md 1.9 KB 31 lines markdown

1# Security23SP ID & Card Vault is a private, single-owner application. It has no server and no network code; everything it protects stays on one iPhone.45## Summary67- Card records and photographs are encrypted with AES-256-GCM, one random key per card, wrapped by a master key.8- The master key is a Keychain item readable only on this device, only while a passcode is set, and only after Face ID matches the current biometric set. Unlocking the app is reading that key.9- The vault locks when the app leaves the foreground. An opaque curtain hides the app in the app switcher and during screen recording.10- Card numbers are masked; revealing one needs a fresh Face ID check and lasts 30 seconds.11- A bank card's security code (CVV/CVC), its PIN and magnetic-stripe data are never stored. The security code is blacked out in the photograph before it is encrypted.12- Backups (`.spvault`) are fully encrypted with a passphrase (PBKDF2-HMAC-SHA256, 600 000 iterations).13- No analytics, no crash reporter, no third-party code, no iCloud, no Spotlight indexing, no widget.1415Details: [docs/CRYPTOGRAPHY.md](docs/CRYPTOGRAPHY.md), [docs/THREAT_MODEL.md](docs/THREAT_MODEL.md), [docs/BACKUP_FORMAT.md](docs/BACKUP_FORMAT.md), [docs/SECURITY_AUDIT.md](docs/SECURITY_AUDIT.md).1617## Limits you should know1819- iOS does not allow an app to prevent screenshots. SP Vault detects them and tells you; it cannot stop them.20- If Face ID is reset and no recovery passphrase was set, only a `.spvault` backup can bring the cards back.21- A recovery or backup passphrase that is lost cannot be recovered by anyone.2223## Repository rules2425- Never commit a real card photograph, a `.spvault` file, a signing key or a provisioning profile (`.gitignore` covers them).26- Tests, screenshots and demonstrations use only the fictitious cards drawn by `DemoCardFactory` (invented issuers, "SPECIMEN" watermark, published test numbers).2728## Reporting2930Security questions: admin@spboucher.ai.31
Files main
Menu

Theme