Security
How Password365 protects your data, in plain words and in detail.
Principles
- Your data is encrypted on your device before it is written anywhere.
- Only you hold the keys. We never see your master password, your Secret Key or your items, and we cannot recover them.
- Devices sync directly with each other. There is no Password365 server.
- The app works without the internet. The only online feature, the breached-password check, is off until you turn it on.
Unlocking your vault
- Your master password is stretched with Argon2id (256 MB of memory on computers, 128 MB on phones), which makes every guess slow and costly.
- Your Secret Key — 128 random bits created on your device — is mixed in with HKDF-SHA-256. A copy of your vault cannot be attacked with password guesses alone.
- After a few wrong passwords in a row, each new try has to wait longer.
Encrypting your items
- Every item is encrypted with XChaCha20-Poly1305, with a random nonce each time. Any change to the encrypted data is detected and refused.
- Each encrypted record is bound to its vault, its item and its version, so records cannot be swapped or replayed.
- On iPhone, the vault file also gets the system's file protection, and Face ID unlock keeps its key in the Secure Enclave–protected Keychain, for 14 days at most before your master password is needed again.
Syncing between devices
- Pairing uses a QR code shown on your computer: the phone and the computer authenticate each other with it before anything is exchanged.
- Every sync runs over an end-to-end encrypted channel (the Noise protocol with X25519), on your local network.
- A device can be removed from your account at any time.
What leaves your device
- Nothing, by default.
- If you turn on the breached-password check, the first 5 characters of the SHA-1 hash of each password are sent to Have I Been Pwned, which answers with every matching hash (k-anonymity). The password never leaves your device.
Checked in the open
- The cryptography is written down in a detailed specification, with test vectors, and checked by automated tests on every change.