Remix.run Logo
▲ lxgr 12 hours ago

What does this scheme gain in security over one where vaults are client-side encrypted and servers store and synchronize vaults as opaque blobs, or mildly structured rows of blobs?

▲curun1r 7 hours ago | parent [-]

It mostly limits the data that is online and available to be hacked at any time. If a discovery server is hacked and starts trying to MitM the sync for later decryption, only the in-flight passwords would be compromised, not the entire vault. If a hack is detected, a simple date range between when the hack occurred and when it was detected and fixed could be used by clients to enumerate all affected passwords that need to be changed. Also, clients wouldn’t have to use the same discovery servers each time, making it harder for attackers to target any specific user. If a nation state (the most likely entity capable of decrypting a full vault blob) is targeting a dissident, they’d have to compromise all discovery servers the clients might use rather than just a single server holding the entire vault. Then they’d have to wait while they capture data slowly over time. If a vault is online in its entirety, even if it’s encrypted, the hack only needs to last seconds before it’s detected for the attacker to get everything.

▲lxgr 6 hours ago | parent [-]

> If a discovery server is hacked and starts trying to MitM the sync for later decryption, only the in-flight passwords would be compromised, not the entire vault.

So there is no way to bootstrap a new client at all?

> If a discovery server is hacked and starts trying to MitM the sync for later decryption, only the in-flight passwords would be compromised

Isn't the data in transit encrypted anyway?

▲curun1r 6 hours ago | parent [-]

Bootstrapping is done directly, usually by QR code. This is when encryption keys/certificates are shared. Needing to have both devices in the same location and, possibly, on the same LAN during bootstrapping is not an unreasonable requirement.

Data is encrypted in transit, but even ephemeral, encrypted data can be captured for offline decryption later. So picture the NSA compromising a discovery server for a month and capturing all in-flight synchronization data. It may take them more months to actually decrypt it, but those passwords would still be considered compromised.