Totus Secure Notes · Firebase Hosting · Built 2026-07-27

Security — Totus Secure Notes

Effective date: June 20, 2026

Last updated: July 13, 2026

App: Totus Secure Notes · com.totuslife.TotusSecureNotes

Public URL: https://totus--notes.web.app/security

Contact: totuslife7@gmail.com

Summary

Totus Secure Notes is designed as a local-first encrypted vault. This Security Policy describes technical safeguards. The app is a productivity tool, not a certified medical device or HIPAA/PIPEDA-certified platform.

1. Three-layer encryption (v1.2.4+)

LayerMethodImplementation
1 — Key derivationArgon2id (memory-hard KDF)@noble/hashes/argon2.js — new vaults and saves after unlock
2 — Hardware key wrapSession DEK in Secure Enclave / Android Keystoreexpo-secure-store via services/keyWrap.ts — DEK not kept plaintext in app storage
3 — Envelope + integrityPer-vault random DEK, AES-256-GCM, HMAC on .totus exportsservices/encryption.ts, services/vaultBundle.ts

Legacy migration

Vaults created before v1.2.4 use PBKDF2 (100,000 iterations) with direct key encryption (EncryptedPayload v1). These vaults decrypt normally. On the next save (or password change), data is re-encrypted with Argon2id + envelope (EncryptedPayload v2).

KDF parameters (salt, Argon2 t/m/p) are stored in the encrypted payload metadata.

Web vault viewer

The read-only browser path at /vault uses password-only envelope decryption. Hardware key wrap (Layer 2) is not available on web — this is expected.

#### What the web vault protects

#### What the web vault cannot protect

#### Recommended use

This viewer is a productivity tool, not HIPAA/PIPEDA-certified infrastructure.

2. Encryption details

ComponentMethod
Vault fileAES-256-GCM
Key derivation (new)Argon2id (default: t=3, m=16384 KiB, p=1)
Key derivation (legacy)PBKDF2-SHA256 (100,000 iterations)
SessionDerived keys zeroized on lock (utils/zeroize.ts)
AttachmentsEncrypted with vault session DEK (photos, audio, video, voice memos)
Trip dataSeparate encrypted store (trips.enc)
.totus bundle exportHMAC-SHA256 integrity tag (tamper detection)

We cannot recover your master password or decrypt your vault.

3. Authentication

4. Device protections

5. Template AI (Pro Lifetime)

6. Web vault export (desktop access)

7. Distribution integrity

Production builds are distributed via Google Play (AAB) and signed with our upload key registered in Play App Signing. We may verify install source using Google Play Integrity API to reduce piracy and protect IAP.

We do not operate a backend that stores these tokens linked to your notes.

8. Third-party SDK security

SDKs (Firebase, AdMob, expo-iap, maps) are chosen from reputable providers and configured to minimize data collection. See Privacy Policy and Data safety summary.

9. Export and backup risk

Encrypted exports (.enc, .totus) are only as secure as where you store them. Protect backup files like passwords.

10. Reporting vulnerabilities

Email totuslife7@gmail.com with subject “Security report — Totus Secure Notes”. We appreciate responsible disclosure.

11. Limitations

No system is 100% secure. You are responsible for device security, password choice, and compliance with workplace policies (e.g. PHI handling).

Organizational compliance (HIPAA BAA, PIPEDA accountability programs, FOIPPA records management) requires policies, training, and legal review beyond what any app alone can provide.

Related: Privacy Policy · [Compliance roadmap](COMPLIANCE_ROADMAP.md) · [Health app review prep](HEALTH_APP_REVIEW.md) · Permissions

All policies · totuslife7@gmail.com