News for hackers. Stuff that matters.
Re:I Nearly Lost All of My Data by blattimwind on Sunday January 20, 2019 @08:00AM (#18952839)
The crypto in Borg is bad. Even has its own page in the docs about how bad it really is. The tl;dr is "there is one AES key per repository and we use this with AES-CTR and trust the remote server to not fiddle with the counter".

https://borgbackup.readthedocs.io/en/stable/internals/securi...

Last time I checked there was still no work being done on improving performance. Multithreading has been on the agenda for years and will probably never come, much like improved crypto.

Re:I Nearly Lost All of My Data by m3nu on Sunday January 20, 2019 @08:47AM (#18953000)
Like many open source projects, Borg is low on developers. The two points you mention are both known and on the agenda for this year. Since you seem to have experience with crypto, why not add a PR? It's all in Python and fairly readable.
Re:I Nearly Lost All of My Data by gpm on Sunday January 20, 2019 @10:43AM (#18953490)
When someone says something is the "holy grail of backups" and it is "gpg-encrypted" I assume it does that well, not it does it poorly right now but might improve in the near future.

Thus his post was valuable to me.

"Why not add a PR" is not a reasonable response to something like this. I'm looking to use a backup system, not create one. If something works so poorly that I'd have to start submitting PRs before using it, I'm far more inclined to go elsewhere.

Re:I Nearly Lost All of My Data by dataflow on Sunday January 20, 2019 @09:37AM (#18953218)
>> Multithreading has been on the agenda for years and will probably never come, much like improved crypto.

> The two points you mention are both known and on the agenda for this year

This is a rather strange response to the above...

Re:I Nearly Lost All of My Data by blattimwind on Sunday January 20, 2019 @10:46AM (#18953508)
Borg isn't really low on developers, it has high churn, i.e. repels developers.
Re:I Nearly Lost All of My Data by are595 on Sunday January 20, 2019 @12:56PM (#18954384)
I'm not sure that's a fair summary. It's very clearly stated that there is authentication performed after encryption.

The MAC should prevent the remote server changing the counter or any encrypted bits.

Re:I Nearly Lost All of My Data by blattimwind on Sunday January 20, 2019 @04:18PM (#18955663)
> When the above attack model is extended to include multiple clients independently updating the same repository, then Borg fails to provide confidentiality
Re:I Nearly Lost All of My Data by 8fingerlouie on Monday January 21, 2019 @05:54AM (#18959433)
Which is why multiple clients are not supported within the same repository.
Re:I Nearly Lost All of My Data by blattimwind on Monday January 21, 2019 @08:42PM (#18965292)
They absolutely are supported.