borg/src/borg
Thomas Waldmann 21d4407170
always implicitly require manifest TAMs
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 22:01:46 +02:00
..
archiver always implicitly require manifest TAMs 2023-09-03 22:01:46 +02:00
cache_sync remove --consider-part-files, related stats code, update docs 2023-02-01 13:04:18 +01:00
crypto always implicitly require manifest TAMs 2023-09-03 22:01:46 +02:00
helpers list: support {tam} placeholder. check archive TAM. 2023-08-30 00:58:02 +02:00
platform xattrs: fix namespace processing on FreeBSD, fixes #6997 2023-03-13 11:14:07 +01:00
testsuite always implicitly require manifest TAMs 2023-09-03 22:01:46 +02:00
__init__.py mypy: fixes / annotations 2022-07-15 14:54:48 +02:00
__main__.py use absolute import to make pyinstaller binaries work again 2022-10-02 01:33:57 +02:00
_chunker.c _chunker.c: fix warnings on macOS 2022-08-04 10:46:36 +02:00
_endian.h Basic MSC Compatibility (#4147) 2018-11-03 18:52:54 +01:00
_hashindex.c _hashindex.c: fix comment 2023-02-12 08:24:27 -05:00
_item.c item: item.to_optr(), Item.from_optr() 2017-07-29 17:26:39 +02:00
archive.py check: improve logging for TAM issues, fixes #7797 2023-09-03 17:15:09 +02:00
cache.py rebuild_refcounts: keep archive ID, if possible 2023-08-30 01:13:52 +02:00
checksums.pyi add mypy checking 2022-07-15 12:49:38 +02:00
checksums.pyx stop using libdeflate 2022-07-04 20:33:59 +02:00
chunker.pyi implement "fail" chunker for testing purposes 2023-02-13 17:15:45 +01:00
chunker.pyx implement "fail" chunker for testing purposes 2023-02-13 17:15:45 +01:00
compress.pyi *.pyi: fix types, add missing attrs 2023-01-30 15:54:48 +01:00
compress.pyx fix CompressionSpec validator and tests 2023-04-12 01:45:46 +02:00
constants.py unify scanning and listing of segment dirs / segment files and apply good practices 2023-05-27 07:54:32 -04:00
fuse.py simplify flake8 configuration 2023-07-25 23:56:31 +02:00
fuse_impl.py simplify flake8 configuration 2023-07-25 23:56:31 +02:00
hashindex.pyi remove --consider-part-files, related stats code, update docs 2023-02-01 13:04:18 +01:00
hashindex.pyx remove --consider-part-files, related stats code, update docs 2023-02-01 13:04:18 +01:00
item.pyi Add --format option to `borg diff`, resolve issue #4634 (#7534) 2023-06-11 22:41:36 +02:00
item.pyx always implicitly require manifest TAMs 2023-09-03 22:01:46 +02:00
locking.py simplify flake8 configuration 2023-07-25 23:56:31 +02:00
logger.py fix logging, add some comments 2023-06-06 21:13:31 +02:00
manifest.py always implicitly require manifest TAMs 2023-09-03 22:01:46 +02:00
paperkey.html Fix typos 2021-01-07 17:54:33 +01:00
patterns.py extract: fix false warning about pattern never matching, fixes #4110 2023-07-01 15:31:00 +02:00
platformflags.py ignore testsuite test for slow msgpack on cygwin 2022-11-22 18:16:12 +01:00
remote.py fix E501 2023-07-26 01:24:20 +02:00
repoobj.py BORG_WORKAROUNDS=authenticated_no_key to extract from authenticated repos without key, fixes #7700 2023-07-20 17:17:28 +02:00
repository.py fix E501 2023-07-26 01:24:20 +02:00
selftest.py blacken all the code 2022-07-06 16:34:38 +02:00
upgrade.py borg transfer: drop part files 2023-02-01 13:04:19 +01:00
version.py blacken all the code 2022-07-06 16:34:38 +02:00
xattr.py docs: OS X -> macOS 2023-07-04 23:59:44 +02:00