> For example, if you store your database on a cloud, say, Dropbox, Dropbox could switch your Dropbox.com file with google.com file
That's sad- could we include a hash to detect stuff like this?
That's sad- could we include a hash to detect stuff like this?
[1] https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work
OpenPGP (GPG / etc.) use a MAC on the file, so an attacker can't modify the encrypted file and still get it to decrypt (at least without some flag to ignore broken MAC). An attacker could create a new password file for you for their domain, but then they'd have to make up a random password for you that's not going to match your FriendFace/Congo/Vigintillion password.