News for hackers. Stuff that matters.
Re:I Nearly Lost All of My Data by walterbell on Saturday January 19, 2019 @08:41PM (#18950413)
> Encrypted offsite backups should have forward secrecy. So different keys for each file and keys file gets backed up encrypted.

Any references on PFS for backups? Was there no existing OSS backup solution that implements PFS?

Re:I Nearly Lost All of My Data by cyphar on Saturday January 19, 2019 @09:09PM (#18950491)
I'm not sure why you'd want PFS for backups. The idea of backups is that you have a history (not just a simple mirror) and so having PFS intentionally renders older backups unusable (unless you're storing all the keys -- in which case you have somewhat defeated the point of PFS).

Now, PFS would allow you to handle key compromise by making future backups unreadable. But there are other solutions for this (such as upgradeable encryption).

Re:I Nearly Lost All of My Data by 1kGarand on Saturday January 19, 2019 @10:28PM (#18950791)
Most encrypted backup solutions are really bad with protecting keys. Fixed ivs are ok for one file. Not ok for possibly millions of small files. Basically exposed your private key along with your backup.
Re:I Nearly Lost All of My Data by walterbell on Sunday January 20, 2019 @12:35AM (#18951378)
How do you manage millions of keys, if you have millions of small files to be backed up? Would it be ok to have something between 1:all and 1:1?
Re:I Nearly Lost All of My Data by 1kGarand on Sunday January 20, 2019 @02:25AM (#18951661)
Sqlite.