Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-09-14 | test_is_slow_msgpack: skip test on expected slow msgpack environments | Thomas Waldmann | |
2023-09-14 | allow msgpack 1.0.6 (which has py312 wheels), fixes #7810 | Thomas Waldmann | |
2023-09-14 | allow msgpack 1.0.6(rc1) | Thomas Waldmann | |
2023-09-14 | avoid tarfile deprecation warning for py312 | Thomas Waldmann | |
2023-09-05 | fix src code formatting | Thomas Waldmann | |
not sure why this changed!? | |||
2023-09-04 | replace flake8 by ruff | Thomas Waldmann | |
2023-09-03 | rlist: remove support for {tam} placeholder | Thomas Waldmann | |
archives are now always TAM-authenticated. | |||
2023-09-03 | always implicitly require archive TAMs | Thomas Waldmann | |
they must be there since the upgrade to borg 1.2.6 (or other borg versions that also have a fix for CVE-2023-36811). | |||
2023-09-03 | always implicitly require manifest TAMs | Thomas Waldmann | |
remove a lot of complexity from the code that was just there to support legacy borg versions < 1.0.9 which did not TAM authenticate the manifest. since then, borg writes TAM authentication to the manifest, even if the repo is unencrypted. if the repo is unencrypted, it did not check the somehow pointless authentication that was generated without any secret, but if we add that fake TAM, we can also verify the fake TAM. if somebody explicitly switches off all crypto, they can not expect authentication. for everybody else, borg now always generates the TAM and also verifies it. | |||
2023-09-03 | check: improve logging for TAM issues, fixes #7797 | Thomas Waldmann | |
2023-09-02 | docs: remove zstd compat hint | Thomas Waldmann | |
borg2 repos are not compatible with borg1 anyway, so no need to mention that. | |||
2023-08-30 | add tests for archive TAMs | Thomas Waldmann | |
2023-08-30 | rebuild_refcounts: keep archive ID, if possible | Thomas Waldmann | |
rebuild_refcounts verifies and recreates the TAM. Now it re-uses the salt, so that the archive ID does not change just because of a new salt if the archive has still the same data. | |||
2023-08-30 | TAM msgs: be more specific: archives vs. manifest | Thomas Waldmann | |
2023-08-30 | list: support {tam} placeholder. check archive TAM. | Thomas Waldmann | |
list: shows either "verified" or "none", depending on whether a TAM auth tag could be verified or was missing (old archives from borg < 1.0.9). when loading an archive, we now try to verify the archive TAM, but we do not require it. people might still have old archives in their repos and we want to be able to list such repos without fatal exceptions. | |||
2023-08-30 | cache sync: check archive TAM | Thomas Waldmann | |
2023-08-30 | check: rebuild_refcounts verify and recreate TAM | Thomas Waldmann | |
This part of the archive checker recreates the Archive items (always, just in case some missing chunks needed repairing). When loading the Archive item, we now verify the TAM. When saving the (potentially modified) Archive item, we now (re-)generate the TAM. Archives without a valid TAM are dropped rather than TAM-authenticated when saving them. There shouldn't be any archives without a valid TAM: - borg writes an archive TAM since long (1.0.9) - users are expected to TAM-authenticate archives created by older borg when upgrading to borg 1.2.5. Also: Archive.set_meta: TAM-authenticate new archive This is also used by Archive.rename and .recreate. | |||
2023-08-29 | fixup with msgpack data types related fixes | Thomas Waldmann | |
2023-08-29 | check: rebuild_manifest must verify archive TAM | Thomas Waldmann | |
2023-08-27 | use skipif_acls_not_working decorator for freebsd also | Thomas Waldmann | |
use platform-specific ACLs to check. for unsupported platform, just return False. | |||
2023-08-27 | linux: move ACL definitions to platform_linux test module | Thomas Waldmann | |
they are only used from there. | |||
2023-08-27 | freebsd: add some ACL tests, fixes #7745 | Thomas Waldmann | |
enable ACL support in freebsd vagrant machine's filesystem | |||
2023-08-27 | get_*_dir tests: use create=False | Thomas Waldmann | |
In these tests, we only compare paths, but we do not need to create these paths for that. By not trying to create them, we can avoid permission issues, e.g. under fakeroot. | |||
2023-08-27 | get_*_dir: add create=True kw argument | Thomas Waldmann | |
... and only call ensure_dir if create is True. | |||
2023-08-24 | docs: improve rcreate / related repos docs | Thomas Waldmann | |
2023-07-30 | Merge pull request #7750 from ↵ | TW | |
ThomasWaldmann/fix-unreadable-parent-of-root-master do not try to read parent dir of recursion root (master) | |||
2023-07-30 | `platform_freebsd.py` dummy test file (#7748) | Ted Lawson | |
2023-07-29 | remove unused "flags_root" open flags | Thomas Waldmann | |
2023-07-29 | create: do not try to read parent dir of recursion root, fixes #7746 | Thomas Waldmann | |
2023-07-29 | add a test for unreadable parent dir, see #7746 | Thomas Waldmann | |
2023-07-29 | reverted import grouping | bigtedde | |
2023-07-28 | Merge remote-tracking branch 'upstream/master' into remove-BaseTestCase | bigtedde | |
2023-07-28 | parametrize helper.py | bigtedde | |
2023-07-27 | seperated platform tests into seperate modules | bigtedde | |
2023-07-27 | linux tests converted, renamed tests for consistency | bigtedde | |
2023-07-26 | mac and posix tests converted, removed BaseTestCase and unittest | bigtedde | |
2023-07-26 | removed BaseTestCase from chunker_slow.py | bigtedde | |
2023-07-26 | removed BaseTestCase from helpers.py | bigtedde | |
2023-07-26 | removed TestCaseBase from testsuite/archive.py | bigtedde | |
2023-07-26 | fix E501 | Thomas Waldmann | |
2023-07-26 | fix E741 | Thomas Waldmann | |
2023-07-26 | fix F401 | Thomas Waldmann | |
2023-07-25 | simplify flake8 configuration | Thomas Waldmann | |
we use black since a while, so some stuff does not need to be ignored any more. | |||
2023-07-25 | fix test_disk_full, fixes #7617 | Thomas Waldmann | |
- master branch has different free space requirements from 1.2-maint, so we now use a 700MB filesystem - used pytest.mark.parametrize for the test passes, kind of a progress display - fix bug in rcreate call, encryption arg is needed - fix bug in lock file cleanup - added repo space cleanup - updated docstring with current linux instructions (ubuntu) - stopped using the "reserved" files, the "input" files are good enough to get some space freed. - | |||
2023-07-25 | simplify BaseTestCase.assert_raises | Thomas Waldmann | |
2023-07-25 | simplify changedir with @contextmanager | Thomas Waldmann | |
2023-07-25 | remove unused methods of BaseTestCase | Thomas Waldmann | |
also: clean up imports / comments | |||
2023-07-25 | tests: remove usage of environment_variable context manager | Thomas Waldmann | |
rather use monkeypatch.setenv/delenv. | |||
2023-07-24 | `cmd` function now creates repo_location argument (#7734) | Ted Lawson | |
f'repo={repo_location}' moved to 'cmd' function | |||
2023-07-23 | Merge pull request #7722 from bigtedde/archiver-tests | TW | |
Archiver folder - all tests converted from unittest to pytest |