CYBER WELFARE

Protect your Digital Privacy

How a password vault works: the technology, explained plainly

Handing all your credentials to a program is an act of trust. And trust, where security is concerned, should rest on a minimum understanding of how the thing works — not on reassurance.

This post explains what happens inside a password vault without taking anything for granted: what occurs when you type the master password, why not even the provider can read your store, and what changes between the architectures available.

It is the technology side of the recommendation storing passwords safely.

The underlying principle: the key does not travel

There is one central idea: the master password never leaves your device.

When you type it, the vault does not send it to any server to be checked. It uses it locally to derive a key, and with that key it opens the store — which is already on your device, in encrypted form.

What reaches the provider’s server, if syncing is on, is only the already encrypted store. Unreadable without the key, which the provider does not hold.

This architecture has a name: zero knowledge. It means the provider keeps your data without being able to see it.

It has one direct consequence, and it is important to accept it: if you forget the master password, nobody can recover it for you. That is not the service being unhelpful — it is the very same property that stops anyone else reading your store.

How a password becomes a key

The master password, on its own, is not a good encryption key: too short and too human.

The vault transforms it using a key derivation function: a deliberately slow process that repeats the operation many thousands of times before producing the final key.

The slowness is the point. For you the difference is imperceptible — a fraction of a second, once per session. For anyone trying millions of passwords against a stolen store, every attempt costs the same amount of time, and the total cost becomes prohibitive.

A unique random value is added to the process for each user (the salt), which prevents reusing calculations already done against other stores.

What this means in practice: the strength of the vault depends almost entirely on the length of your master password. Derivation multiplies the cost of each attempt, but it cannot make up for a short or predictable passphrase.

How the store is encrypted

Once the key is derived, the vault encrypts the contents with a modern symmetric algorithm — in practice almost always AES-256 or ChaCha20. These are public standards, verified by years of independent analysis.

One detail worth knowing: most vaults encrypt the fields, not the whole file in one block. Passwords, notes and attachments are protected; some metadata — such as the site addresses — may be less so, in order to allow search and autofill.

This is not a hidden flaw: it is a declared trade-off between security and usability. But it explains why, if a provider is breached, the list of services you use can turn out to be more exposed than the passwords.

How autofill works

It is the feature you use every day, and it is also a protection that often goes unrecognised as one.

The vault associates each credential with an address. When you open a page, it compares the real address with the registered one: if they do not match, it does not fill anything in.

This means that on a fraudulent copy of a site — a similar but not identical address — the vault stays put. A human eye may miss the difference; an automatic comparison does not.

From which a useful rule: if the vault does not fill in on a site where it usually does, stop and check the address. Most of the time it is a changed domain; sometimes it is a phishing attempt.

Cyber Security for All: Online Security, Passwords

On the page that opens, choose:

Subscription · not needed
Option to choose: Single course · coupon terms
  • The best available terms
  • Valid until 25 November, for a limited number of enrolments
  • Lifetime access to the content, updates included

The architectures available

Three models, with different trade-offs. None is superior in the abstract: it depends on the context.

Synced cloud vault

The encrypted store is kept by the provider and synced across your devices.

  • Advantages: works anywhere, automatic syncing, easier recovery if you lose a device, built-in sharing, backups handled by the provider.
  • Limits: you depend on the service continuing to exist; a provider breach exposes every user’s encrypted store — protected, but in someone else’s hands.
  • Suits: most individuals and small organisations.
  • Complexity: basic.

Local vault with your own syncing

The store is a file you keep yourself and, if you wish, sync with a tool of your own.

  • Advantages: no third party holds your data; complete control over where the file lives; no dependence on a subscription.
  • Limits: backups are your responsibility; syncing has to be set up; if you lose the file without a copy, the store is gone; collaboration features are limited.
  • Suits: people with particular control requirements and the discipline to manage copies.
  • Complexity: intermediate.

Vault built into the operating system or browser

Credentials are kept by the browser or the system you already use.

  • Advantages: nothing to install, a smooth experience, free, and by now integrated with passkeys.
  • Limits: works well inside its own ecosystem and less well outside it; analysis and sharing features are more limited; exporting to another tool can be awkward. The protection depends entirely on how well the device’s main account is protected.
  • Suits: people who live in a single ecosystem, and it is the step immediately above using nothing.
  • Complexity: basic.

The features that matter when choosing

FeatureWhat it doesHow much it weighs
Zero-knowledge architectureThe provider cannot read your storeEssential
Second factor on vault accessProtects even if the master password is knownEssential
Recovery codesLet you get back in without your usual deviceEssential
Password analysisFinds weak, duplicated and exposed entriesHigh
Data exportLets you change tool without being stuckHigh
Availability on all your devicesStops you going back to remembering passwordsHigh
Autofill with address verificationExtra protection against fake sitesHigh
Secure sharingAvoids passwords sent in messagesMedium, high if you work in a team
Passkey supportPrepares you for the next stepMedium, growing
Published independent security auditsIndicates provider transparencyMedium
Emergency accessLets a designated contact step inMedium
Change historyLets you notice alterationsMedium

The relationship with passkeys

Passkeys replace the password with a credential tied to the device, unlocked by fingerprint, face or PIN. There is no longer a word to steal or to reuse.

A password vault is not in opposition to this: most vaults now also store passkeys, syncing them across devices.

In practice the two will coexist for a long time: many services already support passkeys, a great many others do not. The vault remains the tool that holds both together.

How syncing works

This is the part that raises the most doubts, because it seems to contradict the principle: if the store is on several devices, does it not mean it travels around?

It travels, but already closed. The flow is this:

  1. you change an entry on one device;
  2. the device encrypts the change locally, with the key derived from your master password;
  3. it sends the already-encrypted block to the server;
  4. your other devices download it;
  5. each one opens it locally, because each derived the same key when you typed the master password.

Through all of this the server works as a depot: it receives and delivers sealed parcels, with no way to open them.

From which a practical detail that is often misunderstood: the first sign-in on a new device requires the master password; a fingerprint is not enough. The fingerprint unlocks a key that has already been derived and stored locally; on a new device that key does not yet exist. This is exactly the moment at which people discover they no longer remember the master password.

Why not all vaults are equivalent

Two tools can claim the same principles and differ on points that matter.

  • What is encrypted and what is not. Passwords and notes, almost always. Site addresses, sometimes not, to allow search and autofill. It is worth knowing what your own tool declares.
  • How strong the key derivation is. The parameters directly affect the cost of an attempt. Serious providers state them and update them over time.
  • Whether the code can be inspected. An open project, or one subject to published independent audits, offers one more element of control.
  • What happens if you stop paying. Some services keep read-only access, others restrict syncing. Better to know beforehand.
  • How real the export is. A complete export in a standard format is what lets you change your mind without being locked in.

What a password vault does not do

An honest note, because no technology covers every case.

  • It does not protect a compromised device. If unwanted software is on the device, an unlocked store is as readable as any other data.
  • It does not defend you if you approve. If you deliberately type your credentials on a fake site, or approve a verification request you did not start, technology cannot step in.
  • It does not recover the master password. That is the direct price of zero knowledge.
  • It does not make imported passwords safe. They stay exactly as they were until you replace them.
  • It does not remove the need for a second factor on the accounts it protects.

How to choose

If you are an individual. A cloud vault with zero-knowledge architecture, a second factor enabled and availability on all your devices. That is the combination with the best ratio of protection to effort.

If you are a professional. Add: separation between personal and work credentials, an export tested at least once, and consideration of a hardware key as second factor.

If you manage a group. You need shared folders with permissions, access management when people join or leave, and a written and enforced rule on what may be shared.

A rule of thumb. The best vault is the one you will actually use on every device. A more sophisticated but awkward tool gets worked around within two weeks, and you are back to remembering passwords.

How this connects to the Cyber Welfare Framework

PillarWhat this content contributes
SkillsUnderstanding what a vault really protects and where it cannot help
AwarenessChoosing a tool for how it works, not for how well it is advertised
Secure BehaviourStopping when autofill does not trigger, rather than typing it in by hand

Reference level: FL4 — Skilled. This is the level at which a tool is judged on its mechanisms and its declared limits.

Conclusion

A password vault is not a black box. Its operation comes down to one sentence: the key stays with you, the store travels already sealed.

Everything else follows from that — including the fact that nobody can recover your master password, which is at once its strongest guarantee and its only real fragility.

What to do next. Check one single thing about the vault you use or are considering: that it states a zero-knowledge architecture and offers a second factor on vault access. Those are the two requirements not worth compromising on.

Related content

Related resources

Short reads from the Resources section, for anyone who wants to stop on a single aspect:

Start with the first step: the Cyber Welfare Programme guides you free of charge, one recommendation at a time.