-
-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking change between b7 and b8 for encrypted repos #8235
Comments
Until a release is made, there can be incompatible changes. So, unless you can reproduce with a repo made with b8, this is not a bug. You should just reinitialise your testing repo in such cases. |
Breaking changes are expected within a threshold of tolerance. Generally speaking, though, for a wildly popular project that is likely to have a fair amount of bleeding edge users, a breaking change done at the core of the encryption routines for AEAD cipher modes, should at least carry a sufficiently visible 'caveat emptor'. Do as you see fit with this report, but beware it is very likely going to be a problem with compatibility between releases unless the actual culprit is found. Like I described earlier, it seems the padding parameters were changed, which is most definitely something you should not do as a rule of thumb. Best case you get this error, worst case you can end up with a corrupted stream (partial or total loss). |
No, you have to expect breaking changes of all sorts as long as it is in alpha/beta and these should be only used for testing. For production backups, use the stable releases (1.2.x currently, soon 1.4.x). |
A breaking change was introduced sometime in b8.
Trying to access a repository created with b7 causes the following error:
The personal details have been redacted out as they are irrelevant.
The issue is likely caused by a change in the padding parameters.
This seems to have impacted other users:
https://www.reddit.com/r/BorgBackup/comments/1b4u2r8/borg_200b8_is_not_compatible_with_200b7/
Have you checked borgbackup docs, FAQ, and open GitHub issues?
Yes
Is this a BUG / ISSUE report or a QUESTION?
BUG
System information. For client/server mode post info for both machines.
Your borg version (borg -V).
2.0.0b8
Operating system (distribution) and version.
Linux amd64
The text was updated successfully, but these errors were encountered: